Difference between revisions of "Template:SMWDocSection"
Jump to navigation
Jump to search
m (whitespace, as usual) |
m (whitespace, as usual) |
||
Line 14: | Line 14: | ||
=={{spz|{{#ask: {{{expression|}}}|format=count}}|{{{captionSingular|}}}|{{{captionPlural|}}}}}== | =={{spz|{{#ask: {{{expression|}}}|format=count}}|{{{captionSingular|}}}|{{{captionPlural|}}}}}== | ||
{{#ifexpr: {{#ask: {{{expression|}}}|format=count}}=1| | {{#ifexpr: {{#ask: {{{expression|}}}|format=count}}=1| | ||
+ | |||
<small>''Use the Up/Dn symbols to sort''</small>}}{{ask | <small>''Use the Up/Dn symbols to sort''</small>}}{{ask | ||
|format=table | |format=table |
Revision as of 16:59, 2 April 2014
This template places a list of data items in its own section.
Example usage:
{{SMWDocSection |expression= [[Has author::{{PAGENAME}}]] |captionSingular= {{PAGENAME}} on Wikispooks |captionPlural= {{PAGENAME}} on Wikispooks |mainlabel = Wikispooks page |properties=DocType/Has publication date/Is about/Description |headers=Document type/Publication date/Subject(s)/Description }}