Difference between revisions of "Template:Employment"

From Wikispooks
Jump to navigation Jump to search
(New top level object - derived from Concept)
 
Line 14: Line 14:
 
|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" -->
 
 
|{{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]])''
Line 32: Line 31:
 
|motto            = Job motto
 
|motto            = Job motto
 
|motto_translation = Job motto, translated into English<!--''Experimental parameters:''
 
|motto_translation = Job motto, translated into English<!--''Experimental parameters:''
|status            ={fully captured, largely captured, semi-captured, tainted, independent} especially for [[regulator]]y groups, but maybe also others ''([[Property:Has groupStatus]])'' -->
+
|status            ={fully captured, largely captured, semi-captured, tainted, independent} especially for [[regulator]]y groups, but maybe also others ''([[Property:Has groupStatus]])'' -->}}
}}
 
 
</noinclude><includeonly>{{SMWObjectHeader|Employment}}{{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{ON_constitutes|}}}|ON_constitutes}}{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]][[Has logo2::Image:{{{logo}}}| ]]}}{{Description|{{{description|}}}}}{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]]}}{{#if: {{{website|}}}|[[Has website::{{{website}}}| ]]}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia}}}| ]]}}{{SMWDefaultMarkup}}{{ArrayMapProperty|{{{deputies|}}}|Has deputy}}<!--
 
</noinclude><includeonly>{{SMWObjectHeader|Employment}}{{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{ON_constitutes|}}}|ON_constitutes}}{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]][[Has logo2::Image:{{{logo}}}| ]]}}{{Description|{{{description|}}}}}{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]]}}{{#if: {{{website|}}}|[[Has website::{{{website}}}| ]]}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia}}}| ]]}}{{SMWDefaultMarkup}}{{ArrayMapProperty|{{{deputies|}}}|Has deputy}}<!--
 
Wikipedia Display template
 
Wikipedia Display template
 
-->{{Infobox
 
-->{{Infobox
| above  = <span class="fn">{{Infobox class icon}}&nbsp;{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if: {{{glossary|}}}|&nbsp;[[image:Glossary.png|link=WikiSpooks:Glossary|26px]]}}{{#if: {{{constitutes|}}}|<br/>({{ArrayMapListLink|{{{constitutes|}}}}})}}
+
| above  = <span class="fn">{{Infobox class icon}}&nbsp;{{{name|{{PAGENAME}}}}}</span>{{#if: {{{glossary|}}}|&nbsp;[[image:Glossary.png|link=WikiSpooks:Glossary|26px]]}}{{#if: {{{constitutes|}}}|<br/>({{ArrayMapListLink|{{{constitutes|}}}}})}}
 
| 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|}}}

Revision as of 12:37, 13 August 2015

SMWObjects
Semantic Object Templates:        DecadePlaceTimelineYearDisambiguation
ConceptDocumentEmploymentEventGroupPersonPublicationWebsite

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>Image:Group logo (Property:Has logo)|Property "Has logo" (as page type) with input value "Image:Group logo (Property:Has logo)|" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.Image:Group logo (Property:Has logo)|File:Image for use in the infobox (Property:Has image)|Property "Has image" (as page type) with input value "File:Image for use in the infobox (Property:Has image)|" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.File:Image for use in the infobox (Property:Has image)|

Template.png Employment Handle of the job's twitter (no '@') (Property:Has twitter) - if it exists| "Handle of the job's twitter (no '@') ([[Property" has not been listed as valid URI scheme.TwitterRdf-entity.pngRdf-icon.png
[[File:Image for use in the infobox (Property:Has image)|(defaults to "250px")]]
Caption for the image
[[image:Group logo (Property:Has logo)|(defaults to "250px")]]
<500 word summary (Property:Description)