Difference between revisions of "Template:Job"
Jump to navigation
Jump to search
(Do custom format later) |
(Next) |
||
Line 6: | Line 6: | ||
|start= Date it began | |start= Date it began | ||
|end= Date it ended | |end= Date it ended | ||
+ | |next= Date the job was next held (For handling gaps in appointments) | ||
|description=Human readable clarification | |description=Human readable clarification | ||
|acting=Yes (For acting appointees) | |acting=Yes (For acting appointees) | ||
Line 19: | Line 20: | ||
|Start={{{start|}}} | |Start={{{start|}}} | ||
|End={{{end|}}} | |End={{{end|}}} | ||
+ | |Next={{{next|}}} | ||
|Display date={{FormatDate|{{{start|}}}|{{{end|}}}|}} | |Display date={{FormatDate|{{{start|}}}|{{{end|}}}|}} | ||
|Has deputy={{{deputies|}}}|+sep=, | |Has deputy={{{deputies|}}}|+sep=, | ||
Line 40: | Line 42: | ||
|data5={{#if: {{{title|}}}| {{#if: {{{start|}}}|{{#ask: [[End::{{date-1|{{{start|}}}}}]][[Has jobTitle::{{{title|}}}]] }}{{#ask: [[End::{{{start|}}}]][[Has jobTitle::{{{title|}}}]] }} }} }} | |data5={{#if: {{{title|}}}| {{#if: {{{start|}}}|{{#ask: [[End::{{date-1|{{{start|}}}}}]][[Has jobTitle::{{{title|}}}]] }}{{#ask: [[End::{{{start|}}}]][[Has jobTitle::{{{title|}}}]] }} }} }} | ||
|label6=Succeeded by | |label6=Succeeded by | ||
− | |data6={{#if: {{{title|}}}| {{#if: {{{end|}}}|{{#ask: [[Start::{{date+1|{{{end|}}}}}]][[Has jobTitle::{{{title|}}}]] }}{{#ask: [[Start::{{{end|}}}]][[Has jobTitle::{{{title|}}}]] }} }} }} | + | |data6={{#if: {{{title|}}}| {{#if: {{{next|}}}|{{#ask: [[Start::{{{next|}}}]][[Has jobTitle::{{{title|}}}]] }}|{{#if: {{{end|}}}|{{#ask: [[Start::{{date+1|{{{end|}}}}}]][[Has jobTitle::{{{title|}}}]] }}{{#ask: [[Start::{{{end|}}}]][[Has jobTitle::{{{title|}}}]] }} }} }} }} |
}} | }} | ||
}}</includeonly> | }}</includeonly> |
Revision as of 17:46, 8 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)
}}