Template:Infobox Spaceship: Difference between revisions

From Semantic Stargate Wiki
No edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 33: Line 33:


  | headerstyle    = background-color: #E1E1E1;
  | headerstyle    = background-color: #E1E1E1;
  | image          = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} }}|size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}}
  | image          = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} }}|size={{#if: {{{image size|330}}} | {{{image size|330}}}px | 330px }}|sizedefault=frameless|alt={{{alt|}}}}}
  | caption        = {{{caption|}}}
  | caption        = {{{caption|}}}


Line 49: Line 49:
  | label5          = Cost
  | label5          = Cost
  | data5          = {{{cost|}}}
  | data5          = {{{cost|}}}
}}
 
{{Infobox/startbox}}
| header10        = {{#if: {{{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|}}} | Technical specifications }}
{{Infobox/optional subtitle
 
| Technical specifications
  | label11        = Length
| {{{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|}}}
  | data11          = {{{length|}}}
| {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}
 
}}
  | label12        = Width
{{Infobox/optional dual line
  | data12          = {{{width|}}}
  | Length
 
  | {{{length|}}}
  | label13        = Height
| {{{length}}}
  | data13          = {{{height|}}}
}}
 
{{Infobox/optional dual line
  | label14        = Maximum speed
  | Width
  | data14          = {{{max speed|}}}
  | {{{width|}}}
 
| {{{width}}}
  | label15        = {{#if: {{#pos:{{{engine|}}}| <br }} | Engines | Engine }}
}}
  | data15          = {{{engine|}}}
{{Infobox/optional dual line
 
  | Height/depth
  | label16        = {{#if: {{#pos:{{{fuel|}}}| <br }} | Fuels | Fuel }}
  | {{{height|}}}
  | data16          = {{{fuel|}}}
| {{{height}}}
 
}}
  | label17        = Hyperdrive {{#if: {{#pos:{{{hdsystem|}}}| <br }} | systems | system }}
{{Infobox/optional dual line
  | data17          = {{{hdsystem|}}}
  | Maximum speed
 
  | {{{max speed|}}}
  | label18        = Power output
  | {{{max speed}}}
  | data18          = {{{poweroutput|}}}
}}
 
{{Infobox/optional dual line
  | label19        = Power plant
| Engine unit(s)
  | data19          = {{{power|}}}
| {{{engine|}}}
 
| {{{engine}}}
  | label20        = Shielding
}}
  | data20          = {{{shield gen|}}}
{{Infobox/optional dual line
 
| Engine unit(s)
  | label21        = Hull
  | {{{engine|}}}
  | data21          = {{{hull|}}}
  | {{{engine}}}
 
}}
  | label22        = {{#if: {{#pos:{{{sensor|}}}| <br }} | Sensors systems | Sensor system }}
{{Infobox/optional dual line
  | data22          = {{{sensor|}}}
| Fuel
 
  | {{{fuel|}}}
  | label23        = {{#if: {{#pos:{{{target|}}}| <br }} | Targeting systems | Targeting system }}
  | {{{fuel}}}
  | data23          = {{{target|}}}
}}
 
{{Infobox/optional dual line
  | label24        = {{#if: {{#pos:{{{control|}}}| <br }} | Control systems | Control system }}
| Hyperdrive system
  | data24          = {{{control|}}}
| {{{hdsystem|}}}
 
  | {{{hdsystem}}}
  | label25        = {{#if: {{#pos:{{{navigation|}}}| <br }} | Navigation systems | Navigation system }}
}}
  | data25          = {{{navigation|}}}
{{Infobox/optional dual line
 
  | Power output
  | label26        = Avionics
  | {{{poweroutput|}}}
  | data26          = {{{avionics|}}}
| {{{poweroutput}}}
 
}}
  | label27        = Countermeasures
{{Infobox/optional dual line
  | data27          = {{{countermeasures|}}}
  | Power plant
 
  | {{{power|}}}
  | label28        = Armament
| {{{power}}}
  | data28          = {{{armament|}}}
}}
 
{{Infobox/optional dual line
  | label29        = Complement
  | Shielding
  | data29          = {{{complement|}}}
  | {{{shield gen|}}}
 
| {{{shield gen}}}
  | label30        = Crew
}}
  | data30          = {{{crew|}}}
{{Infobox/optional dual line
 
  | Hull
  | label31        = Skeleton
  | {{{hull|}}}
  | data31          = {{{skeleton|}}}
  | {{{hull}}}
 
}}
  | label32        = Passengers
{{Infobox/optional dual line
  | data32          = {{{passengers|}}}
| Sensor systems
 
  | {{{sensor|}}}
  | label33        = Cargo capacity
  | {{{sensor}}}
  | data33          = {{{capacity|}}}
}}
 
{{Infobox/optional dual line
  | label34        = {{#if: {{#pos:{{{othersystems|}}}| <br }} | Other systems | Other system }}
| Targeting systems
  | data34          = {{{othersystems|}}}
  | {{{target|}}}
 
  | {{{target}}}
| header40        = {{#if: {{{role|}}}{{{address|}}}{{{point of origin|}}}{{{firstuse|}}}{{{affiliation|}}} | Usage }}
}}
 
{{Infobox/optional dual line
  | label41        = {{#if: {{#pos:{{{role|}}}| <br }} | Roles | Role }}
| Control systems
| data41          = {{{role|}}}
  | {{{control|}}}
 
  | {{{control}}}
| label42        = Stargate {{#if: {{#pos:{{{address|}}}| <br }} | addresses | address }}
}}
| data42          = {{{address|}}}
{{Infobox/optional dual line
 
| Navigation system
  | label43        = Point of origin
| {{{navigation|}}}
  | data43          = {{{point of origin|}}}
  | {{{navigation}}}
 
}}
| label44        = Year introduced
{{Infobox/optional dual line
  | data44          = {{{firstuse|}}}
  | Avionics
 
  | {{{avionics|}}}
  | label45        = Affiliation
| {{{avionics}}}
  | data45          = {{{affiliation|}}}
}}
 
{{Infobox/optional dual line
  | header50        = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the ''Stargate'' universe}}
  | Countermeasures
 
  | {{{countermeasures|}}}
  | label51        = First mention
| {{{countermeasures}}}
  | data51          = {{{mention|}}}
}}
 
{{Infobox/optional dual line
| label52        = First appearance
  | Armament
  | data52          = {{{appearance|}}}
  | {{{armament|}}}
 
| {{{armament}}}
}}<!--
}}
 
{{Infobox/optional dual line
Retrieving the "name" property from the infobox
  | Complement
 
  | {{{complement|}}}
  -->{{#if: {{{rtitle|}}} | {{#set: name = {{{rtitle}}} }} | {{#if: {{{title|{{PAGENAME}}}}} | {{#set: name = ''{{{title}}}'' }} | {{#set: name = ''{{PAGENAME}}'' }} }} }}<!--
| {{{complement}}}
 
}}
Retrieving the "infobox image" from the template
{{Infobox/optional dual line
 
  | Crew
-->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!--
  | {{{crew|}}}
 
| {{{crew}}}
Defining the canonicity of the spaceship
}}
 
{{Infobox/optional dual line
-->{{#set: Canon spaceship = {{#if:{{{separate|}}}|no|yes}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
  | Minimum crew
  | {{{skeleton|}}}
| {{{skeleton}}}
}}
{{Infobox/optional dual line
  | Passengers
  | {{{passengers|}}}
| {{{passengers}}}
}}
{{Infobox/optional dual line
  | Cargo capacity
  | {{{capacity|}}}
  | {{{capacity}}}
}}
{{Infobox/optional dual line
| Other systems
| {{{othersystems|}}}
  | {{{othersystems}}}
}}
{{Infobox/optional subtitle
| Usage
| {{{role|}}}{{{address|}}}{{{point of origin|}}}{{{firstuse|}}}{{{affiliation|}}}
  | {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}
}}
{{Infobox/optional dual line
  | Role(s)
  | {{{role|}}}
  | {{{role}}}
}}
{{Infobox/optional dual line
  | Address
  | {{{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>

Latest revision as of 02:35, 24 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