Difference between revisions of "Template:Concept"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "KeyPropertyHeaders" to "key_property_headers")
m (Text replacement - "KeyProperties" to "key_properties")
Line 22: Line 22:
 
|wikipedia        = URL of the concept's Wikipedia page, if any ''([[Property:Has wikipediaPage]])''
 
|wikipedia        = URL of the concept's Wikipedia page, if any ''([[Property:Has wikipediaPage]])''
 
|{{GREEN|founders}}= Comma separated list of founders  ''([[Property:Has founder]])''
 
|{{GREEN|founders}}= Comma separated list of founders  ''([[Property:Has founder]])''
|{{VIOLET|KeyProperties}}= Slash separated list of important properties of this page ''([[Property:Has keyProperties]])''
+
|{{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]])''
 
|{{VIOLET|key_property_headers}}= Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])''
 
}}
 
}}
</poem></noinclude><includeonly>[[Has objectClass::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}}{{#if: {{{KeyProperties|}}}|[[Has keyProperties::{{{KeyProperties}}}| ]]}}{{#if: {{{key_property_headers|}}}|[[Has keyPropertyHeaders::{{{key_property_headers}}}| ]]}}<!--
+
</poem></noinclude><includeonly>[[Has objectClass::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}}{{#if: {{{key_properties|}}}|[[Has keyProperties::{{{key_properties}}}| ]]}}{{#if: {{{key_property_headers|}}}|[[Has keyPropertyHeaders::{{{key_property_headers}}}| ]]}}<!--
 
Wikipedia Display template
 
Wikipedia Display template
 
-->{{Infobox
 
-->{{Infobox

Revision as of 20:19, 29 June 2014

This template is an object for pages about ideas which don't fit other categories.. It should be included at the top of all pages about organisations.

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.

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)
|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)
}}