Jump to content

Template:Infobox Spaceship: Difference between revisions

From Semantic Stargate Wiki
Content deleted Content added
No edit summary
mNo edit summary
 
(3 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 123: Line 123:
| label34 = {{#if: {{#pos:{{{othersystems|}}}| <br }} | Other systems | Other system }}
| label34 = {{#if: {{#pos:{{{othersystems|}}}| <br }} | Other systems | Other system }}
| data34 = {{{othersystems|}}}
| data34 = {{{othersystems|}}}

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

{{Infobox/optional subtitle
| label41 = {{#if: {{#pos:{{{role|}}}| <br }} | Roles | Role }}
| Usage
| data41 = {{{role|}}}
| {{{role|}}}{{{address|}}}{{{point of origin|}}}{{{firstuse|}}}{{{affiliation|}}}

| {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}
| label42 = Stargate {{#if: {{#pos:{{{address|}}}| <br }} | addresses | address }}
}}
| data42 = {{{address|}}}
{{Infobox/optional dual line

| Role(s)
| label43 = Point of origin
| {{{role|}}}
| {{{role}}}
| data43 = {{{point of origin|}}}

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

| {{{address|}}}
| label45 = Affiliation
| {{{address}}}
| data45 = {{{affiliation|}}}
}}

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

| {{{point of origin|}}}
| label51 = First mention
| {{{point of origin}}}
| data51 = {{{mention|}}}
}}

{{Infobox/optional dual line
| label52 = First appearance
| Year introduced
| {{{firstuse|}}}
| data52 = {{{appearance|}}}

| {{{firstuse}}}
}}
}}<!--

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

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

}}
Retrieving the "infobox image" from the template
{{Infobox/endbox}}{{#if: {{{image|}}} | [[Infobox image::{{{image|}}} | ]]}}</includeonly><noinclude>{{Documentation}}</noinclude>

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