Difference between revisions of "Template:Job"

From Wikispooks
Jump to navigation Jump to search
("Dates unknown" if they are)
(Show Bosses as well as deputies)
Line 43: Line 43:
 
}}}}}}}}
 
}}}}}}}}
 
|below={{{description|}}}
 
|below={{{description|}}}
|label5=Appointed by
+
|label5=Boss
|data5={{ArrayMapListLink|{{{appointer|}}}}}
+
<!-- 2016-04-02: Copy the above -->
|label6=Location
+
|data4={{#if: {{{title|}}}| {{#if: {{#ask: [[-Has deputy::{{{title|}}}]]}}| {{#if: {{{start|}}}| {{#if: {{{end|}}}|
|data6={{ArrayMapListLink|{{{location|}}}}}
+
{{#ask: [[Constitutes::Posting]][[Has jobTitle::{{#ask: [[Has deputy::{{{title|}}}]]}}]][[Start::> {{{start|}}}]][[Start::<<{{{end|}}}]]
|label7=Preceded by
+
}}
 +
}}}}}}}}
 +
|label6=Appointed by
 +
|data6={{ArrayMapListLink|{{{appointer|}}}}}
 +
|label7=Location
 +
|data7={{ArrayMapListLink|{{{location|}}}}}
 +
|label8=Preceded by
 
<!-- 2016-04-03: Shouldn't put self there -->
 
<!-- 2016-04-03: Shouldn't put self there -->
|data7={{#if: {{{title|}}}|{{#switch: {{{title|}}}
+
|data8={{#if: {{{title|}}}|{{#switch: {{{title|}}}
 
|?=
 
|?=
 
|??=
 
|??=

Revision as of 14:07, 4 April 2016

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)
|location=Where the job was based (Property:Has location)
|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)
}}