Template:Infobox Spaceship: Difference between revisions

From Semantic Stargate Wiki
mNo edit summary
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 21: Line 21:
         }}<!--  
         }}<!--  
     -->}}<!--  
     -->}}<!--  
  -->}}</div>{{Infobox/startbox}}
  -->}}</div>{{Infobox
{{Infobox/title
| name            = Infobox Spaceship
  | [[Name::{{#if: {{{rtitle|}}} | {{{rtitle}}} | {{#if: {{{title|{{PAGENAME}}}}} | ''{{{title}}}'' | ''{{PAGENAME}}'' }} }}]]
  | above          = {{#if: {{{rtitle|}}} | {{{rtitle}}} | {{#if: {{{title|{{PAGENAME}}}}} | ''{{{title}}}'' | ''{{PAGENAME}}'' }} }}
  | | header science-fiction
 
}}
  | subheaderstyle  = background-color: #7373CE;
{{Infobox/optional subtitle<!-- semantic data -->
| subheader      = {{#if: {{{alternate timeline|}}} | This spaceship is part of an [[Spaceship part of::alternate timeline]] }}
| This spaceship is part of an [[Spaceship part of::Alternate timeline]]
  | subheaderstyle2 = background-color: #7373CE;
  | {{{alternate timeline|}}}
| subheader2      = {{#if: {{{alternate reality|}}} | This spaceship is part of an [[Spaceship part of::alternate reality]] }}
| 7373CE
  | subheaderstyle3 = background-color: #7373CE;
| FFFFFF
  | subheader3      = {{#if: {{{hallucination|}}} | This spaceship is part of an [[Spaceship part of::hallucination]] }}
}}
 
{{Infobox/optional subtitle<!-- semantic data -->
  | headerstyle    = background-color: #E1E1E1;
| This spaceship is part of an [[Spaceship 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|}}}
  | 7373CE
 
  | FFFFFF
| header1        = {{#if: {{{manufacturer|}}}{{{designer|}}}{{{class|}}}{{{cost|}}} | Production information }}
}}
 
{{Infobox/optional subtitle<!-- semantic data -->
  | label2          = {{#if: {{#pos:{{{manufacturer|}}}| <br }} | Manufacturers | Manufacturer }}
| This spaceship is part of an [[Spaceship part of::hallucination]]
  | data2          = {{{manufacturer|}}}
  | {{{hallucination|}}}
 
  | 7373CE
| label3          = {{#if: {{#pos:{{{designer|}}}| <br }} | Designers | Designer }}
| FFFFFF
| data3          = {{{designer|}}}
}}
 
{{Infobox/image
  | label4          = Class
| {{{image|}}}
  | data4          = {{{class|}}}
| {{{legend|}}}
 
| 280
  | label5          = Cost
| Image of the spaceship
| data5          = {{{cost|}}}
}}
 
{{Infobox/optional subtitle
| 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 }}
| Production informations
 
| {{{manufacturer|}}}{{{designer|}}}{{{class|}}}{{{cost|}}}
  | label11        = Length
  | {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}
| data11          = {{{length|}}}
}}
 
{{Infobox/optional dual line
| label12        = Width
| Manufacturer
| data12          = {{{width|}}}
| {{{manufacturer|}}}
 
| {{{manufacturer}}}
| label13        = Height
}}
| data13          = {{{height|}}}
{{Infobox/optional dual line
 
| Designer
  | label14        = Maximum speed
  | {{{designer|}}}
  | data14          = {{{max speed|}}}
  | {{{designer}}}
 
}}
  | label15        = {{#if: {{#pos:{{{engine|}}}| <br }} | Engines | Engine }}
{{Infobox/optional dual line
  | data15          = {{{engine|}}}
| Class
 
| {{{class|}}}
  | label16        = {{#if: {{#pos:{{{fuel|}}}| <br }} | Fuels | Fuel }}
| {{{class}}}
  | data16          = {{{fuel|}}}
}}
 
{{Infobox/optional dual line
  | label17        = Hyperdrive {{#if: {{#pos:{{{hdsystem|}}}| <br }} | systems | system }}
  | Cost
  | data17          = {{{hdsystem|}}}
  | {{{cost|}}}
 
  | {{{cost}}}
| label18        = Power output
}}
  | data18          = {{{poweroutput|}}}
{{Infobox/optional subtitle
 
| Technical specifications
  | label19        = Power plant
| {{{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|}}}
  | data19          = {{{power|}}}
  | {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}
 
}}
  | label20        = Shielding
{{Infobox/optional dual line
| data20          = {{{shield gen|}}}
  | Length
 
  | {{{length|}}}
  | label21        = Hull
  | {{{length}}}
  | data21          = {{{hull|}}}
}}
 
{{Infobox/optional dual line
  | label22        = {{#if: {{#pos:{{{sensor|}}}| <br }} | Sensors systems | Sensor system }}
| Width
  | data22          = {{{sensor|}}}
  | {{{width|}}}
 
  | {{{width}}}
  | label23        = {{#if: {{#pos:{{{target|}}}| <br }} | Targeting systems | Targeting system }}
}}
  | data23          = {{{target|}}}
{{Infobox/optional dual line
 
| Height/depth
  | label24        = {{#if: {{#pos:{{{control|}}}| <br }} | Control systems | Control system }}
  | {{{height|}}}
  | data24          = {{{control|}}}
  | {{{height}}}
 
}}
  | label25        = {{#if: {{#pos:{{{navigation|}}}| <br }} | Navigation systems | Navigation system }}
{{Infobox/optional dual line
  | data25          = {{{navigation|}}}
| Maximum speed
 
  | {{{max speed|}}}
  | label26        = Avionics
  | {{{max speed}}}
| data26          = {{{avionics|}}}
}}
 
{{Infobox/optional dual line
  | label27        = Countermeasures
  | Engine unit(s)
  | data27          = {{{countermeasures|}}}
  | {{{engine|}}}
 
  | {{{engine}}}
| label28        = Armament
}}
  | data28          = {{{armament|}}}
{{Infobox/optional dual line
 
  | Engine unit(s)
  | label29        = Complement
  | {{{engine|}}}
  | data29          = {{{complement|}}}
  | {{{engine}}}
 
}}
| label30        = Crew
{{Infobox/optional dual line
  | data30          = {{{crew|}}}
| Fuel
 
  | {{{fuel|}}}
  | label31        = Skeleton
  | {{{fuel}}}
  | data31          = {{{skeleton|}}}
}}
 
{{Infobox/optional dual line
| label32        = Passengers
| Hyperdrive system
  | data32          = {{{passengers|}}}
  | {{{hdsystem|}}}
 
  | {{{hdsystem}}}
  | label33        = Cargo capacity
}}
  | data33          = {{{capacity|}}}
{{Infobox/optional dual line
 
| Power output
  | label34        = {{#if: {{#pos:{{{othersystems|}}}| <br }} | Other systems | Other system }}
| {{{poweroutput|}}}
  | data34          = {{{othersystems|}}}
| {{{poweroutput}}}
 
}}
  | header40        = {{#if: {{{role|}}}{{{address|}}}{{{point of origin|}}}{{{firstuse|}}}{{{affiliation|}}} | Usage }}
{{Infobox/optional dual line
 
| Power plant
  | label41        = {{#if: {{#pos:{{{role|}}}| <br }} | Roles | Role }}
  | {{{power|}}}
  | data41          = {{{role|}}}
  | {{{power}}}
 
}}
  | label42        = Stargate {{#if: {{#pos:{{{address|}}}| <br }} | addresses | address }}
{{Infobox/optional dual line
  | data42          = {{{address|}}}
| Shielding
 
  | {{{shield gen|}}}
| label43        = Point of origin
  | {{{shield gen}}}
  | data43          = {{{point of origin|}}}
}}
 
{{Infobox/optional dual line
  | label44        = Year introduced
  | Hull
  | data44          = {{{firstuse|}}}
  | {{{hull|}}}
 
  | {{{hull}}}
  | label45        = Affiliation
}}
| data45          = {{{affiliation|}}}
{{Infobox/optional dual line
 
  | Sensor systems
| header50        = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the ''Stargate'' universe}}
  | {{{sensor|}}}
 
  | {{{sensor}}}
  | label51        = First mention
}}
  | data51          = {{{mention|}}}
{{Infobox/optional dual line
 
  | Targeting systems
| label52        = First appearance
  | {{{target|}}}
  | data52          = {{{appearance|}}}
  | {{{target}}}
 
}}
}}<!--
{{Infobox/optional dual line
 
  | Control systems
Retrieving the "name" property from the infobox
  | {{{control|}}}
 
  | {{{control}}}
  -->{{#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
| Navigation system
 
  | {{{navigation|}}}
-->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!--
  | {{{navigation}}}
 
}}
Defining the canonicity of the spaceship
{{Infobox/optional dual line
 
| Avionics
  -->{{#set: Canon spaceship = {{#if:{{{separate|}}}|no|yes}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
| {{{avionics|}}}
| {{{avionics}}}
}}
{{Infobox/optional dual line
| Countermeasures
| {{{countermeasures|}}}
  | {{{countermeasures}}}
}}
{{Infobox/optional dual line
| Armament
  | {{{armament|}}}
  | {{{armament}}}
}}
{{Infobox/optional dual line
| Complement
  | {{{complement|}}}
  | {{{complement}}}
}}
{{Infobox/optional dual line
  | Crew
  | {{{crew|}}}
  | {{{crew}}}
}}
{{Infobox/optional dual line
| 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 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