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>{{#if: {{{shownationality|}}|{{#ask: {{{expression|}}}
{{#if: {{{show_nationality|}}|{{!}}?Nationality=Has nationality}}
 
 
|limit=999
 
|limit=999
 
|format=table
 
|format=table
Line 6: Line 5:
 
|?Born on=Born  
 
|?Born on=Born  
 
|?Died on=Died  
 
|?Died on=Died  
|?Description=Description }}</includeonly>
+
|?Description=Description }}|{{#ask: {{{expression|}}}
 +
|?Nationality=Has nationality
 +
|limit=999
 +
|format=table
 +
|mainlabel=Name
 +
|?Born on=Born
 +
|?Died on=Died
 +
|?Description=Description }}}}</includeonly>

Revision as of 17:34, 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.