Difference between revisions of "Template:Concept"
m (Protected "Template:Concept": High load on the jobs queue ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]) |
(Remove the code for job images which fails in SMW2.2) |
||
Line 41: | Line 41: | ||
| 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 = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{logo|}}}|{{{logo}}}|{{#if: {{#ask: [[Has leader::{{PAGENAME}}]]}}|{{logo_of|{{#ask: [[Has leader::{{PAGENAME}}]]}}}}}}|size={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}}} | + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{logo|}}}|{{{logo}}}|size={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}} |
+ | <! -- The below was serious misbehaving after the upgrade to SMW 2.2, but was working OK(ish) with earlier versions. Disabled 2015-05-18 by Robin | ||
+ | {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{logo|}}}|{{{logo}}}|{{#if: {{#ask: [[Has leader::{{PAGENAME}}]]}}|{{logo_of|{{#ask: [[Has leader::{{PAGENAME}}]]}}}}}}|size={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}}}--> | ||
| caption2 = {{{logo_caption|}}} | | caption2 = {{{logo_caption|}}} | ||
| label1 = Type | | label1 = Type |
Revision as of 04:18, 18 May 2015
Concept • Document • Employment • Event • Group • Person • Publication • Website |
This template is an object for pages about ideas which don't fit other categories.
It should be included at the top of all such pages.
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 concept for a list of pages that use this 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)
|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)
|abbreviation = Concept abbreviation
For type=job only:
|deputies= Pagename of the job(s) of the deputy to this job (Property:Has deputy)
ABOUT THE OFFICIAL NARRATIVE:
|ON_constitutes= suitable descriptions of this event (Property:ON_constitutes)
}}