Difference between revisions of "Template:Appointees"

From Wikispooks
Jump to navigation Jump to search
(New SMWDocs section)
 
m (Text replacement - "captionPlural" to "caption_plural")
 
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
|expression= [[Has appointer::{{PAGENAME}}]]
 
|expression= [[Has appointer::{{PAGENAME}}]]
|captionSingular= An appointee of {{PAGENAME}} on Wikispooks
+
|caption_singular= An appointment by {{PAGENAME}}
|captionPlural= Appointees of {{PAGENAME}} on Wikispooks
+
|caption_plural= Appointments by {{PAGENAME}}
|mainlabel = Title
+
|mainlabel = Appointee
|properties={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|Description}}
+
|properties=Has jobTitle/Start/End/Description
|headers={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}|Description}}}}</includeonly>
+
|headers=Job/Appointed/End/Description}}</includeonly>

Latest revision as of 13:27, 15 January 2016

This template places a list of people who were appointed by {{PAGENAME}}. It has no parameters.

If the page name is referenced by any property:Has appointer, it makes a section:

Appointee(s) on Wikispooks

Plus a table of the affected person(s) underneath