From: Dan B. <dan...@gm...> - 2009-01-22 12:30:54
|
Hi, I'm only just getting round to using SMW, so please forgive my basic questions. I guess this has come up before, but I can't find a solution quickly so I thought I just ask while I continue to look... If I have several 'semantic' template calls on a page, like: {{car | id=1 | color=red | speed=fast }} {{car | id=2 | color=blue | speed=fast }} {{car | id=3 | color=red | speed=slow }} {{car | id=4 | color=pink | speed=fast }} How can I get a table of results that present one row per template? Using Ask, I seem to get an agglomeration of the results for the whole page that discards the 'per-template' grouping. i.e. {{#show: Sandbox/Cars | ? Car id | ? Car color | ? Car speed }} --> | 1 | Red | Slow | | 2 | Blue | Fast | | 3 | Pink | | 4 | How do I actually get back the fact that car ID=4 is pink and fast? And can I do that in a table for each car without putting the information across several pages (one page per car)? Thanks for any pointers, Dan. |