Difference between revisions of "Template:Job"
Jump to navigation
Jump to search
(Fix |next) |
(Auto "acting" in empty description case) |
||
Line 23: | Line 23: | ||
|Display date={{FormatDate|{{{start|}}}|{{{end|}}}|}} | |Display date={{FormatDate|{{{start|}}}|{{{end|}}}|}} | ||
|Has deputy={{{deputies|}}}|+sep=, | |Has deputy={{{deputies|}}}|+sep=, | ||
− | |description={{{description|}}} | + | |description={{#if: {{{description|}}}|{{{description}}}|{{#ifeq: {{{acting|}}}|Yes|''Acting'' }}}} |
}}<!--- | }}<!--- | ||
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 |
Revision as of 16:41, 11 February 2015
This template is for use in the |employment category of Wikispooks pages about people, to be used once per stint of employment.
Usage:
{{job
|title=Pagename of the job, e.g. US President
|start= Date it began
|end= Date it ended
|next= Date the job was next held (For handling gaps in appointments)
|description=Human readable clarification
|acting=Yes (For acting appointees)
|employer=Pagename of the employer (Property:Has employer)
|deputies=Comma separated list of pagename(s) of the deputies (Property:Has deputy) (Experimental) (Should be auto generated)
}}