Jump to content

Template:Infobox Item: Difference between revisions

From Semantic Stargate Wiki
Content deleted Content added
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 22: Line 22:
-->}}<!--
-->}}<!--
-->}}</div>{{Infobox
-->}}</div>{{Infobox
| name = {{subst:PAGENAME}}
| name = Infobox Item
| child = {{{child|}}}
| child = {{{child|}}}
| subbox = {{{subbox|}}}
| subbox = {{{subbox|}}}
| italic title = {{{italic title|no}}}
| italic title = {{#switch: {{lc: {{{type|}}} }} | book | newspaper = {{#set: Publication=yes}}{{{Italic title|}}} | {{{italic title|no}}} }}
| bodystyle =
| bodystyle =


| titlestyle =
| titlestyle =
| abovestyle =
| abovestyle =
| subheaderstyle =
| subheaderstyle = background-color: #c9c9c9;
| title =
| title =
| above = [[Name::{{#if:{{{title|{{{name|}}}}}} | {{{title|{{{name|}}}}}} | {{PAGENAME}} }}]]
| above = [[Name::{{#if:{{{title|{{{name|}}}}}} | {{{title|{{{name|}}}}}} | {{PAGENAME}} }}]]
| subheader = {{#if: {{{alternate timeline|}}} | This item is part of an [[Item part of::alternate timeline]] }}
| subheader =
| subheader2 = {{#if: {{{alternate reality|}}} | This item is part of an [[Item part of::alternate reality]] }}
| subheader3 = {{#if: {{{hallucination|}}} | This item is part of an [[Item part of::hallucination]] }}


| imagestyle =
| imagestyle =
Line 117: Line 119:
Set if the article is part of the Canon
Set if the article is part of the Canon


-->{{#set: Canon item = {{#if:{{{separate|}}}|no|yes}}}}{{#switch: {{lc: {{{type|}}} }} | book | newspaper = {{#set: Publication=yes}}{{Italic title}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
-->{{#set: Canon item = {{#if:{{{separate|}}}|no|yes}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 13:05, 24 September 2018

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Syntax

{{Infobox Item
 | nocat              = 
 | sort               = 
 | spoiler            = 
 | separate           = 
 | category           = 
 | title              = 
 | alternate timeline = 
 | alternate reality  = 
 | hallucination      = 
 | image              = 
 | caption            = 
 | type               = <!-- Semantic data, DO NOT WIKIFY -->
 | origin             = 
 | manufacturer       = 
 | designer           = 
 | usage              = 
 | owner              = 
 | status             = 
 | mention            = <!-- the first one -->
 | appearance         = <!-- the first one -->
 | wikipedia          = 
}}

See also