Jump to content

Template:Infobox Item: Difference between revisions

From Semantic Stargate Wiki
Content deleted Content added
Created page with "<includeonly><div display="none">{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}<!-- -->{{#if: {{{nocat|}}} | |<!-- -->{{#ifeq: {{{spoiler|}}} | true |..."
 
 
(6 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 = {{#if: {{{name|}}} | {{{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 47: Line 49:


| header1 =
| header1 =
| label1 =
| label1 = Type
| data1 =
| data1 = [[Item type::{{{type|}}}]]
| header2 =
| header2 =
| label2 =
| label2 = Place of origin
| data2 =
| data2 = {{{origin|}}}
| header3 =
| header3 =
| label3 =
| label3 = Usage
| data3 =
| data3 = {{{usage|}}}
| header4 =
| header4 =
| label4 =
| label4 = Owner
| data4 =
| data4 = {{{owner|}}}
| header5 =
| header5 =
| label5 =
| label5 = Current status
| data5 =
| data5 = {{{status|}}}
| header6 = {{#if: {{{manufacturer|}}}{{{designer|}}} | Production information }}
| header6 =
| label6 =
| label6 =
| data6 =
| data6 =
| header7 =
| header7 =
| label7 =
| label7 = Manufacturer
| data7 =
| data7 = {{{manufacturer|}}}
| header8 =
| header8 =
| label8 =
| label8 = Designer
| data8 =
| data8 = {{{designer|}}}
| header9 = {{#if: {{{mention|}}}{{{appearance|}}} | Out of Universe information }}
| header9 =
| label9 =
| label9 =
| data9 =
| data9 =
| header10 =
| header10 =
| label10 =
| label10 = First mention
| data10 =
| data10 = {{{mention|}}}
| header11 =
| header11 =
| label11 =
| label11 = First appearance
| data11 =
| data11 = {{{appearance|}}}
| header12 =
| header12 =
| label12 =
| label12 =
| data12 = {{#if: {{{wikipedia|}}} | {{w|{{{wikipedia|}}}|Wikipedia article}} }}
| data12 =
| header13 =
| header13 =
| label13 =
| label13 =
Line 109: Line 111:
| belowstyle =
| belowstyle =
| below =
| below =
}}<!--
}}{{#if: {{{image|}}} | [[Infobox image::{{{image|}}} | ]]}}[[Canon item::{{#if:{{{separate|}}}|no|yes}}| ]]{{#switch: {{lc: {{{type|}}} }} | book | newspaper = {{#set: Publication=yes}}{{Italic title}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Retrieving the infobox image title

-->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!--

Set if the article is part of the Canon

-->{{#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