Template:TableRowElements: Difference between revisions
Jump to navigation
Jump to search
(start) |
(update element type listing) |
||
Line 11: | Line 11: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{!}}[[{{{1}}}|{{#show:{{{1}}}|?Brief description}}]] | {{!}}[[{{{1}}}|{{#show:{{{1}}}|?Brief description}}]] | ||
{{!}}{{Get Element Types|page={{{1}}}}}{{#arrayprint: ElementTypes}} | {{!}}{{Get Element Types|page={{{1}}}}}{{#arrayprint:ElementTypes||@ |@ |print=pretty}} | ||
{{!}}{{#vardefine:user|{{#show:{{{1}}}|?Owner|link=none}}}}[[{{#ask:[[Category:User details]][[Displayname::{{#var:user}}]]|link=none}}|{{#var:user}}]] | {{!}}{{#vardefine:user|{{#show:{{{1}}}|?Owner|link=none}}}}[[{{#ask:[[Category:User details]][[Displayname::{{#var:user}}]]|link=none}}|{{#var:user}}]] | ||
{{!}}{{#show:{{{1}}}|?Page maturity}} | {{!}}{{#show:{{{1}}}|?Page maturity}} | ||
{{!}}-</includeonly> | {{!}}-</includeonly> |
Latest revision as of 11:56, 29 December 2012
This simple template can be used to pipe the result of a semantic query for Elements into a table row. Usage:
{| border="1" {{#ask: [[Category:Element]]|format=template|template=TableRowElements}} |- .... more table contents.... |}