Difference between revisions of "Template:ShowGroup"

From Wikispooks
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>'''Given an SMW expression, this template evaluates it and shows a table of the people of that expression. It was initially created for the [[Bilderberg/Guests/Nationality]] pages.'''[[Category:Semantic Templates]]</noinclude><includeonly>{{#ask: {{{expression|}}}
 
<noinclude>'''Given an SMW expression, this template evaluates it and shows a table of the people of that expression. It was initially created for the [[Bilderberg/Guests/Nationality]] pages.'''[[Category:Semantic Templates]]</noinclude><includeonly>{{#ask: {{{expression|}}}
 +
{{#if: {{{show_nationality|}}|{{!}}?Nationality=Has nationality}}
 
|limit=999
 
|limit=999
 
|format=table
 
|format=table
 
|mainlabel=Name
 
|mainlabel=Name
{{#if: {{{show_nationality|}}|{{!}}?Nationality=Has nationality}}
 
 
|?Born on=Born  
 
|?Born on=Born  
 
|?Died on=Died  
 
|?Died on=Died  
 
|?Description=Description }}</includeonly>
 
|?Description=Description }}</includeonly>

Revision as of 17:33, 10 December 2017

Given an SMW expression, this template evaluates it and shows a table of the people of that expression. It was initially created for the Bilderberg/Guests/Nationality pages.