Difference between revisions of "Template:Job"

From Wikispooks
Jump to navigation Jump to search
(tweak format)
(tweak format)
Line 9: Line 9:
 
|acting=Yes (For acting appointees)
 
|acting=Yes (For acting appointees)
 
|{{BLUE|employer}}=Pagename of the employer ''([[Property:Has employer]])''
 
|{{BLUE|employer}}=Pagename of the employer ''([[Property:Has employer]])''
<s>|{{GREEN|deputies}}=Comma separated list of pagename(s) of the deputies ''([[Property:Has deputy]])'' ''(Experimental)''<s/> ''(Should be auto generated)''
+
<s>|{{GREEN|deputies}}=Comma separated list of pagename(s) of the deputies ''([[Property:Has deputy]])'' ''(Experimental)''</s> ''(Should be auto generated)''
 
}}
 
}}
 
</poem>
 
</poem>
Line 34: Line 34:
 
{{#ask: [[Constitutes::Posting]][[Has jobTitle::{{#ask: [[-Has deputy::{{{title|}}}]]}}]][[Start::> {{{start|}}}]][[Start::<<{{{end|}}}]]
 
{{#ask: [[Constitutes::Posting]][[Has jobTitle::{{#ask: [[-Has deputy::{{{title|}}}]]}}]][[Start::> {{{start|}}}]][[Start::<<{{{end|}}}]]
 
<!-- Below is too inclusive
 
<!-- Below is too inclusive
OR      [[Constitutes::Posting]][[Has jobTitle::{{#ask: [[-Has deputy::{{{title|}}}]]}}]][[Start::<<{{{start|}}}]][[End::>>{{{end|}}}]] --> | format=ul}}
+
OR      [[Constitutes::Posting]][[Has jobTitle::{{#ask: [[-Has deputy::{{{title|}}}]]}}]][[Start::<<{{{start|}}}]][[End::>>{{{end|}}}]] --> |format=template|template=ArrayMapBulletedList}}
 
}}}}}}}}
 
}}}}}}}}
 
|below={{{description|}}}
 
|below={{{description|}}}

Revision as of 20:22, 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)
}}