Difference between revisions of "Template:Nationals"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude>'''This template places a list of people whose nationality is <nowiki>{{PAGENAME}}</nowiki>.''' It has no parameters. If the page name is referenced by any prope...")
 
(more key properties)
 
Line 9: Line 9:
 
|caption_plural= Citizens of {{PAGENAME}} on Wikispooks
 
|caption_plural= Citizens of {{PAGENAME}} on Wikispooks
 
|mainlabel = Title
 
|mainlabel = Title
|properties={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|Description}}
+
|properties={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|Born on/Died on/Description}}
|headers={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}|Description}}}}</includeonly>
+
|headers={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}|Born/Died/Description}}}}</includeonly>

Latest revision as of 10:22, 18 July 2016

This template places a list of people whose nationality is {{PAGENAME}}. It has no parameters.

If the page name is referenced by any property:victim of, it makes a section:

Citizen(s) of {{PAGENAME}} on Wikispooks

Plus a table of the relevant person(s) underneath