Jump to content

Template:Employment: Difference between revisions

From Deep Politics Wiki
WikiSpooks>Robin
|schema for schema-root.org
 
WikiBot (talk | contribs)
m Plain formatting, no semantic markup
 
Line 39: Line 39:
|motto_translation = Job motto, translated into English
|motto_translation = Job motto, translated into English
|{{ORANGE|so_called}} = Set to "Yes" to illustrate concern about the name of this object ''([[Property:So called]])'' - For flagging up deceitful language such as the "[[War on Terror]]"
|{{ORANGE|so_called}} = Set to "Yes" to illustrate concern about the name of this object ''([[Property:So called]])'' - For flagging up deceitful language such as the "[[War on Terror]]"
}}</poem></noinclude><includeonly>{{SMWObjectHeader|Employment}}{{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{ON_constitutes|}}}|ON_constitutes}}{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]][[Has logo2::Image:{{{logo}}}| ]]}}
}}</poem></noinclude><includeonly>{{SMWObjectHeader|Employment}}{{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{ON_constitutes|}}}|ON_constitutes}}{{#if: {{{logo|}}}|}}
{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]]}}{{#if: {{{key_properties|}}}|[[Has keyProperties::{{{key_properties|}}}| ]]}}{{#if: {{{key_property_headers|}}}|[[Has keyPropertyHeaders::{{{key_property_headers}}}| ]]}}{{#if: {{{website|}}}|[[Has website::{{{website}}}| ]]}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage2::{{{wikipedia}}}| ]]}}{{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes]]{{DISPLAYTITLE:"{{PAGENAME}}"}} |}}{{SMWDefaultMarkup}}{{ArrayMapProperty|{{{deputies|}}}|Has deputy}}<!--
{{#if: {{{start|}}}|}}{{#if: {{{end|}}}|}}{{#if: {{{image|}}}|}}{{#if: {{{key_properties|}}}|}}{{#if: {{{key_property_headers|}}}|}}{{#if: {{{website|}}}|}}{{#if: {{{wikipedia|}}}|}}{{#ifeq: {{{so_called|}}} | 1 | Yes{{DISPLAYTITLE:"{{PAGENAME}}"}} |}}{{SMWDefaultMarkup}}{{ArrayMapProperty|{{{deputies|}}}|Has deputy}}<!--
Wikipedia Display template
Wikipedia Display template
-->{{Infobox
-->{{Infobox
| above  = <span class="fn">{{Infobox class icon}}&nbsp;{{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]"{{{name|{{PAGENAME}}}}}"|{{{name|{{PAGENAME}}}}}}}</span>{{#if: {{{glossary|}}}|&nbsp;[[image:Glossary.png|link=Wikispooks:Glossary|26px]]}}{{#if: {{{wikipedia_protection|}}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-padlock-icon.png}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-icon.png}}}}{{External icons/Xicon|{{{nndb|}}}|Has nndb|nndb-icon.png}}{{External icons/Xicon|{{{powerbase|}}}|Has powerbase|powerbase-icon.png}}{{External icons/Xicon|{{{schema|}}}|Has schema|schema-icon.png}}{{External icons/Xicon|{{{sourcewatch|}}}|Has sourcewatch|sourcewatch-icon.png}}{{External icons/Xicon|{{{twitter|}}}|Has twitter|twitter-icon.png}}{{#if: {{{constitutes|}}}|<br/>({{ArrayMapListLink|{{{constitutes|}}}}})}}<hr/>
| above  = <span class="fn">{{Infobox class icon}}&nbsp;{{#ifeq: {{{so_called|}}} | 1 | "{{{name|{{PAGENAME}}}}}"|{{{name|{{PAGENAME}}}}}}}</span>{{#if: {{{glossary|}}}|&nbsp;[[image:Glossary.png|link=Wikispooks:Glossary|26px]]}}{{#if: {{{wikipedia_protection|}}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-padlock-icon.png}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-icon.png}}}}{{External icons/Xicon|{{{nndb|}}}|Has nndb|nndb-icon.png}}{{External icons/Xicon|{{{powerbase|}}}|Has powerbase|powerbase-icon.png}}{{External icons/Xicon|{{{schema|}}}|Has schema|schema-icon.png}}{{External icons/Xicon|{{{sourcewatch|}}}|Has sourcewatch|sourcewatch-icon.png}}{{External icons/Xicon|{{{twitter|}}}|Has twitter|twitter-icon.png}}{{#if: {{{constitutes|}}}|<br/>({{ArrayMapListLink|{{{constitutes|}}}}})}}<hr/>
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=250px|alt={{{image_alt|}}}}}
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=250px|alt={{{image_alt|}}}}}
| caption  = {{{image_caption|}}}
| caption  = {{{image_caption|}}}
| image2  = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{logo|}}}|{{{logo}}}|{{#if: {{#ask: [[Has leader::{{PAGENAME}}]] |link=none}}|{{logo_of|{{#ask: [[Has leader::{{PAGENAME}}]] |link=none}}|size={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}}}}}}}
| image2  = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{logo|}}}|{{{logo}}}|{{#if: |{{logo_of||size={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}}}}}}}
| caption2 = {{{logo_caption|}}}
| caption2 = {{{logo_caption|}}}
| label2  = Start
| label2  = Start
Line 56: Line 56:
| image5  = {{Employment/Incumbent}}<hr/>
| image5  = {{Employment/Incumbent}}<hr/>
| label6  = Leader&nbsp;of
| label6  = Leader&nbsp;of
| data6    = {{ArrayMapBulletedList|{{#ask: [[Has leader::{{PAGENAME}}]]}}}}
| data6    = {{ArrayMapBulletedList|}}
| label7  = Deputy
| label7  = Deputy
| data7    = {{ArrayMapListLink|{{{deputies|}}}}}
| data7    = {{ArrayMapListLink|{{{deputies|}}}}}
| label9  = Boss
| label9  = Boss
| data9    = {{ArrayMapBulletedList|{{#ask: [[Has deputy::{{PAGENAME}}]]}}}}
| data9    = {{ArrayMapBulletedList|}}
| label10  = Abbreviation         
| label10  = Abbreviation         
| data10  = {{ArrayMapListLink|{{{abbreviation|}}}}}
| data10  = {{ArrayMapListLink|{{{abbreviation|}}}}}
Line 66: Line 66:
| data11  = {{ArrayMapListLink|{{{interests|}}}}}
| data11  = {{ArrayMapListLink|{{{interests|}}}}}
| label12  = Interest&nbsp;of
| label12  = Interest&nbsp;of
| data12  = {{ArrayMapBulletedList|{{#ask: [[Has interest::{{PAGENAME}}]]}}}}
| data12  = {{ArrayMapBulletedList|}}
| label14  = Employer
| label14  = Employer
| data14  = {{ArrayMapListLink|{{{employer|}}}}}
| data14  = {{ArrayMapListLink|{{{employer|}}}}}
Line 77: Line 77:
| label26  = Subpage(s)
| label26  = Subpage(s)
| data26  = {{SubpageList}}
| data26  = {{SubpageList}}
|below = {{#if: {{{description|}}}|{{{description}}}|{{#if: {{#ask: [[Has leader::{{PAGENAME}}]]}}|''Leader of the ''{{#ask: [[Has leader::{{PAGENAME}}]]}}.&nbsp;}}{{#if: {{#ask: [[Has deputy::{{PAGENAME}}]]}}|''Subordinate to the ''{{#ask: [[Has deputy::{{PAGENAME}}]]}}..&nbsp;}}}}{{#if: {{#ask: [[-Has deputy::{{PAGENAME}}]]}}|''Boss of the ''{{#ask: [[-Has deputy::{{PAGENAME}}]]}}.}}
|below = {{#if: {{{description|}}}|{{{description}}}|{{#if: |''Leader of the ''.&nbsp;}}{{#if: |''Subordinate to the ''..&nbsp;}}}}{{#if: |''Boss of the ''.}}
}}</includeonly>
}}</includeonly>

Latest revision as of 22:34, 24 September 2026

SMWObjects
Semantic Object Templates:        Decade • Place • Timeline • Year • Disambiguation
Concept • Document • Employment • Event • Group • Person • Publication • Website

This template provides a standard format for positions of employment

It should be included at the top of all pages about positions of employment.

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.

See employment for a list of pages that use this template.

Usage: All sections are optional. <poem>

 Employment
[[File:Image for use in the infobox (Property:Has image)|(defaults to "250px")]]
Caption for the image
[[File:Employment logo (Property:Has logo) - Where multiple logos are possible, use a landscape rather than a portrait format|frameless]]

AbbreviationJob abbreviation
<500 word summary (Property:Description)

</poem>