Difference between revisions of "Template:Job"

From Wikispooks
Jump to navigation Jump to search
(duputies plural)
Line 1: Line 1:
<noinclude>[[category:Semantic Templates]]<!-- {{TemplateProblem|As of April 2014, this was the most ambitious SMW template on the site. It is not fully functional due to issues surrounding [[WikiSpooks:Semantic_Mediawiki#Limitations |reification]]. It can however use used as is to provide human readable data and its current failure to represent it proper semantically may be addressable in due course.}}-->
+
<noinclude>[[category:Semantic Templates]]'''This template is for use in the |{{t|employment}} category of Wikispooks pages about people''', to be used once per stint of employment.<br/>
'''This template is for use in the |{{t|employment}} category of Wikispooks pages about people''', to be used once per stint of employment.<br/>
 
 
'''Usage:'''
 
'''Usage:'''
 
<poem>
 
<poem>
Line 6: Line 5:
 
|{{BLUE|employer}}=Pagename of the employer ''([[Property:Has employer]])''
 
|{{BLUE|employer}}=Pagename of the employer ''([[Property:Has employer]])''
 
|{{BLUE|title}}=Pagename of the job, e.g. [[US President]]
 
|{{BLUE|title}}=Pagename of the job, e.g. [[US President]]
|{{GREEN|deputy}}=Comma separated list of pagename(s) of the deputies ''([[Property:Has deputy]])''
+
|{{GREEN|deputies}}=Comma separated list of pagename(s) of the deputies ''([[Property:Has deputy]])''
 
|start= Date it began
 
|start= Date it began
 
|end= Date it ended
 
|end= Date it ended
Line 19: Line 18:
 
|End={{{end|}}}
 
|End={{{end|}}}
 
|Display date={{FormatDate|{{{start|}}}|{{{end|}}}|}}
 
|Display date={{FormatDate|{{{start|}}}|{{{end|}}}|}}
|Has deputy={{{deputy|}}}
+
|Has deputy={{{deputies|}}}|+sep=,
 
|Description={{{description|}}}
 
|Description={{{description|}}}
}}X
+
}}</includeonly>
<!--
 
{{#if: {{{start|}}}{{{end|}}}|({{FormatDate|{{{start|}}}|{{{end|}}}}})}} {{{detail|}}}
 
-->
 
</includeonly>
 

Revision as of 07:14, 3 May 2014

This template is for use in the |employment category of Wikispooks pages about people, to be used once per stint of employment.
Usage:

{{job
|employer=Pagename of the employer (Property:Has employer)
|title=Pagename of the job, e.g. US President
|deputies=Comma separated list of pagename(s) of the deputies (Property:Has deputy)
|start= Date it began
|end= Date it ended
|description=Human readable clarification
}}