Difference between revisions of "Template:Job"

From Wikispooks
Jump to navigation Jump to search
(WP icon where that property exists)
(Display imae of instead of a simple icon)
Line 1: Line 1:
<noinclude>[[category:Semantic Templates]]'''This template is for use in the |'''{{t|employment}} '''category of Wikispooks pages about people''', to be used once per stint of employment. All the parameters are optional.<br/>
+
<noinclude>{{WStemplate
'''Usage:'''
+
|categories=Semantic Templates
 +
|summary=This template is for use in the |'''{{t|employment}} '''category of Wikispooks pages about people.
 +
|description=This to be used once per stint of employment. All the parameters are optional.
 +
}}</noinclude><includeonly>'''Usage:'''
 
<poem>
 
<poem>
 
{{job
 
{{job
Line 31: Line 34:
 
}}<!---
 
}}<!---
 
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|[[image:employment.png|17px|link={{{title|}}}]]&nbsp;{{#ifeq: {{{acting|}}}|Yes|Acting&nbsp;}}{{ArrayMapListLink|{{{title|}}}}}{{#if: {{#show: {{{title|}}}| ?Has wikipediaPage2}}|&nbsp;[[image:wikipedia-icon.png|22px|link={{#show: {{{title|}}}| ?Has wikipediaPage2}}]]}}|{{infobox |child = yes
+
-->{{Box|{{Display image of|pagename={{{title|}}}|link={{{title|}}}|size=24px}}&nbsp;{{#ifeq: {{{acting|}}}|Yes|Acting&nbsp;}}{{ArrayMapListLink|{{{title|}}}}}{{#if: {{#show: {{{title|}}}| ?Has wikipediaPage2}}|&nbsp;[[image:wikipedia-icon.png|22px|link={{#show: {{{title|}}}| ?Has wikipediaPage2}}]]}}|{{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|}}}}}

Revision as of 04:49, 11 October 2016

This template is for use in the
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 parameters were formerly available, but have been upgraded. Some may still work, but do not use these.