Jump to content

Template:Infobox Spaceship: Difference between revisions

From Semantic Stargate Wiki
Content deleted Content added
No edit summary
mNo edit summary
 
(5 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 75: Line 75:
| label18 = Power output
| label18 = Power output
| data18 = {{{poweroutput|}}}
| data18 = {{{poweroutput|}}}

}}
| label19 = Power plant
{{Infobox/startbox}}
| 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|}}}
| Power plant

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

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

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

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

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

| {{{sensor|}}}
| label27 = Countermeasures
| {{{sensor}}}
| data27 = {{{countermeasures|}}}
}}

{{Infobox/optional dual line
| label28 = Armament
| Targeting systems
| {{{target|}}}
| data28 = {{{armament|}}}

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

| Control systems
| label30 = Crew
| {{{control|}}}
| {{{control}}}
| data30 = {{{crew|}}}

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

| {{{navigation|}}}
| label32 = Passengers
| {{{navigation}}}
| data32 = {{{passengers|}}}
}}

{{Infobox/optional dual line
| label33 = Cargo capacity
| Avionics
| {{{avionics|}}}
| data33 = {{{capacity|}}}

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

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

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

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

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

| {{{complement|}}}
| label44 = Year introduced
| {{{complement}}}
| data44 = {{{firstuse|}}}
}}

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

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

{{Infobox/optional dual line
| label51 = First mention
| Minimum crew
| {{{skeleton|}}}
| data51 = {{{mention|}}}

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

| Passengers
}}<!--
| {{{passengers|}}}

| {{{passengers}}}
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}}'' }} }} }}<!--
| Cargo capacity

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

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

| Other systems
Defining the canonicity of the spaceship
| {{{othersystems|}}}

| {{{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 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