Template:Ship Data: Difference between revisions

Template page
m (seems to work, moving the hidden things so that the game headers are hidden unless specified in the template...)
(+ squadron size)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" cellspacing="2" width="300px"
{| class="infobox noexcerpt" cellspacing="2" width="300px"
|- style="text-align: center;"
|- style="text-align: center;"
! class="infoboxheader" colspan="3" | '''{{{title|{{PAGENAME}}}}}'''
! class="infoboxheader" colspan="3" | {{#if:{{{italic|}}}|'''''{{{title|{{PAGENAME}}}}}'''''{{italic}}|'''{{{title|{{PAGENAME}}}}}'''}}
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
| colspan="3" | [[Image:{{{image}}}|275px|{{{title|{{PAGENAME}}}}}]]
| colspan="3" | [[Image:{{{image}}}|275px|{{{title|{{PAGENAME}}}}}]]
Line 84: Line 84:
|-class="hiddenStructure{{{cost|}}}"
|-class="hiddenStructure{{{cost|}}}"
| valign="top" | '''Cost:'''
| valign="top" | '''Cost:'''
| colspan="2" valign="top" | {{{cost}}}
| colspan="2" valign="top" | {{{construction}}}
|-class="hiddenStructure{{{construction|}}}"
| valign="top" | '''Construction Time:'''
| colspan="2" valign="top" | {{{construction}}}
|-class="hiddenStructure{{{hull size|}}}"
|-class="hiddenStructure{{{hull size|}}}"
| valign="top" | '''Hull Size:'''
| valign="top" | '''Hull Size:'''
Line 125: Line 128:
| valign="top" | '''Armor Bottom:'''
| valign="top" | '''Armor Bottom:'''
| colspan="2" valign="top" | {{{armor bottom}}}
| colspan="2" valign="top" | {{{armor bottom}}}
|- style="text-align: center;" class="infoboxheader hiddenStructure{{{dradis range|}}}{{{munitions|}}}{{{munition slots|}}}{{{processing power|}}}{{{squadrons|}}}{{{special abilities|}}}"
|- style="text-align: center;" class="infoboxheader hiddenStructure{{{dradis range|}}}{{{munitions|}}}{{{munition slots|}}}{{{processing power|}}}{{{squadrons|}}}{{{squadron size|}}}{{{special abilities|}}}"
! colspan="3" | '''Armament'''
! colspan="3" | '''Armament'''
|-class="hiddenStructure{{{dradis range|}}}"
|-class="hiddenStructure{{{dradis range|}}}"
| valign="top" | '''[[DRADIS]] Range:'''
| valign="top" | '''[[DRADIS]] Range:'''
| colspan="2" valign="top" | {{{dradis range}}}
| colspan="2" valign="top" | {{{dradis range}}} m
|-class="hiddenStructure{{{processing power|}}}"
|-class="hiddenStructure{{{processing power|}}}"
| valign="top" | '''Processing Power:'''
| valign="top" | '''Processing Power:'''
Line 142: Line 145:
| valign="top" | '''Squadron Slots:'''
| valign="top" | '''Squadron Slots:'''
| colspan="2" valign="top" | {{{squadrons}}}
| colspan="2" valign="top" | {{{squadrons}}}
|-class="hiddenStructure{{{squadron size|}}}"
| valign="top" | '''Squadron Size:'''
| colspan="2" valign="top" | {{{squadron size}}}
|-class="hiddenStructure{{{special abilities|}}}"
|-class="hiddenStructure{{{special abilities|}}}"
| valign="top" | '''Special Abilities:'''
| valign="top" | '''Special Abilities:'''
| colspan="2" valign="top" | {{{special abilities}}}
| colspan="2" valign="top" | {{{special abilities}}}
|- style="text-align: center;" class="infoboxheader hiddenStructure{{{dradis range|}}}{{{munitions|}}}{{{munition slots|}}}{{{processing power|}}}{{{squadrons|}}}{{{special abilities|}}}"
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{sepcon|}}}{{{primecon|}}}"
! class="infoboxheader"  colspan="2" | Additional Information
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{sepcon|}}}"
| colspan="2"| {{#if:{{{sepcon|}}}|[[{{{sepcon title|{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}} alternate)|(alternate)}}}}}{{!}}{{#if:{{{italic|}}}|''}}{{{sepcon title|{{{title|{{PAGENAME}}}}}}}}{{#if:{{{italic|}}}|''}} in the separate continuity]]|{{void}}}}
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{primecon|}}}"
| colspan="2"| {{#if:{{{primecon|}}}
|[[{{{primecon title|{{{title|{{PAGENAME}}}}} {{#if:{{{series|}}}|({{{series|}}})|{{void}}}}}}}{{!}}{{#if:{{{italic|}}}|''}}{{{primecon title|{{{title|{{PAGENAME}}}}}}}}{{#if:{{{italic|}}}|''}} in the primary continuity]]|{{void}}}}
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
Line 156: Line 171:
| image=  
| image=  
| title=
| title=
| italic=
| race=  
| race=  
| type=  
| type=  
Line 178: Line 194:
| otherdi=
| otherdi=
| img=  
| img=  
| sepcon=
| primecon=
| series=
}}
}}
</pre>
</pre>
Line 184: Line 203:
* '''image''': The filename of the images.
* '''image''': The filename of the images.
* '''title''': What is the ship's name.
* '''title''': What is the ship's name.
* '''italic''': If this is a ship's '''name''', then put in "y" (sans quotes).
* '''race''': Insert the race of the ship (Cylon or Colonial).
* '''race''': Insert the race of the ship (Cylon or Colonial).
* '''type''': Civilian or military.
* '''type''': Civilian or military.
Line 214: Line 234:


* '''cost:''' Ship command point costs.
* '''cost:''' Ship command point costs.
* '''construction:''' Number of turns for construction, if not accelerated.
* '''ftl cooldown:''' Time for [[FTL]] to cool down between uses.
* '''ftl cooldown:''' Time for [[FTL]] to cool down between uses.
* '''speed:''' ''Numeric value only.'' Speed per turn in m/s.
* '''speed:''' ''Numeric value only.'' Speed per turn in m/s.
Line 229: Line 250:
* '''munition cooldown:''' ''Numeric value only.'' Cooldown period for munitions between uses.
* '''munition cooldown:''' ''Numeric value only.'' Cooldown period for munitions between uses.
* '''squadrons:''' Number of squadrons that the ship can hold.
* '''squadrons:''' Number of squadrons that the ship can hold.
* '''squadron size:''' Number of ships within a squadron.
* '''processing power:''' Processing power for computer use.
* '''processing power:''' Processing power for computer use.
* '''dradis range:''' ''Numeric value only.'' Numeric range of the ship's [[DRADIS]] sensor range.
* '''dradis range:''' ''Numeric value only.'' Numeric range of the ship's [[DRADIS]] sensor range, which is always measured in meters.
* '''special abilities:''' Special abilities as a terse sentence/term.
* '''special abilities:''' Special abilities as a terse sentence/term.


==== Separate Continuity ====
* '''sepcon''': Insert '''Y''' to indicate that a [[Battlestar Wiki:Separate continuity|separate continuity]] article is available on the subject.
* '''sepcon title''': The name of the article on the subject in the separate continuity. Do not encase in any link syntax.
* '''series''': Insert the series acronym that the separate continuity is a part of.  Values are '''TOS''', '''1980''', and '''RDM'''.
: '''Note:''' This is only for articles where the name crosses more than one continuity. For instance, "Galactica" is a ship in multiple series, e.g. the Original Series through the Re-imagined Series. So an article on ''Galactica'' in the separate continuity material for the Original Series would use the "TOS" acronym, and thus would facilitate a link to [[Galactica (TOS alternate)]]. 
==== Primary Continuity ====
: ''This is meant for articles on ''separate continuity'' ships, i.e. {{alt|Galactica|1980}}.''
* '''primecon''': Insert '''Y''' to indicate that a [[Battlestar Wiki:Canon|primary continuity]] article is available on the subject.
* '''primecon title''': The name of the article on the subject in the primary continuity. Do not encase in any link syntax.
* '''series''': Insert the series acronym that the primary continuity is a part of.  Values are '''TOS''', '''1980''', and '''RDM'''.
: '''Note:''' This is only for articles where the name crosses more than one continuity. For instance, "Galactica" is a ship in both the Original Series and the Re-imagined Series. So an article on ''Galactica'' in the primary continuity material for the Original Series would use the "TOS" acronym, and thus would facilitate a link to [[Galactica (TOS)]].
[[Category:Infobox|Ship Data]]
[[Category:Infobox|Ship Data]]
[[de:Vorlage:Schiffsdaten]]
[[de:Vorlage:Schiffsdaten]]
</noinclude>
</noinclude>

Latest revision as of 00:29, 16 July 2023


Documentation[edit]

This template allows for quick updating of Battlestar Wiki articles that are related to Galactica ships. This template uses lower case parameters only.

Usage[edit]

{{Ship Data
| image= 
| title=
| italic=
| race= 
| type= 
| ftl= 
| propol=
| crew= 
| cap=
| co= 
| xo= 
| role=
| weapons=
| aircraft=  
| arm= 
| def= 
| status=
| patch= 
| width=
| height=
| length=
| weight=
| wingspan=
| otherdi=
| img= 
| sepcon=
| primecon=
| series=
}}

Optional parameters[edit]

  • image: The filename of the images.
  • title: What is the ship's name.
  • italic: If this is a ship's name, then put in "y" (sans quotes).
  • race: Insert the race of the ship (Cylon or Colonial).
  • type: Civilian or military.
  • ftl: Is the ship FTL-capable.
  • propol: What is its normal propulsion.
  • crew: Estimated crew capacity.
  • cap: Estimated overall capacity.
  • co: Who is the CO of the ship. Please wikify.
  • xo: Who is the XO of the ship. Please wikify.
  • role: Ship function.
  • weapons: Type of armament.
  • arm: Detailed weapons list.
  • def: Detailed defenses list.
  • aircraft: Details aircraft carried aboard ships.
  • fate: The fate of the ship in question (unknown/decommissioned/destroyed/scuttled/etc).
  • patch: Ship's patch/emblem.
  • width: Width, not Including Wings or Pods.
  • height: Height, not including wings or pods.
  • length: Length, not including wings or pods.
  • weight: Displacement of ship.
  • wingspan: Wingspan width; pod width.
  • otherdi: Insert other dimensions in here followed by <br />.
  • img: Set to Y if there are more images below in a gallery format.

Deadlock parameters[edit]

Parameters relating to Battlestar Galactica Deadlock.

  • cost: Ship command point costs.
  • construction: Number of turns for construction, if not accelerated.
  • ftl cooldown: Time for FTL to cool down between uses.
  • speed: Numeric value only. Speed per turn in m/s.
  • turn rate: Numeric value only. Rate of turn, automatically formatted to be shown in degrees.
  • hull size: Hull "size"/value.
  • hull: Hull hit point value.
  • armor total: Total armor value.
  • armor left: Armor value for left/port side.
  • armor right: Armor value for right/starboard side.
  • armor front: Armor value for front/stern side.
  • armor rear: Armor value for rear/aft side.
  • armor top: Armor value for top side.
  • armor bottom: Armor value for bottom side.
  • munitions: Munition type, can be separated by commas.
  • munition cooldown: Numeric value only. Cooldown period for munitions between uses.
  • squadrons: Number of squadrons that the ship can hold.
  • squadron size: Number of ships within a squadron.
  • processing power: Processing power for computer use.
  • dradis range: Numeric value only. Numeric range of the ship's DRADIS sensor range, which is always measured in meters.
  • special abilities: Special abilities as a terse sentence/term.

Separate Continuity[edit]

  • sepcon: Insert Y to indicate that a separate continuity article is available on the subject.
  • sepcon title: The name of the article on the subject in the separate continuity. Do not encase in any link syntax.
  • series: Insert the series acronym that the separate continuity is a part of. Values are TOS, 1980, and RDM.
Note: This is only for articles where the name crosses more than one continuity. For instance, "Galactica" is a ship in multiple series, e.g. the Original Series through the Re-imagined Series. So an article on Galactica in the separate continuity material for the Original Series would use the "TOS" acronym, and thus would facilitate a link to Galactica (TOS alternate).

Primary Continuity[edit]

This is meant for articles on separate continuity ships, i.e. Galactica.
  • primecon: Insert Y to indicate that a primary continuity article is available on the subject.
  • primecon title: The name of the article on the subject in the primary continuity. Do not encase in any link syntax.
  • series: Insert the series acronym that the primary continuity is a part of. Values are TOS, 1980, and RDM.
Note: This is only for articles where the name crosses more than one continuity. For instance, "Galactica" is a ship in both the Original Series and the Re-imagined Series. So an article on Galactica in the primary continuity material for the Original Series would use the "TOS" acronym, and thus would facilitate a link to Galactica (TOS).