Template:Infobox Spaceship: Difference between revisions

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