Template:Infobox Spaceship: Difference between revisions
(Created page with "<includeonly><div display="none">{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}<!-- -->{{#if: {{{nocat|}}} | |<!-- -->{{#ifeq: {{{spoiler|}}} | true |...") |
mNo edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
}}<!-- | }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}</div>{{Infobox | -->}}</div>{{Infobox | ||
| name = Infobox Spaceship | |||
| {{#if: {{{rtitle|}}} | {{{rtitle}}} | {{#if: {{{title|{{PAGENAME}}}}} | ''{{{title}}}'' | ''{{PAGENAME}}'' }} }} | | above = {{#if: {{{rtitle|}}} | {{{rtitle}}} | {{#if: {{{title|{{PAGENAME}}}}} | ''{{{title}}}'' | ''{{PAGENAME}}'' }} }} | ||
| | |||
| subheaderstyle = background-color: #7373CE; | |||
{{ | | subheader = {{#if: {{{alternate timeline|}}} | This spaceship is part of an [[Spaceship part of::alternate timeline]] }} | ||
| subheaderstyle2 = background-color: #7373CE; | |||
| subheader2 = {{#if: {{{alternate reality|}}} | This spaceship is part of an [[Spaceship part of::alternate reality]] }} | |||
| 7373CE | | subheaderstyle3 = background-color: #7373CE; | ||
| | | subheader3 = {{#if: {{{hallucination|}}} | This spaceship is part of an [[Spaceship part of::hallucination]] }} | ||
}} | |||
| headerstyle = background-color: #E1E1E1; | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} }}|size={{#if: {{{image size|330}}} | {{{image size|330}}}px | 330px }}|sizedefault=frameless|alt={{{alt|}}}}} | |||
| {{{ | | caption = {{{caption|}}} | ||
| header1 = {{#if: {{{manufacturer|}}}{{{designer|}}}{{{class|}}}{{{cost|}}} | Production information }} | |||
| label2 = {{#if: {{#pos:{{{manufacturer|}}}| <br }} | Manufacturers | Manufacturer }} | |||
| data2 = {{{manufacturer|}}} | |||
| | |||
| | | label3 = {{#if: {{#pos:{{{designer|}}}| <br }} | Designers | Designer }} | ||
| data3 = {{{designer|}}} | |||
{{ | | label4 = Class | ||
| data4 = {{{class|}}} | |||
| label5 = 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 }} | ||
| label11 = Length | |||
| {{# | | data11 = {{{length|}}} | ||
}} | |||
| label12 = Width | |||
| data12 = {{{width|}}} | |||
| {{{manufacturer|}}} | |||
| {{{manufacturer}}} | | label13 = Height | ||
| data13 = {{{height|}}} | |||
{{ | |||
| label14 = Maximum speed | |||
| data14 = {{{max speed|}}} | |||
| {{{designer}}} | |||
| label15 = {{#if: {{#pos:{{{engine|}}}| <br }} | Engines | Engine }} | |||
| data15 = {{{engine|}}} | |||
| {{{class|}}} | | label16 = {{#if: {{#pos:{{{fuel|}}}| <br }} | Fuels | Fuel }} | ||
| data16 = {{{fuel|}}} | |||
| label17 = Hyperdrive {{#if: {{#pos:{{{hdsystem|}}}| <br }} | systems | system }} | |||
| Cost | | data17 = {{{hdsystem|}}} | ||
| {{{cost|}}} | |||
| {{{ | | label18 = Power output | ||
| data18 = {{{poweroutput|}}} | |||
| label19 = Power plant | |||
| data19 = {{{power|}}} | |||
| {{ | |||
}} | | label20 = Shielding | ||
| data20 = {{{shield gen|}}} | |||
| | |||
| {{{ | | label21 = Hull | ||
| {{{ | | data21 = {{{hull|}}} | ||
}} | |||
| label22 = {{#if: {{#pos:{{{sensor|}}}| <br }} | Sensors systems | Sensor system }} | |||
| data22 = {{{sensor|}}} | |||
| {{{ | |||
| {{{ | | label23 = {{#if: {{#pos:{{{target|}}}| <br }} | Targeting systems | Targeting system }} | ||
}} | | data23 = {{{target|}}} | ||
| label24 = {{#if: {{#pos:{{{control|}}}| <br }} | Control systems | Control system }} | |||
| {{{ | | data24 = {{{control|}}} | ||
| {{ | |||
}} | | label25 = {{#if: {{#pos:{{{navigation|}}}| <br }} | Navigation systems | Navigation system }} | ||
| data25 = {{{navigation|}}} | |||
| {{{ | | label26 = Avionics | ||
| {{{ | | data26 = {{{avionics|}}} | ||
}} | |||
| label27 = Countermeasures | |||
| | | data27 = {{{countermeasures|}}} | ||
| {{{ | |||
| {{ | | label28 = Armament | ||
| data28 = {{{armament|}}} | |||
| | | label29 = Complement | ||
| {{{ | | data29 = {{{complement|}}} | ||
| {{{ | |||
}} | | label30 = Crew | ||
| data30 = {{{crew|}}} | |||
| {{{ | | label31 = Skeleton | ||
| {{{ | | data31 = {{{skeleton|}}} | ||
}} | |||
| label32 = Passengers | |||
| data32 = {{{passengers|}}} | |||
| {{{ | |||
| {{ | | label33 = Cargo capacity | ||
| data33 = {{{capacity|}}} | |||
{{ | |||
| label34 = {{#if: {{#pos:{{{othersystems|}}}| <br }} | Other systems | Other system }} | |||
| data34 = {{{othersystems|}}} | |||
} | | header40 = {{#if: {{{role|}}}{{{address|}}}{{{point of origin|}}}{{{firstuse|}}}{{{affiliation|}}} | Usage }} | ||
| label41 = {{#if: {{#pos:{{{role|}}}| <br }} | Roles | Role }} | |||
| {{{ | | data41 = {{{role|}}} | ||
| {{{ | |||
}} | | label42 = Stargate {{#if: {{#pos:{{{address|}}}| <br }} | addresses | address }} | ||
| data42 = {{{address|}}} | |||
| {{{ | | label43 = Point of origin | ||
| {{{ | | data43 = {{{point of origin|}}} | ||
| label44 = Year introduced | |||
| | | data44 = {{{firstuse|}}} | ||
| {{{ | |||
| {{{ | | label45 = Affiliation | ||
| data45 = {{{affiliation|}}} | |||
| | | header50 = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the ''Stargate'' universe}} | ||
| {{{ | |||
| {{{ | | label51 = First mention | ||
}} | | data51 = {{{mention|}}} | ||
| | | label52 = First appearance | ||
| {{{ | | data52 = {{{appearance|}}} | ||
| {{{ | |||
}}<!-- | |||
| | Retrieving the "name" property from the infobox | ||
| {{{ | |||
| {{{ | -->{{#if: {{{rtitle|}}} | {{#set: name = {{{rtitle}}} }} | {{#if: {{{title|{{PAGENAME}}}}} | {{#set: name = ''{{{title}}}'' }} | {{#set: name = ''{{PAGENAME}}'' }} }} }}<!-- | ||
}} | |||
Retrieving the "infobox image" from the template | |||
| {{{ | -->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!-- | ||
| {{ | |||
}} | Defining the canonicity of the spaceship | ||
-->{{#set: Canon spaceship = {{#if:{{{separate|}}}|no|yes}} }}</includeonly><noinclude>{{Documentation}}</noinclude> | |||
{{ | |||
| {{{ | |||
}} | |||
| {{{ | |||
| {{{ | |||
}} | |||
| {{{ | |||
| {{{ | |||
}} | |||
| | |||
| {{{ | |||
| {{{ | |||
{{ | |||
| | |||
| {{{ | |||
| {{{ | |||
}} | |||
}} | |||
{{ | |||
}} | |||
{{ | |||
Latest revision as of 02:35, 24 February 2022
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
The above documentation is transcluded from Template:Infobox Spaceship/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |