Difference between revisions of "Template:JobHolders"

From Wikispooks
Jump to navigation Jump to search
(test)
(Fix boss and deputy fields)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[category:Semantic Templates]]{{PAGENAME}}
+
<noinclude>[[category:Semantic Templates]]{{TemplateProblem|This is behaving oddly for [[Journalist]]}}
'''This template is for use on pages about jobs, e.g. [[US President]].<br/>'''
+
'''This template is for use on objects that use [[Template:Employment]], e.g. [[US President]].<br/>'''
 
It displays a table of people who held this job.
 
It displays a table of people who held this job.
 
</noinclude><includeonly>{{SMWDocSection
 
</noinclude><includeonly>{{SMWDocSection
 
|expression= [[Has jobTitle::{{PAGENAME}}]]
 
|expression= [[Has jobTitle::{{PAGENAME}}]]
|captionSingular= {{AORAN|{{PAGENAME}}}} on Wikispooks {{PAGENAME}}
+
<!-- N.B. Above is not on the people, but on their posting subobjects -->
|captionPlural= Office Holders on Wikispooks
+
|caption_singular= An Office Holder on Wikispooks
 +
|caption_plural= Office Holders on Wikispooks
 
|mainlabel = Name
 
|mainlabel = Name
 
|sort=Start
 
|sort=Start
 
|order=desc
 
|order=desc
|properties=Start/End/Has deputy/Description
+
|properties=Start/End/-Has deputy/Has deputy/Description
|headers=From/To/Deputy/Description
+
|headers=From/To/Boss/Deputy/Description
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 15:19, 11 January 2018

Bug1.jpg This template has problems: This is behaving oddly for Journalist Use the discussion page to start a debate about this.

This template is for use on objects that use Template:Employment, e.g. US President.
It displays a table of people who held this job.