Difference between revisions of "Template:Concept"

From Wikispooks
Jump to navigation Jump to search
(Show subpages)
(constitutes parameter pair)
Line 24: Line 24:
 
|{{PURPLE|wikipedia}}        = URL of the concept's Wikipedia page, if any ''([[Property:Has wikipediaPage]])''
 
|{{PURPLE|wikipedia}}        = URL of the concept'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]])''
 
|wikipedia_protection      = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise ''([[Property:Has wikipediaProtection]])''
 +
|{{t|{{GREEN|constitutes}}}}= suitable descriptions of this event (e.g. "Assassination, False Flag, Coup d'état") ([[Property:Constitutes]])
 +
ABOUT THE OFFICIAL NARRATIVE:
 +
|{{t|{{GREEN|ON_constitutes}}}}= suitable descriptions of this event ''([[Property:ON_constitutes]])''
 
|{{PURPLE|website}}      = A URL of ''particular'' relevance to the concept, ''([[Property:Has website]])''
 
|{{PURPLE|website}}      = A URL of ''particular'' relevance to the concept, ''([[Property:Has website]])''
 
|{{GREEN|founders}}= Comma separated list of founders  ''([[Property:Has founder]])''
 
|{{GREEN|founders}}= Comma separated list of founders  ''([[Property:Has founder]])''
Line 31: Line 34:
 
|{{GREEN|deputies}}= Pagename of the job(s) of the deputy to this job ''([[Property:Has deputy]])''
 
|{{GREEN|deputies}}= Pagename of the job(s) of the deputy to this job ''([[Property:Has deputy]])''
 
}}
 
}}
</poem></noinclude><includeonly>{{SMWObjectHeader|Concept}}{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]]}}{{Description|{{{description|}}}}}[[Start::{{{start|}}}| ]][[End::{{{end|}}}| ]]{{#if: {{{glossary|}}}|[[GlossaryDescription::{{{glossary}}}| ]]}}{{#if: {{{type|}}}|[[Has conceptType::{{{type}}}| ]]}}{{#if: {{{image|}}}|[[Has image::Image:{{{image}}}| ]]}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia}}}| ]]}}{{SMWDefaultMarkup}}{{ArrayMapProperty|{{{founders|}}}|Has founder}}{{ArrayMapProperty|{{{deputies|}}}|Has deputy}}{{#if: {{{key_properties|}}}|[[Has keyProperties::{{{key_properties|}}}| ]]}}{{#if: {{{key_property_headers|}}}|[[Has keyPropertyHeaders::{{{key_property_headers}}}| ]]}}<!--
+
</poem></noinclude><includeonly>{{SMWObjectHeader|Concept}}{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]]}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{Description|{{{description|}}}}}[[Start::{{{start|}}}| ]][[End::{{{end|}}}| ]]{{#if: {{{glossary|}}}|[[GlossaryDescription::{{{glossary}}}| ]]}}{{#if: {{{type|}}}|[[Has conceptType::{{{type}}}| ]]}}{{#if: {{{image|}}}|[[Has image::Image:{{{image}}}| ]]}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia}}}| ]]}}{{SMWDefaultMarkup}}{{ArrayMapProperty|{{{founders|}}}|Has founder}}{{ArrayMapProperty|{{{deputies|}}}|Has deputy}}{{#if: {{{key_properties|}}}|[[Has keyProperties::{{{key_properties|}}}| ]]}}{{#if: {{{key_property_headers|}}}|[[Has keyPropertyHeaders::{{{key_property_headers}}}| ]]}}<!--
 
Wikipedia Display template
 
Wikipedia Display template
 
-->{{Infobox
 
-->{{Infobox
| title  = {{#ifeq: {{{name|}}}|{{PAGENAME}}|{{{name|}}}}}{{#if: {{{glossary|}}}| [[image:Glossary.png|link=WikiSpooks:Glossary|32px]]}}
+
| title  = {{#ifeq: {{{name|}}}|{{PAGENAME}}|{{{name|}}}}}{{#if: {{{glossary|}}}| [[image:Glossary.png|link=WikiSpooks:Glossary|32px]]}}{{#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 04:08, 23 February 2015

Template:Template Usage: All sections are optional.

{{Concept
|description = <500 word plaintext summary (Property:Description)
|glossary = WikitextPlaintext summary for the glossary (major terms only). (Property:GlossaryDescription)
|name = Use if it differs from the PAGENAME
|logo = Concept logo (Property:Has logo)
|logo_alt = Alt text for the concept logo
|logo_caption =
|logo_width = (defaults to "250px")
|image = Image for use in the infobox (Property:Has image)
|image_alt = Alt text for image
|image_caption = Image caption
|image_width = (defaults to "250px")
|type = (Property:Has conceptType)
|start = When the concept was founded (Property:Start)
|end = (Where applicable), when the concept ended (Property:End) (i.e. when a job title becomes obsolete)
|wikipedia = URL of the concept'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)
|constitutes= suitable descriptions of this event (e.g. "Assassination, False Flag, Coup d'état") (Property:Constitutes)
 ABOUT THE OFFICIAL NARRATIVE:
|ON_constitutes= suitable descriptions of this event (Property:ON_constitutes)
|website = A URL of particular relevance to the concept, (Property:Has website)
|founders= Comma separated list of founders (Property:Has founder)
|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)
For type=job only:
|deputies= Pagename of the job(s) of the deputy to this job (Property:Has deputy)
}}