Difference between revisions of "Template:Employment"
(New top level object - derived from Concept) |
(add acting) |
||
(32 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
''All sections are optional.'' | ''All sections are optional.'' | ||
<poem> | <poem> | ||
− | {{ | + | {{Employment |
|description = <500 word summary ''([[Property:Description]])'' | |description = <500 word summary ''([[Property:Description]])'' | ||
− | |logo = | + | |logo = Employment logo ''([[Property:Has logo]])'' - ''Where multiple logos are possible, use a landscape rather than a portrait format'' |
|logo_width = (defaults to "250px") | |logo_width = (defaults to "250px") | ||
|image = Image for use in the infobox ''([[Property:Has image]])'' | |image = Image for use in the infobox ''([[Property:Has image]])'' | ||
|image_width = (defaults to "250px") | |image_width = (defaults to "250px") | ||
− | |image_caption = Caption for the image | + | |image_caption = Caption for the image<!-- |{{GREEN|type}} = {intelligence agency, international, investigatory, legal, lobby, military, nation state, regulator, secret society, think tank, whitewash ...} ''([[Property:Has employmentType]])'' e.g. "commercial, military" --> |
− | <!-- |{{GREEN|type}} = {intelligence agency, international, investigatory, legal, lobby, military, nation state, regulator, secret society, think tank, whitewash ...} ''([[Property:Has employmentType]])'' e.g. "commercial, military" --> | + | |location = In which place the job is located |
|{{NAVY|start}} = When this job was created ''([[Property:Start]])'' | |{{NAVY|start}} = When this job was created ''([[Property:Start]])'' | ||
|{{NAVY|end}} = When the job was finished, if ever ''([[Property:End]])'' | |{{NAVY|end}} = When the job was finished, if ever ''([[Property:End]])'' | ||
− | |{{GREEN|predecessors}} = Which | + | |{{GREEN|predecessors}} = Which job(s) this one replaces/ was created from |
|{{GREEN|successors}} = If obsolete, which job(s) this one was replaced by | |{{GREEN|successors}} = If obsolete, which job(s) this one was replaced by | ||
+ | |{{GREEN|deputies}} = Which job(s) (usually just one) this one is deputised by | ||
+ | |{{BLUE|employer}} = Which group this employment is a part of - ''Not used much'' | ||
|{{PURPLE|website}} = URL of the job's homepage, ''([[Property:Has website]])'' - if it exists | |{{PURPLE|website}} = URL of the job's homepage, ''([[Property:Has website]])'' - if it exists | ||
|{{PURPLE|facebook}}= URL of the job's facebook page ''([[Property:Has facebook]])'' - if it exists | |{{PURPLE|facebook}}= URL of the job's facebook page ''([[Property:Has facebook]])'' - if it exists | ||
− | |twitter | + | |{{PURPLE|twitter}} = URL of the job's twitter ''([[Property:Has twitter]])'' - if it exists |
|{{PURPLE|wikipedia}} = URL of the job's Wikipedia page, if any ''([[Property:Has wikipediaPage]])'' | |{{PURPLE|wikipedia}} = URL of the job's Wikipedia page, if any ''([[Property:Has wikipediaPage]])'' | ||
− | |wikipedia_protection = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise ''([[Property:Has wikipediaProtection]])'' | + | |{{ORANGE|wikipedia_protection}} = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise ''([[Property:Has wikipediaProtection]])'' |
+ | |{{ORANGE|acting}} = Set to Yes (note the capital Y) if the person is temporarily acting in the position | ||
+ | |{{VIOLET|key_properties}}= Slash separated list of important properties of this page ''([[Property:Has keyProperties]])'' | ||
+ | |{{VIOLET|key_property_headers}}= Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])'' | ||
|{{GREEN|constitutes}} = What the job constitutes ''([[Property:Constitutes]])'' | |{{GREEN|constitutes}} = What the job constitutes ''([[Property:Constitutes]])'' | ||
− | |{{GREEN|ON_constitutes}} = What the job ON constitutes ''([[Property:ON_constitutes]])'' | + | |{{GREEN|ON_constitutes}} = What the job ON constitutes ''([[Property:ON_constitutes]])''<!--|{{GREEN|founders}}= Comma separated list of founders ''([[Property:Has founder]])'' --> |
− | <!--|{{GREEN|founders}}= Comma separated list of founders ''([[Property:Has founder]])'' | ||
|{{GREEN|deputies}} = Comma separated list of jobs below this (usually just one)= | |{{GREEN|deputies}} = Comma separated list of jobs below this (usually just one)= | ||
+ | |{{GREEN|interests}}= Area(s) of interest ''([[Property:Has interest]])'' | ||
|abbreviation = Job abbreviation | |abbreviation = Job abbreviation | ||
|motto = Job motto | |motto = Job motto | ||
− | |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]]" |
− | }} | + | }}</poem></noinclude><includeonly>{{SMWObjectHeader|Employment}}{{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{ON_constitutes|}}}|ON_constitutes}}{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]][[Has logo2::Image:{{{logo}}}| ]]}} |
− | </noinclude><includeonly>{{SMWObjectHeader|Employment}}{{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{ON_constitutes|}}}|ON_constitutes}}{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]][[Has logo2::Image:{{{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}}<!-- |
Wikipedia Display template | Wikipedia Display template | ||
-->{{Infobox | -->{{Infobox | ||
− | | above = <span class="fn">{{Infobox class icon}} {{{name|{{PAGENAME}}}}}</span | + | | above = <span class="fn">{{Infobox class icon}} {{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]"{{{name|{{PAGENAME}}}}}"|{{{name|{{PAGENAME}}}}}}}</span>{{#if: {{{glossary|}}}| [[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|{{{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 = | + | | 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|}}}}}}}}}}} |
− | |||
− | {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{logo|}}}|{{{logo}}}|{{#if: {{#ask: [[Has leader::{{PAGENAME}}]]}}|{{logo_of|{{#ask: [[Has leader::{{PAGENAME}}]] | ||
| caption2 = {{{logo_caption|}}} | | caption2 = {{{logo_caption|}}} | ||
| label2 = Start | | label2 = Start | ||
| data2 = {{{start|}}} | | data2 = {{{start|}}} | ||
− | | label3 = Founder(s) | + | | label3 = End |
− | | | + | | data3 = {{{end|}}} |
− | | | + | | label4 = Founder(s) |
− | | | + | | data4 = {{ArrayMapListLink|{{{founders|}}}}} |
− | | | + | | image5 = {{Employment/Incumbent}}<hr/> |
− | | | + | | label6 = Leader of |
− | | | + | | data6 = {{ArrayMapBulletedList|{{#ask: [[Has leader::{{PAGENAME}}]]}}}} |
− | | | + | | label7 = Deputy |
− | | | + | | data7 = {{ArrayMapListLink|{{{deputies|}}}}} |
− | | | + | | label9 = Boss |
− | | | + | | data9 = {{ArrayMapBulletedList|{{#ask: [[Has deputy::{{PAGENAME}}]]}}}} |
− | | | + | | label10 = Abbreviation |
− | | | + | | data10 = {{ArrayMapListLink|{{{abbreviation|}}}}} |
− | + | | label11 = Interests | |
+ | | data11 = {{ArrayMapListLink|{{{interests|}}}}} | ||
+ | | label12 = Interest of | ||
+ | | data12 = {{ArrayMapBulletedList|{{#ask: [[Has interest::{{PAGENAME}}]]}}}} | ||
+ | | label14 = Employer | ||
+ | | data14 = {{ArrayMapListLink|{{{employer|}}}}} | ||
+ | | label18 = Website | ||
+ | | data18 = {{{website|}}} | ||
+ | | label21 = Predecessors | ||
+ | | data21 = {{ArrayMapListLink|{{{predecessors|}}}}} | ||
+ | | label22 = Successors | ||
+ | | data22 = {{ArrayMapListLink|{{{successors|}}}}} | ||
+ | | label26 = Subpage(s) | ||
+ | | data26 = {{SubpageList}} | ||
+ | |below = {{#if: {{{description|}}}|{{{description}}}|{{#if: {{#ask: [[Has leader::{{PAGENAME}}]]}}|''Leader of the ''{{#ask: [[Has leader::{{PAGENAME}}]]}}. }}{{#if: {{#ask: [[Has deputy::{{PAGENAME}}]]}}|''Subordinate to the ''{{#ask: [[Has deputy::{{PAGENAME}}]]}}.. }}}}{{#if: {{#ask: [[-Has deputy::{{PAGENAME}}]]}}|''Boss of the ''{{#ask: [[-Has deputy::{{PAGENAME}}]]}}.}} | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 23:59, 8 March 2024
![]() |
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 parameterswere 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.
{{Employment
|description = <500 word summary (Property:Description)
|logo = Employment logo (Property:Has logo) - Where multiple logos are possible, use a landscape rather than a portrait format
|logo_width = (defaults to "250px")
|image = Image for use in the infobox (Property:Has image)
|image_width = (defaults to "250px")
|image_caption = Caption for the image
|location = In which place the job is located
|start = When this job was created (Property:Start)
|end = When the job was finished, if ever (Property:End)
|predecessors = Which job(s) this one replaces/ was created from
|successors = If obsolete, which job(s) this one was replaced by
|deputies = Which job(s) (usually just one) this one is deputised by
|employer = Which group this employment is a part of - Not used much
|website = URL of the job's homepage, (Property:Has website) - if it exists
|facebook= URL of the job's facebook page (Property:Has facebook) - if it exists
|twitter = URL of the job's twitter (Property:Has twitter) - if it exists
|wikipedia = URL of the job's Wikipedia page, if any (Property:Has wikipediaPage)
|wikipedia_protection = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise (Property:Has wikipediaProtection)
|acting = Set to Yes (note the capital Y) if the person is temporarily acting in the position
|key_properties= Slash separated list of important properties of this page (Property:Has keyProperties)
|key_property_headers= Slash separated list of property descriptions (same length as the above) (Property:Has keyPropertyHeaders)
|constitutes = What the job constitutes (Property:Constitutes)
|ON_constitutes = What the job ON constitutes (Property:ON_constitutes)
|deputies = Comma separated list of jobs below this (usually just one)=
|interests= Area(s) of interest (Property:Has interest)
|abbreviation = Job abbreviation
|motto = Job motto
|motto_translation = Job motto, translated into English
|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"
}}