Template:Infobox Spaceship: Difference between revisions

From Semantic Stargate Wiki
No edit summary
No edit summary
Line 123: Line 123:
  | label34        = {{#if: {{#pos:{{{othersystems|}}}| <br }} | Other systems | Other system }}
  | label34        = {{#if: {{#pos:{{{othersystems|}}}| <br }} | Other systems | Other system }}
  | data34          = {{{othersystems|}}}
  | data34          = {{{othersystems|}}}
| header40        = {{#if: {{{role|}}}{{{address|}}}{{{point of origin|}}}{{{firstuse|}}}{{{affiliation|}}} | Usage }}
| label41        = {{#if: {{#pos:{{{role|}}}| <br }} | Roles | Role }}
| data41          = {{{role|}}}
| label42        = Stargate {{#if: {{#pos:{{{address|}}}| <br }} | addresses | address }}
| data42          = {{{address|}}}
| label43        = Point of origin
| data43          = {{{point of origin|}}}
| label44        = Year introduced
| data44          = {{{firstuse|}}}
| label45        = Affiliation
| data45          = {{{affiliation|}}}
| header50        = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the ''Stargate'' universe}}
| label51        = First mention
| data51          = {{{mention|}}}
| label52        = First appearance
| data52          = {{{appearance|}}}
}}
}}
{{Infobox/startbox}}
<!--
{{Infobox/optional subtitle
 
| Usage
Retrieving the "name" property from the infobox
  | {{{role|}}}{{{address|}}}{{{point of origin|}}}{{{firstuse|}}}{{{affiliation|}}}
 
| {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}
  -->{{#if: {{{rtitle|}}} | {{#set: name = {{{rtitle}}} }} | {{#if: {{{title|{{PAGENAME}}}}} | {{#set: name = ''{{{title}}}'' }} | {{#set: name = ''{{PAGENAME}}'' }} }} }}<!--
}}
 
{{Infobox/optional dual line
Retrieving the "infobox image" from the template
| Role(s)
 
| {{{role|}}}
  -->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!--
| {{{role}}}
 
}}
Defining the canonicity of the spaceship
{{Infobox/optional dual line
 
| Address
  -->{{#set: Canon spaceship = {{#if:{{{separate|}}}|no|yes}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
| {{{address|}}}
  | {{{address}}}
}}
{{Infobox/optional dual line
| Point of origin
| {{{point of origin|}}}
| {{{point of origin}}}
}}
{{Infobox/optional dual line
| Year introduced
| {{{firstuse|}}}
| {{{firstuse}}}
}}
{{Infobox/optional dual line
| Affiliation
| {{{affiliation|}}}
  | {{{affiliation}}}
}}
{{Infobox/endbox}}{{#if: {{{image|}}} | [[Infobox image::{{{image|}}} | ]]}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 10:51, 20 February 2022

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

Usage

Syntax

{{Infobox Spaceship
 | nocat              = 
 | sort               = 
 | spoiler            = 
 | separate           = 
 | category           = 
 | title              = 
 | rtitle             = 
 | alternate timeline = 
 | alternate reality  = 
 | hallucination      = 
 | image              = 
 | image size         = 
 | alt                = 
 | caption            = 
<!-- PRODUCTION INFORMATION -->
 | manufacturer       = 
 | designer           = 
 | class              = 
 | cost               = 
<!-- TECHNICAL SPECIFICATIONS -->
 | length             = 
 | width              = 
 | height             = 
 | max speed          = 
 | engine             = 
 | fuel               = 
 | hdsystem           = 
 | poweroutput        = 
 | power              = 
 | shield gen         = 
 | hull               = 
 | sensor             = 
 | target             = 
 | control            = 
 | navigation         = 
 | avionics           = 
 | countermeasures    = 
 | armament           = 
 | complement         = 
 | crew               = 
 | skeleton           = 
 | passengers         = 
 | capacity           = 
 | othersystems       = 
<!-- USAGE -->
 | role               = 
 | address            = 
 | point of origin    = 
 | firstuse           = 
 | affiliation        = 
<!-- OUT OF STARGATE UNIVERSE INFORMATION -->
 | mention            = 
 | appearance         = 
}}

See also