Difference between revisions of "Template:Concept"

From Wikispooks
Jump to navigation Jump to search
m (fix)
(|glossary param)
Line 6: Line 6:
 
<poem>
 
<poem>
 
{{Concept
 
{{Concept
|description      = <500 word summary ''([[Property:Description]])''
+
|description      = <500 word plaintext summary ''([[Property:Description]])''
 +
|glossary          = Wikitext summary for the glossary (majot terms only). ''([[Property:GlossaryDescription]])''
 
|name              = Use if it differs from the PAGENAME
 
|name              = Use if it differs from the PAGENAME
 
|logo              = Concept logo ''([[Property:Has logo]])''
 
|logo              = Concept logo ''([[Property:Has logo]])''
Line 23: Line 24:
 
|{{t|{{GREEN|KeyPropertyHeaders}}}}= Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])''
 
|{{t|{{GREEN|KeyPropertyHeaders}}}}= Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])''
 
}}
 
}}
</poem></noinclude><includeonly>[[Constitutes::concept| ]]{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]]}}{{Description|{{{description|}}}}}{{#if: {{{start|}}}|[[Start::{{{start}}}]]}}{{#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: {{{KeyPropertyHeaders|}}}|[[Has keyPropertyHeaders::{{{KeyPropertyHeaders}}}| ]]}}<!--
+
</poem></noinclude><includeonly>[[Constitutes::concept| ]]{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]]}}{{Description|{{{description|}}}}}{{#if: {{{start|}}}|[[Start::{{{start}}}]]}}{{#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: {{{KeyPropertyHeaders|}}}|[[Has keyPropertyHeaders::{{{KeyPropertyHeaders}}}| ]]}}<!--
 
Wikipedia Display template
 
Wikipedia Display template
 
-->{{Infobox
 
-->{{Infobox

Revision as of 03:09, 1 May 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.
It still needs work. Contributions welcome.
Usage: All sections are optional.

{{Concept
|description = <500 word plaintext summary (Property:Description)
|glossary = Wikitext summary for the glossary (majot 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)
|wikipedia = URL of the concept's Wikipedia page, if any (Property:Has wikipediaPage)
|founders= Comma separated list of founders (Property:Has founder)
|KeyProperties= Slash separated list of important properties of this page (Property:Has keyProperties)
|KeyPropertyHeaders= Slash separated list of property descriptions (same length as the above) (Property:Has keyPropertyHeaders)
}}