Difference between revisions of "Template:Job"

From Wikispooks
Jump to navigation Jump to search
m (Protected "Template:Job": High traffic page: High load on the jobs queue ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
Line 16: Line 16:
 
</noinclude><includeonly>[[Constitutes::{{{title|}}}| ]]{{#subobject:
 
</noinclude><includeonly>[[Constitutes::{{{title|}}}| ]]{{#subobject:
 
|Constitutes=Posting
 
|Constitutes=Posting
<!-- hack |Has image={{#ask: [[Has image::{{FULLPAGENAME}}]]}}-->
+
|Has image={{#show: [[Has image2::{{FULLPAGENAME}}]]}}
 
|Has jobTitle={{{title|}}}
 
|Has jobTitle={{{title|}}}
 
|Has employer={{{employer|}}}
 
|Has employer={{{employer|}}}
Line 24: Line 24:
 
|Display date={{FormatDate|{{{start|}}}|{{{end|}}}|}}
 
|Display date={{FormatDate|{{{start|}}}|{{{end|}}}|}}
 
|Has deputy={{{deputies|}}}|+sep=,
 
|Has deputy={{{deputies|}}}|+sep=,
|Has appointer={{{deputies|}}}|+sep=,
+
|Has appointer={{{appointer|}}}|+sep=,
 
|description={{#if: {{{description|}}}|{{{description}}}|{{#ifeq: {{{acting|}}}|Yes|''Acting'' }}}}
 
|description={{#if: {{{description|}}}|{{{description}}}|{{#ifeq: {{{acting|}}}|Yes|''Acting'' }}}}
 
}}<!---
 
}}<!---

Revision as of 10:57, 28 August 2015

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

{{job
|title=Pagename of the job, e.g. US President
|start= Date it began (Property:Start)
|end= Date it ended (Property:End)
|next= Date the job was next held (For handling gaps in appointments) (Property:Next)
|description=Human readable clarification (Property:Description)
|appointer=Pagename of the person who appointed this job holder (Property:Has appointer)
|acting=Yes (For acting appointees)
|employer=Pagename of the employer (Property:Has employer) - Generally this should be a group, not a person's name. ĊUsually used for obscure jobs, since if the job already exists as a page, the information is redundant.
|deputies=Comma separated list of pagename(s) of the deputies (Property:Has deputy) (Experimental) (Should be auto generated)
}}