Difference between revisions of "Template:Job"

From Wikispooks
Jump to navigation Jump to search
(test)
Line 22: Line 22:
 
}}<!---
 
}}<!---
 
Now display in suitable format to put in an the footer of an infobox
 
Now display in suitable format to put in an the footer of an infobox
-->{{Box|{{{title|}}}|{{infobox posting
+
-->{{Box|{{ArrayMapListLink|{{{title|}}}}}|{{infobox |child = yes
|start=z{{{start|}}}
+
|header1=In office
|end=2{{{end|}}}
+
|data2={{FormatDate|{{{start|}}}|{{{end|}}}}}
|employer={{{employer|}}}
+
|label3=Employer
|deputies={{ArrayMapListLink|{{{deputies|}}}}}
+
|data3={{ArrayMapListLink|{{{employer|}}}}}
|description={{{description|}}}
+
|label4=Deputies
}}}}</includeonly>
+
|data4={{ArrayMapListLink|{{{deputies|}}}}}
 +
|below={{{description|}}}
 +
}}
 +
}}</includeonly>

Revision as of 20:21, 4 June 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) (Experimental)
|start= Date it began
|end= Date it ended
|description=Human readable clarification
}}