Difference between revisions of "Template:Job"
Jump to navigation
Jump to search
(test4...) |
(test5...) |
||
Line 32: | Line 32: | ||
<!-- 2015-01-15: only display deputies when there is a start time and an end time --> | <!-- 2015-01-15: only display deputies when there is a start time and an end time --> | ||
|data4={{#if: {{{title|}}}| {{#if: {{#ask: [[-Has deputy::{{{title|}}}]]}}| {{#if: {{{start|}}}| {{#if: {{{end|}}}| | |data4={{#if: {{{title|}}}| {{#if: {{#ask: [[-Has deputy::{{{title|}}}]]}}| {{#if: {{{start|}}}| {{#if: {{{end|}}}| | ||
− | {{#ask: [[Constitutes::Posting]][[Has jobTitle::{{#ask: [[-Has deputy::{{{title|}}}]]}}]][[Start::>{{{start|}}}]][[Start::<<{{{end|}}}]]}} | + | {{#ask: [[Constitutes::Posting]][[Has jobTitle::{{#ask: [[-Has deputy::{{{title|}}}]]}}]][[Start::> {{{start|}}}]][[End::<<{{{end|}}}]] |
+ | OR [[Constitutes::Posting]][[Has jobTitle::{{#ask: [[-Has deputy::{{{title|}}}]]}}]][[Start::<<{{{start|}}}]][[End::>>{{{end|}}}]] }} | ||
}}}}}}}} | }}}}}}}} | ||
|below={{{description|}}} | |below={{{description|}}} |
Revision as of 19:47, 15 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) (Should be auto generated)
}}