Jump to content

Template:Infobox Spaceship: Difference between revisions

From Semantic Stargate Wiki
Content deleted Content added
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|}}}

}}
| 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/startbox}}

{{Infobox/optional subtitle
| label11 = Length
| Technical specifications
| data11 = {{{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|}}}

| {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}
| label12 = Width
}}
| data12 = {{{width|}}}
{{Infobox/optional dual line

| Length
| label13 = Height
| {{{length|}}}
| {{{length}}}
| data13 = {{{height|}}}

}}
| label14 = Maximum speed
{{Infobox/optional dual line
| data14 = {{{max speed|}}}
| Width

| {{{width|}}}
| label15 = {{#if: {{#pos:{{{engine|}}}| <br }} | Engines | Engine }}
| {{{width}}}
| data15 = {{{engine|}}}
}}

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

| {{{height}}}
| label17 = Hyperdrive {{#if: {{#pos:{{{hdsystem|}}}| <br }} | systems | system }}
}}
| data17 = {{{hdsystem|}}}
{{Infobox/optional dual line

| Maximum speed
| label18 = Power output
| {{{max speed|}}}
| {{{max speed}}}
| data18 = {{{poweroutput|}}}

}}
| label19 = Power plant
{{Infobox/optional dual line
| data19 = {{{power|}}}
| Engine unit(s)

| {{{engine|}}}
| label20 = Shielding
| {{{engine}}}
| data20 = {{{shield gen|}}}
}}

{{Infobox/optional dual line
| label21 = Hull
| Engine unit(s)
| {{{engine|}}}
| data21 = {{{hull|}}}

| {{{engine}}}
| label22 = {{#if: {{#pos:{{{sensor|}}}| <br }} | Sensors systems | Sensor system }}
}}
| data22 = {{{sensor|}}}
{{Infobox/optional dual line

| Fuel
| label23 = {{#if: {{#pos:{{{target|}}}| <br }} | Targeting systems | Targeting system }}
| {{{fuel|}}}
| {{{fuel}}}
| data23 = {{{target|}}}

}}
| label24 = {{#if: {{#pos:{{{control|}}}| <br }} | Control systems | Control system }}
{{Infobox/optional dual line
| data24 = {{{control|}}}
| Hyperdrive system

| {{{hdsystem|}}}
| label25 = {{#if: {{#pos:{{{navigation|}}}| <br }} | Navigation systems | Navigation system }}
| {{{hdsystem}}}
| data25 = {{{navigation|}}}
}}

{{Infobox/optional dual line
| label26 = Avionics
| Power output
| {{{poweroutput|}}}
| data26 = {{{avionics|}}}

| {{{poweroutput}}}
| label27 = Countermeasures
}}
| data27 = {{{countermeasures|}}}
{{Infobox/optional dual line

| Power plant
| label28 = Armament
| {{{power|}}}
| {{{power}}}
| data28 = {{{armament|}}}

}}
| label29 = Complement
{{Infobox/optional dual line
| data29 = {{{complement|}}}
| Shielding

| {{{shield gen|}}}
| label30 = Crew
| {{{shield gen}}}
| data30 = {{{crew|}}}
}}

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

| {{{hull}}}
| label32 = Passengers
}}
| data32 = {{{passengers|}}}
{{Infobox/optional dual line

| Sensor systems
| label33 = Cargo capacity
| {{{sensor|}}}
| {{{sensor}}}
| data33 = {{{capacity|}}}

}}
| label34 = {{#if: {{#pos:{{{othersystems|}}}| <br }} | Other systems | Other system }}
{{Infobox/optional dual line
| data34 = {{{othersystems|}}}
| Targeting systems

| {{{target|}}}
| header40 = {{#if: {{{role|}}}{{{address|}}}{{{point of origin|}}}{{{firstuse|}}}{{{affiliation|}}} | Usage }}
| {{{target}}}

}}
| label41 = {{#if: {{#pos:{{{role|}}}| <br }} | Roles | Role }}
{{Infobox/optional dual line
| data41 = {{{role|}}}
| Control systems

| {{{control|}}}
| label42 = Stargate {{#if: {{#pos:{{{address|}}}| <br }} | addresses | address }}
| {{{control}}}
| data42 = {{{address|}}}
}}

{{Infobox/optional dual line
| label43 = Point of origin
| Navigation system
| {{{navigation|}}}
| data43 = {{{point of origin|}}}

| {{{navigation}}}
| label44 = Year introduced
}}
| data44 = {{{firstuse|}}}
{{Infobox/optional dual line

| Avionics
| label45 = Affiliation
| {{{avionics|}}}
| {{{avionics}}}
| data45 = {{{affiliation|}}}

}}
| header50 = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the ''Stargate'' universe}}
{{Infobox/optional dual line

| Countermeasures
| label51 = First mention
| {{{countermeasures|}}}
| {{{countermeasures}}}
| data51 = {{{mention|}}}

}}
| label52 = First appearance
{{Infobox/optional dual line
| data52 = {{{appearance|}}}
| Armament

| {{{armament|}}}
}}<!--
| {{{armament}}}

}}
Retrieving the "name" property from the infobox
{{Infobox/optional dual line

| Complement
-->{{#if: {{{rtitle|}}} | {{#set: name = {{{rtitle}}} }} | {{#if: {{{title|{{PAGENAME}}}}} | {{#set: name = ''{{{title}}}'' }} | {{#set: name = ''{{PAGENAME}}'' }} }} }}<!--
| {{{complement|}}}

| {{{complement}}}
Retrieving the "infobox image" from the template
}}

{{Infobox/optional dual line
-->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!--
| Crew

| {{{crew|}}}
Defining the canonicity of the spaceship
| {{{crew}}}

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