Jump to content

Template:Infobox Spaceship: Difference between revisions

From Semantic Stargate Wiki
Content deleted Content added
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}}
| subheaderstyle = background-color: #7373CE;
{{Infobox/title
| subheader = {{#if: {{{alternate timeline|}}} | This spaceship is part of an [[Spaceship part of::alternate timeline]] }}
| [[Name::{{#if: {{{rtitle|}}} | {{{rtitle}}} | {{#if: {{{title|{{PAGENAME}}}}} | ''{{{title}}}'' | ''{{PAGENAME}}'' }} }}]]
| subheaderstyle2 = background-color: #7373CE;
| | header science-fiction
| subheader2 = {{#if: {{{alternate reality|}}} | This spaceship is part of an [[Spaceship part of::alternate reality]] }}
}}
| subheaderstyle3 = background-color: #7373CE;
{{Infobox/optional subtitle<!-- semantic data -->
| 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|}}}
| headerstyle = background-color: #E1E1E1;
| 7373CE
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} }}|size={{#if: {{{image size|330}}} | {{{image size|330}}}px | 330px }}|sizedefault=frameless|alt={{{alt|}}}}}
| FFFFFF
| caption = {{{caption|}}}
}}

{{Infobox/optional subtitle<!-- semantic data -->
| header1 = {{#if: {{{manufacturer|}}}{{{designer|}}}{{{class|}}}{{{cost|}}} | Production information }}
| This spaceship is part of an [[Spaceship part of::Alternate reality]]

| {{{alternate reality|}}}
| label2 = {{#if: {{#pos:{{{manufacturer|}}}| <br }} | Manufacturers | Manufacturer }}
| 7373CE
| data2 = {{{manufacturer|}}}
| FFFFFF

}}
| label3 = {{#if: {{#pos:{{{designer|}}}| <br }} | Designers | Designer }}
{{Infobox/optional subtitle<!-- semantic data -->
| data3 = {{{designer|}}}
| This spaceship is part of an [[Spaceship part of::hallucination]]

| {{{hallucination|}}}
| label4 = Class
| 7373CE
| data4 = {{{class|}}}
| FFFFFF

}}
| label5 = Cost
{{Infobox/image
| {{{image|}}}
| data5 = {{{cost|}}}

| {{{legend|}}}
| 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 }}
| 280

| Image of the spaceship
| label11 = Length
}}
| data11 = {{{length|}}}
{{Infobox/optional subtitle

| Production informations
| label12 = Width
| {{{manufacturer|}}}{{{designer|}}}{{{class|}}}{{{cost|}}}
| data12 = {{{width|}}}
| {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}

}}
| label13 = Height
{{Infobox/optional dual line
| data13 = {{{height|}}}
| Manufacturer

| {{{manufacturer|}}}
| label14 = Maximum speed
| {{{manufacturer}}}
| data14 = {{{max speed|}}}
}}

{{Infobox/optional dual line
| label15 = {{#if: {{#pos:{{{engine|}}}| <br }} | Engines | Engine }}
| Designer
| {{{designer|}}}
| data15 = {{{engine|}}}

| {{{designer}}}
| label16 = {{#if: {{#pos:{{{fuel|}}}| <br }} | Fuels | Fuel }}
}}
| data16 = {{{fuel|}}}
{{Infobox/optional dual line

| Class
| label17 = Hyperdrive {{#if: {{#pos:{{{hdsystem|}}}| <br }} | systems | system }}
| {{{class|}}}
| {{{class}}}
| data17 = {{{hdsystem|}}}

}}
| label18 = Power output
{{Infobox/optional dual line
| data18 = {{{poweroutput|}}}
| Cost

| {{{cost|}}}
| label19 = Power plant
| {{{cost}}}
| data19 = {{{power|}}}
}}

{{Infobox/optional subtitle
| label20 = Shielding
| Technical specifications
| data20 = {{{shield gen|}}}
| {{{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|}}}

| {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}
| label21 = Hull
}}
| data21 = {{{hull|}}}
{{Infobox/optional dual line

| Length
| label22 = {{#if: {{#pos:{{{sensor|}}}| <br }} | Sensors systems | Sensor system }}
| {{{length|}}}
| {{{length}}}
| data22 = {{{sensor|}}}

}}
| label23 = {{#if: {{#pos:{{{target|}}}| <br }} | Targeting systems | Targeting system }}
{{Infobox/optional dual line
| data23 = {{{target|}}}
| Width

| {{{width|}}}
| label24 = {{#if: {{#pos:{{{control|}}}| <br }} | Control systems | Control system }}
| {{{width}}}
| data24 = {{{control|}}}
}}

{{Infobox/optional dual line
| label25 = {{#if: {{#pos:{{{navigation|}}}| <br }} | Navigation systems | Navigation system }}
| Height/depth
| {{{height|}}}
| data25 = {{{navigation|}}}

| {{{height}}}
| label26 = Avionics
}}
| data26 = {{{avionics|}}}
{{Infobox/optional dual line

| Maximum speed
| label27 = Countermeasures
| {{{max speed|}}}
| {{{max speed}}}
| data27 = {{{countermeasures|}}}

}}
| label28 = Armament
{{Infobox/optional dual line
| data28 = {{{armament|}}}
| Engine unit(s)

| {{{engine|}}}
| label29 = Complement
| {{{engine}}}
| data29 = {{{complement|}}}
}}

{{Infobox/optional dual line
| label30 = Crew
| Engine unit(s)
| {{{engine|}}}
| data30 = {{{crew|}}}

| {{{engine}}}
| label31 = Skeleton
}}
| data31 = {{{skeleton|}}}
{{Infobox/optional dual line

| Fuel
| label32 = Passengers
| {{{fuel|}}}
| {{{fuel}}}
| data32 = {{{passengers|}}}

}}
| label33 = Cargo capacity
{{Infobox/optional dual line
| data33 = {{{capacity|}}}
| Hyperdrive system

| {{{hdsystem|}}}
| label34 = {{#if: {{#pos:{{{othersystems|}}}| <br }} | Other systems | Other system }}
| {{{hdsystem}}}
| data34 = {{{othersystems|}}}
}}

{{Infobox/optional dual line
| header40 = {{#if: {{{role|}}}{{{address|}}}{{{point of origin|}}}{{{firstuse|}}}{{{affiliation|}}} | Usage }}
| Power output

| {{{poweroutput|}}}
| label41 = {{#if: {{#pos:{{{role|}}}| <br }} | Roles | Role }}
| {{{poweroutput}}}
| data41 = {{{role|}}}
}}

{{Infobox/optional dual line
| label42 = Stargate {{#if: {{#pos:{{{address|}}}| <br }} | addresses | address }}
| Power plant
| {{{power|}}}
| data42 = {{{address|}}}

| {{{power}}}
| label43 = Point of origin
}}
| data43 = {{{point of origin|}}}
{{Infobox/optional dual line

| Shielding
| label44 = Year introduced
| {{{shield gen|}}}
| {{{shield gen}}}
| data44 = {{{firstuse|}}}

}}
| label45 = Affiliation
{{Infobox/optional dual line
| data45 = {{{affiliation|}}}
| Hull

| {{{hull|}}}
| header50 = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the ''Stargate'' universe}}
| {{{hull}}}

}}
| label51 = First mention
{{Infobox/optional dual line
| data51 = {{{mention|}}}
| Sensor systems

| {{{sensor|}}}
| label52 = First appearance
| {{{sensor}}}
| data52 = {{{appearance|}}}
}}

{{Infobox/optional dual line
}}<!--
| Targeting systems

| {{{target|}}}
Retrieving the "name" property from the infobox
| {{{target}}}

}}
-->{{#if: {{{rtitle|}}} | {{#set: name = {{{rtitle}}} }} | {{#if: {{{title|{{PAGENAME}}}}} | {{#set: name = ''{{{title}}}'' }} | {{#set: name = ''{{PAGENAME}}'' }} }} }}<!--
{{Infobox/optional dual line

| Control systems
Retrieving the "infobox image" from the template
| {{{control|}}}

| {{{control}}}
-->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!--
}}

{{Infobox/optional dual line
Defining the canonicity of the spaceship
| Navigation system

| {{{navigation|}}}
-->{{#set: Canon spaceship = {{#if:{{{separate|}}}|no|yes}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
| {{{navigation}}}
}}
{{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 08: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