Difference between revisions of "Template:By Count"

From Wikispooks
Jump to navigation Jump to search
(Fix)
Line 1: Line 1:
 
<noinclude>'''Given an SMW expression, this template evaluates it and a section for the specified, ordering the people of that expression by count.'''[[Category:Semantic Templates]]
 
<noinclude>'''Given an SMW expression, this template evaluates it and a section for the specified, ordering the people of that expression by count.'''[[Category:Semantic Templates]]
</noinclude><includeonly>{{#arraymap: 9,8,7,6,5,4,3,2,1|,|@@@|{{SMWDocSection  
+
</noinclude><includeonly>{{#arraymap: {{{show|12,11,10,9,8,7,6,5,4,3,2,1}}}|,|@@@|{{SMWDocSection  
 
|expression={{{subjects|}}}[[{{{expression|}}}::@@@]]
 
|expression={{{subjects|}}}[[{{{expression|}}}::@@@]]
 
|caption_singular=@@@ {{#ifexpr: @@@=1|{{{caption_singular|}}}|{{{caption_plural|}}}}}
 
|caption_singular=@@@ {{#ifexpr: @@@=1|{{{caption_singular|}}}|{{{caption_plural|}}}}}

Revision as of 21:28, 9 December 2017

Given an SMW expression, this template evaluates it and a section for the specified, ordering the people of that expression by count.