Template:Job: Difference between revisions
WikiSpooks>Terje m add not use commas |
m Plain formatting, no semantic markup |
||
| Line 21: | Line 21: | ||
}} | }} | ||
</poem> | </poem> | ||
</noinclude><includeonly> | </noinclude><includeonly>{{#subobject: | ||
|Constitutes=Posting | |Constitutes=Posting | ||
|Has image= | |Has image= | ||
|Has jobTitle={{{title|}}} | |Has jobTitle={{{title|}}} | ||
|Has employer={{{employer|}}} | |Has employer={{{employer|}}} | ||
| Line 39: | Line 39: | ||
}}<!--- | }}<!--- | ||
Now display in suitable format to put in an the footer of an infobox | Now display in suitable format to put in an the footer of an infobox | ||
-->{{Box|{{#ifexist: {{Display image of|pagename={{{title|}}}|link={{{title|}}}|size=x22px}}|{{Display image of|pagename={{{title|}}}|link={{{title|}}}|size=x22px}}|[[image:Employment.png|20px|link={{{title|}}}]]}} {{#ifeq: {{{acting|}}}|Yes|Acting }}{{ArrayMapListLink|{{{title|}}}}}{{#if: | -->{{Box|{{#ifexist: {{Display image of|pagename={{{title|}}}|link={{{title|}}}|size=x22px}}|{{Display image of|pagename={{{title|}}}|link={{{title|}}}|size=x22px}}|[[image:Employment.png|20px|link={{{title|}}}]]}} {{#ifeq: {{{acting|}}}|Yes|Acting }}{{ArrayMapListLink|{{{title|}}}}}{{#if: | [[image:wikipedia-icon.png|22px|link=]]}}{{ArrayMapRefs|{{{ref|}}}}}|{{infobox |child = yes | ||
|header1={{#if: {{{start|}}}{{{end|}}}|In office|Dates unknown}} | |header1={{#if: {{{start|}}}{{{end|}}}|In office|Dates unknown}} | ||
|data2={{FormatDate|{{{start|}}}|{{{end|}}}}} | |data2={{FormatDate|{{{start|}}}|{{{end|}}}}} | ||
| Line 46: | Line 46: | ||
|label4=Deputy | |label4=Deputy | ||
<!-- 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: | |data4={{#if: {{{title|}}}| {{#if: | {{#if: {{{start|}}}| {{#if: {{{end|}}}| | ||
}}}}}}}} | }}}}}}}} | ||
|below={{{description|}}} | |below={{{description|}}} | ||
|label5=Boss | |label5=Boss | ||
<!-- 2016-04-02: Copy the above --> | <!-- 2016-04-02: Copy the above --> | ||
|data5={{#if: {{{title|}}}| {{#if: | |data5={{#if: {{{title|}}}| {{#if: | {{#if: {{{start|}}}| {{#if: {{{end|}}}| | ||
}}}}}}}} | }}}}}}}} | ||
|label6=Appointed by | |label6=Appointed by | ||
| Line 74: | Line 71: | ||
|??= | |??= | ||
|???= | |???= | ||
| | | }} }} }} }} | ||
|label13=Succeeded by | |label13=Succeeded by | ||
<!-- 2016-04-03: Shouldn't put self there --> | <!-- 2016-04-03: Shouldn't put self there --> | ||
| Line 81: | Line 78: | ||
|??= | |??= | ||
|???= | |???= | ||
|{{#if: {{{next|}}}| | |{{#if: {{{next|}}}||{{#if: {{{end|}}}|{{#switch: {{{end|}}} | ||
|?= | |?= | ||
|??= | |??= | ||
|???= | |???= | ||
| | | }} }} }} }} }} | ||
}} | }} | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 22:34, 24 September 2026
This template is for use in the |employment category of Wikispooks pages about people.
This to be used once per stint of employment. All the parameters are optional.
Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameterswere formerly available, but have been upgraded. Some may still work, but do not use these.
Usage: <poem> {{#subobject: |Constitutes=Posting |Has image= |Has jobTitle= |Has employer= |Start_by=Date by which it had begun (Property:Start_by) Not yet implemented |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) |Display date=Date it began (Property:Start) - Date it ended (Property:End) |Has deputy=|+sep=, |Has appointer=|+sep=, |Has nominator=|+sep=, |Has location=|+sep=, |description=Human readable clarification (Property:Description) }}
| In office | |
|---|---|
| Date it began (Property:Start) - Date it ended (Property:End) | |
| Human readable clarification (Property:Description) | |
</poem>