Difference between revisions of "Template:Job"

From Wikispooks
Jump to navigation Jump to search
(Acting, Preceded by, Succeeded by)
(fix }s)
Line 33: Line 33:
 
|below={{{description|}}}
 
|below={{{description|}}}
 
|label5=Preceded by
 
|label5=Preceded by
|data5={{#if: {{{title|}}}| {{#if: {{{start|}}}|{{#ask: [[End::{{{start|}}}]][[Has jobTitle::{{{title|}}}]] }} }}
+
|data5={{#if: {{{title|}}}| {{#if: {{{start|}}}|{{#ask: [[End::{{{start|}}}]][[Has jobTitle::{{{title|}}}]] }} }} }}
 
|label6=Succeeded by
 
|label6=Succeeded by
|data6={{#if: {{{title|}}}| {{#if: {{{end|}}}|{{#ask: [[Start::{{{end|}}}]][[Has jobTitle::{{{title|}}}]] }} }}
+
|data6={{#if: {{{title|}}}| {{#if: {{{end|}}}|{{#ask: [[Start::{{{end|}}}]][[Has jobTitle::{{{title|}}}]] }} }} }}
 
}}
 
}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 06:08, 10 January 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
|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)
}}