Template:Infobox Spaceship: Difference between revisions

From Semantic Stargate Wiki
No edit summary
mNo edit summary
 
(6 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 50: Line 50:
  | data5          = {{{cost|}}}
  | data5          = {{{cost|}}}


  | header10        = {{{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 }}
  | 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 }}


  | label11        = Length
  | label11        = Length
Line 75: Line 75:
  | label18        = Power output
  | label18        = Power output
  | data18          = {{{poweroutput|}}}
  | data18          = {{{poweroutput|}}}
}}
 
{{Infobox/startbox}}
| label19        = Power plant
{{Infobox/optional subtitle
| data19          = {{{power|}}}
  | 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|}}}
  | label20        = Shielding
  | {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}
  | data20          = {{{shield gen|}}}
}}
 
{{Infobox/optional dual line
| label21        = Hull
| Power plant
| data21          = {{{hull|}}}
  | {{{power|}}}
 
  | {{{power}}}
| label22        = {{#if: {{#pos:{{{sensor|}}}| <br }} | Sensors systems | Sensor system }}
}}
| data22          = {{{sensor|}}}
{{Infobox/optional dual line
 
  | Shielding
| label23        = {{#if: {{#pos:{{{target|}}}| <br }} | Targeting systems | Targeting system }}
  | {{{shield gen|}}}
| data23          = {{{target|}}}
  | {{{shield gen}}}
 
}}
| label24        = {{#if: {{#pos:{{{control|}}}| <br }} | Control systems | Control system }}
{{Infobox/optional dual line
| data24          = {{{control|}}}
  | Hull
 
  | {{{hull|}}}
  | label25        = {{#if: {{#pos:{{{navigation|}}}| <br }} | Navigation systems | Navigation system }}
  | {{{hull}}}
  | data25          = {{{navigation|}}}
}}
 
{{Infobox/optional dual line
  | label26        = Avionics
  | Sensor systems
| data26          = {{{avionics|}}}
  | {{{sensor|}}}
 
  | {{{sensor}}}
  | label27        = Countermeasures
}}
  | data27          = {{{countermeasures|}}}
{{Infobox/optional dual line
 
  | Targeting systems
  | label28        = Armament
  | {{{target|}}}
| data28          = {{{armament|}}}
  | {{{target}}}
 
}}
  | label29        = Complement
{{Infobox/optional dual line
  | data29          = {{{complement|}}}
| Control systems
 
  | {{{control|}}}
| label30        = Crew
  | {{{control}}}
  | data30          = {{{crew|}}}
}}
 
{{Infobox/optional dual line
  | label31        = Skeleton
| Navigation system
  | data31          = {{{skeleton|}}}
| {{{navigation|}}}
 
| {{{navigation}}}
| label32        = Passengers
}}
  | data32          = {{{passengers|}}}
{{Infobox/optional dual line
 
| Avionics
  | label33        = Cargo capacity
| {{{avionics|}}}
  | data33          = {{{capacity|}}}
| {{{avionics}}}
 
}}
  | label34        = {{#if: {{#pos:{{{othersystems|}}}| <br }} | Other systems | Other system }}
{{Infobox/optional dual line
  | data34          = {{{othersystems|}}}
| Countermeasures
 
  | {{{countermeasures|}}}
  | header40        = {{#if: {{{role|}}}{{{address|}}}{{{point of origin|}}}{{{firstuse|}}}{{{affiliation|}}} | Usage }}
| {{{countermeasures}}}
 
}}
  | label41        = {{#if: {{#pos:{{{role|}}}| <br }} | Roles | Role }}
{{Infobox/optional dual line
  | data41          = {{{role|}}}
| Armament
 
  | {{{armament|}}}
  | label42        = Stargate {{#if: {{#pos:{{{address|}}}| <br }} | addresses | address }}
  | {{{armament}}}
  | data42          = {{{address|}}}
}}
 
{{Infobox/optional dual line
  | label43        = Point of origin
| Complement
  | data43          = {{{point of origin|}}}
| {{{complement|}}}
 
  | {{{complement}}}
  | label44        = Year introduced
}}
| data44          = {{{firstuse|}}}
{{Infobox/optional dual line
 
  | Crew
  | label45        = Affiliation
  | {{{crew|}}}
  | data45          = {{{affiliation|}}}
  | {{{crew}}}
 
}}
  | header50        = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the ''Stargate'' universe}}
{{Infobox/optional dual line
 
  | Minimum crew
  | label51        = First mention
  | {{{skeleton|}}}
  | data51          = {{{mention|}}}
  | {{{skeleton}}}
 
}}
  | label52        = First appearance
{{Infobox/optional dual line
  | data52          = {{{appearance|}}}
| Passengers
 
| {{{passengers|}}}
}}<!--
| {{{passengers}}}
 
}}
Retrieving the "name" property from the infobox
{{Infobox/optional dual line
 
  | Cargo capacity
  -->{{#if: {{{rtitle|}}} | {{#set: name = {{{rtitle}}} }} | {{#if: {{{title|{{PAGENAME}}}}} | {{#set: name = ''{{{title}}}'' }} | {{#set: name = ''{{PAGENAME}}'' }} }} }}<!--
  | {{{capacity|}}}
 
| {{{capacity}}}
Retrieving the "infobox image" from the template
}}
 
{{Infobox/optional dual line
  -->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!--
  | Other systems
 
  | {{{othersystems|}}}
Defining the canonicity of the spaceship
| {{{othersystems}}}
 
}}
  -->{{#set: Canon spaceship = {{#if:{{{separate|}}}|no|yes}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
{{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 03: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