Difference between revisions of "Template:Concept"

From Wikispooks
Jump to navigation Jump to search
(fix image)
Line 13: Line 13:
 
|logo_width        = (defaults to "250px")
 
|logo_width        = (defaults to "250px")
 
|image            = Image for use in the infobox ''([[Property:Has image]])''
 
|image            = Image for use in the infobox ''([[Property:Has image]])''
|caption          = Caption for the image
+
|image_alt        = Alt text for image
|type              = ([[Property:Has conceptType]])''
+
|image_caption    = Image caption
 +
|image_width      = (defaults to "250px")
 +
|type              = ''([[Property:Has conceptType]])''
 
|start            = When the concept was founded ''([[Property:Start]])''
 
|start            = When the concept was founded ''([[Property:Start]])''
 
|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]])''
Line 23: Line 25:
 
-->{{Infobox
 
-->{{Infobox
 
| title  = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}}
 
| title  = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}}
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}
+
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=250px|alt={{{image_alt|}}}}}
 
| caption  = {{{logo_caption|}}}
 
| caption  = {{{logo_caption|}}}
| image2  = {{#if:{{{collapsible|}}}|{{hidden begin|title={{{collapsetext|Screenshot}}}|titlestyle=text-align:center}}}}{{#invoke:InfoboxImage|InfoboxImage|image={{{screenshot|}}}|size={{{screenshot_size|}}}|sizedefault=300px|alt={{{screenshot_alt|}}}}}
+
| image2  = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}
| caption2 = {{{caption|}}}{{#if:{{{collapsible|}}}|{{hidden end}}}}
+
| caption2 = {{{image_caption}}}}
 
| label1  = Type
 
| label1  = Type
 
| data1    = {{{type|}}}
 
| data1    = {{{type|}}}

Revision as of 15:52, 2 April 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 summary (Property:Description)
|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)
}}