Template:Infobox Item and Template:Infobox Item/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
 
 
Line 1: Line 1:
<includeonly><div display="none">{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}<!--
#REDIRECT [[Template:Infobox Item]]
-->{{#if: {{{nocat|}}}
    |
    |<!--
  -->{{#ifeq: {{{spoiler|}}}
      | true
      | [[Category:Spoilers]]
      |<!--
  -->{{#ifeq:{{NAMESPACE}}
      | User
      | [[Category:Stargate Wiki contributors]]
      | [[Category:Items]]
      }}
    }}{{#ifeq:{{{spoiler|}}}
        | true
        | {{spoiler}}
        |<!--
    -->{{#if: {{{separate|}}}{{{SGI|}}}
        | {{Separate continuity|category={{{category|}}}}}[[Category:Items part of a separate continuity]]
        |
        }}<!--
    -->}}<!--
-->}}</div>{{Infobox
| name          = Infobox Item
| child          = {{{child|}}}
| subbox        = {{{subbox|}}}
| italic title  = {{#switch: {{lc: {{{type|}}} }} | book | newspaper = {{#set: Publication=yes}}{{{Italic title|}}} | {{{italic title|no}}} }}
| bodystyle      =
 
| titlestyle    =
| abovestyle    =
| subheaderstyle = background-color: #c9c9c9;
| title          =
| above          = [[Name::{{#if:{{{title|{{{name|}}}}}} | {{{title|{{{name|}}}}}} | {{PAGENAME}} }}]]
| subheader      = {{#if: {{{alternate timeline|}}} | This item is part of an [[Item part of::alternate timeline]] }}
| 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    =
| captionstyle  =
| image          = {{#if: {{{image|}}} | {{#invoke:InfoboxImage|InfoboxImage|image= {{{image}}} |size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}} }}
| caption        = {{{caption|{{{legend|}}}}}}
| image2        =
| caption2      =
 
| headerstyle    = background-color: #E1E1E1;
| labelstyle    = vertical-align: top; text-align: left;
| datastyle      =
 
| header1  =
|  label1  = Type
|  data1  = [[Item type::{{{type|}}}]]
| header2  =
|  label2  = Place of origin
|  data2  = {{{origin|}}}
| header3  =
|  label3  = Usage
|  data3  = {{{usage|}}}
| header4  =
|  label4  = Owner
|  data4  = {{{owner|}}}
| header5  =
|  label5  = Current status
|  data5  = {{{status|}}}
| header6  = {{#if: {{{manufacturer|}}}{{{designer|}}} | Production information }}
|  label6  =
|  data6  =
| header7  =
|  label7  = Manufacturer
|  data7  = {{{manufacturer|}}}
| header8  =
|  label8  = Designer
|  data8  = {{{designer|}}}
| header9  = {{#if: {{{mention|}}}{{{appearance|}}} | Out of Universe information }}
|  label9  =
|  data9  =
| header10 =
|  label10 = First mention
|  data10 = {{{mention|}}}
| header11 =
|  label11 = First appearance
|  data11 = {{{appearance|}}}
| header12 =
|  label12 =
|  data12 = {{#if: {{{wikipedia|}}} | {{w|{{{wikipedia|}}}|Wikipedia article}} }}
| header13 =
|  label13 =
|  data13 =
| header14 =
|  label14 =
|  data14 =
| header15 =
|  label15 =
|  data15 =
| header16 =
|  label16 =
|  data16 =
| header17 =
|  label17 =
|  data17 =
| header18 =
|  label18 =
|  data18 =
| header19 =
|  label19 =
|  data19 =
| header20 =
|  label20 =
|  data20 =
 
| belowstyle    =
| below          =
}}<!--
 
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>