Template:Infobox Weapon: Difference between revisions

From Semantic Stargate Wiki
(Created page with "<includeonly><div display="none">{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}<!-- -->{{#if: {{{nocat|}}} | |<!-- -->{{#ifeq: {{{spoiler|}}} | true |...")
 
No edit summary
Line 18: Line 18:
     --><!--  
     --><!--  
     -->}}<!--  
     -->}}<!--  
  -->}}</div>{{Infobox/startbox}}
  -->}}</div>{{Infobox
{{Infobox/title
{{Infobox
  | [[Name::{{#if:{{{title|{{{name|}}}}}} | {{{title|{{{name|}}}}}} | {{PAGENAME}} }}]]  
  | name            = Infobox Weapon
  |  
| above          = [[Name::{{#if:{{{title|{{{name|}}}}}} | {{{title|{{{name|}}}}}} | {{PAGENAME}} }}]]  
  | header weapon
 
}}
  | subheaderstyle  = background-color: #7373CE;
{{Infobox/optional subtitle<!-- semantic data -->
  | subheader      = {{#if: {{{alternate timeline|}}} | This technology is part of an [[Technology part of::alternate timeline]] }}
| This weapon is part of an [[weapon part of::Alternate timeline]]
| subheaderstyle2 = background-color: #7373CE;
  | {{{alternate timeline|}}}
  | subheader2      = {{#if: {{{alternate reality|}}} | This technology is part of an [[Technology part of::alternate reality]] }}
| 696969
| subheaderstyle3 = background-color: #7373CE;
| FFFFFF
  | subheader3      = {{#if: {{{hallucination|}}} | This technology is part of an [[Technology part of::hallucination]] }}
}}
 
{{Infobox/optional subtitle<!-- semantic data -->
  | headerstyle    = background-color: #E1E1E1;
| This weapon is part of an [[weapon part of::Alternate reality]]
| image          = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} }}|size={{#if: {{{image size|330}}} | {{{image size|330}}}px | 330px }}|sizedefault=frameless|alt={{{alt|}}}}}
  | {{{alternate reality|}}}
  | caption        = {{{caption|}}}
| 696969
 
| FFFFFF
| header1  =
}}
  | label1  = Type
{{Infobox/optional subtitle<!-- semantic data -->
  |   data1  = {{{type|}}}
| This weapon is part of an [[weapon part of::hallucination]]
 
  | {{{hallucination|}}}
  | header2  =
| 696969
  | label2  = Place of origin
| FFFFFF
  |   data2  = {{{origin|}}}
}}
 
{{Infobox/image
  | header10 = {{#if: {{{service|}}}{{{used by|}}}{{{battle|}}} | Service history }}
|{{{image|}}}|{{{caption|}}}|280|Weapon image
|  label10 =
}}
|  data10 =
{{Infobox/optional separator
 
  | {{{image|}}}
| header11 =
}}
  | label11 = In service
{{Infobox/optional dual line
  |   data11 =  {{{service|}}}
  | Type
 
  | {{{type|}}}
  | header12 =
  | {{{type}}}
  | label12 = Used by
}}
  |   data12 = {{{used by|}}}
{{Infobox/optional dual line
 
  | Place of origin
  | header13 =
  | {{{origin|}}}
  | label13 = Wars/battles/conflicts
  | {{{origin}}}
  |   data13 = {{{battle|}}}
}}
 
{{Infobox/optional subtitle
  | header20 = {{#if: {{{designer|}}}{{{design date|}}}{{{manufacturer|}}}{{{variants|}}} | Production history }}
| Service history
|  label20 =
| {{{service|}}}{{{used by|}}}{{{battle|}}}
|  data20 =
}}
 
{{Infobox/optional dual line
  | header21 =
  | In service
  | label21 = {{#if: {{#pos: {{{designer|}}} }} | <br }} | Designers | Designer }}
  | {{{service|}}}
  |   data21 = {{{designer|}}}
  | {{{service}}}
 
}}
| header22 =
{{Infobox/optional dual line
  | label22 = Designed
  | Used by
  |   data22 = {{{design date|}}}
  | {{{used by|}}}
 
  | {{{used by}}}
| header23 =
}}
  | label23 = {{#if: {{#pos: {{{manufacturer|}}} }} | <br }} | Manufacturers | Manufacturer }}
{{Infobox/optional dual line
  |   data23 = {{{manufacturer|}}}
  | Wars/battles/conflicts
 
  | {{{battle|}}}
  | header24 =
  | {{{battle}}}
  | label24 = {{#if: {{#pos: {{{variants|}}} }} | <br }} | Variants | Variant }}
}}
  |   data24 = {{{variants|}}}
{{Infobox/optional subtitle
 
| Production history
| header30 = {{#if: {{{weight|}}}{{{length|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passengers|}}} | Specifications }}
| {{{designer|}}}{{{design date|}}}{{{manufacturer|}}}{{{variants|}}}
|  label30 =
}}
  |   data30 =
{{Infobox/optional dual line
 
  | Designer
  | header31 =
  | {{{designer|}}}
| label31 = Weight
  | {{{designer}}}
  |   data31 = {{{weight|}}}
}}
 
{{Infobox/optional dual line
| header32 =
  | Designed
  | label32 = Length
  | {{{design date|}}}
  |   data32 = {{{length|}}}
  | {{{design date}}}
 
}}
  | header33 =
{{Infobox/optional dual line
  | label33 = Width
| Manufacturer
  |   data33 = {{{width|}}}
| {{{manufacturer|}}}
 
  | {{{manufacturer}}}
  | header34 =
}}
  | label34 = Height
{{Infobox/optional dual line
  |   data34 = {{{height|}}}
  | Variants
 
  | {{{variants|}}}
  | header35 =
  | {{{variants}}}
  | label35 = Diameter
}}
  |   data35 = {{{diameter|}}}
{{Infobox/optional subtitle
 
| Specifications
  | header36 =
| {{{weight|}}}{{{lenght|}}}{{{width|}}}{{{height|}}}{{{diameter|}}}{{{crew|}}}{{{passengers|}}}
  | label36 = Crew
}}
  |   data36 = {{{crew|}}}
{{Infobox/optional dual line
 
  | Weight
  | header37 =
  | {{{weight|}}}
  | label37 = Passengers
  | {{{weight}}}
  |   data37 = {{{passengers|}}}
}}
 
{{Infobox/optional dual line
  | header90 = {{#if: {{{mention|}}}{{{appearance|}}}{{{mention|}}}{{{appearance|}}} | Out of Universe information }}
  | Length
  | label90 =
  | {{{length|}}}
  |   data90 =
  | {{{length}}}
 
}}
| header91 =
{{Infobox/optional dual line
  | label91 = First mention
  | Width
  |   data91 = {{{mention|}}}
  | {{{width|}}}
 
  | {{{width}}}
  | header92 =
}}
  | label92 = First appearance
{{Infobox/optional dual line
  |   data92 = {{{appearance|}}}
  | Height
}}<!--
  | {{{height|}}}
 
  | {{{height}}}
-->{{#if: {{{image|}}} | [[Infobox image::{{{image|}}} | ]]}}<!--
}}
 
{{Infobox/optional dual line
-->{{#set: Canon weapon = {{#if:{{{separate|}}}|no|yes}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
  | Diameter
  | {{{diameter|}}}
  | {{{idameter}}}
}}
{{Infobox/optional dual line
  | Crew
  | {{{crew|}}}
  | {{{crew}}}
}}
{{Infobox/optional dual line
  | Passengers
  | {{{passengers|}}}
| {{{passengers}}}
}}
{{Infobox/optional separator
  | {{{cartridge|}}}{{{caliber|}}}{{{rate|}}}{{{velocity|}}}{{{range|}}}{{{blade type|}}}{{{filling|}}}{{{detonation|}}}{{{yield|}}}{{{armour|}}}{{{primary armament|}}}{{{secondary armament|}}}{{{engine|}}}{{{engine power|}}}{{{wingspan|}}}{{{propellant|}}}{{{ceiling|}}}{{{altitude|}}}{{{depth|}}}{{{boost|}}}{{{accuracy|}}}{{{launch platform|}}}{{{transport|}}}
}}
{{Infobox/optional subtitle
  | Out of Universe informations
  | {{{mention|}}}{{{appearance|}}}
}}
{{Infobox/optional dual line
  | First mention
  | {{{mention|}}}
  | {{{mention}}}
}}
{{Infobox/optional dual line
  | First appearance  
  | {{{appearance|}}}
| {{{appearance}}}
}}
{{Infobox/endbox}}{{#if: {{{image|}}} | [[Infobox image::{{{image|}}} | ]]}}[[Canon weapon::{{#if:{{{separate|}}}|no|yes}}| ]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 13:26, 20 August 2023

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

Usage

Syntax

{{Infobox Weapon
 | nocat                  = 
 | sort                   = 
 | title                  = 
 | image                  = 
 | caption                = 
 | separate               = 
 | continuity             = 
 | alternate reality      = <!-- semantic data -->
 | alternate timeline     = <!-- semantic data -->
 | hallucination          = <!-- semantic data -->
 | type                   = 
 | origin                 = 
<!-- Type selection -->
 | is ranged              = 
 | is bladed              = 
 | is explosive           = 
 | is artillery           = 
 | is vehicle             = 
 | is missile             = 
<!-- Service history -->
 | service                = 
 | used by                = 
 | battle                 = 
<!-- Production history -->
 | designer               = 
 | design date            = 
 | manufacturer           = 
 | variants               = 
<!-- General specifications -->
 | weight                 = 
 | length                 = 
 | width                  = 
 | height                 = 
 | diameter               = 
 | crew                   = 
 | passengers             = 
<!-- Out of universe data -->
 | mention                = <!-- the first one -->
 | appearance             = <!-- the first one -->
}}

See also