Template:Ship Data: Difference between revisions

Template page
(Template:Ship Data - marked for deletion.)
m (seems to work, moving the hidden things so that the game headers are hidden unless specified in the template...)
(44 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<noinclude>{{tfd}}</noinclude>
<includeonly>
<includeonly>
{| class="toccolours" style="float: right; margin: 0 0 1em 1em; width: 20em; font-size: 90%; clear:right;" cellspacing="2" width="275px"
{| class="infobox" cellspacing="2" width="300px"
|- style="text-align: center;"
|- style="text-align: center;"
| style="background: #461919; color: #FFFFFF;" colspan="3" | '''{{{title|{{PAGENAME}}}}}'''
! class="infoboxheader" colspan="3" | '''{{{title|{{PAGENAME}}}}}'''
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
| colspan="3" | [[Image:{{{image}}}|200px]]
| colspan="3" | [[Image:{{{image}}}|275px|{{{title|{{PAGENAME}}}}}]]
|- class="hiddenStructure{{{race|}}}"
|- class="hiddenStructure{{{race|}}}"
| valign="top" | '''Race'''
| valign="top" | '''Race:'''
| colspan=2 | {{{race}}}
| colspan="2" | {{{race}}}
|- class="hiddenStructure{{{type|}}}"
|- class="hiddenStructure{{{type|}}}"
| valign="top" | '''Type'''
| valign="top" | '''Type:'''
| colspan=2 | {{{type}}}
| colspan="2" | {{{type}}}
|- class="hiddenStructure{{{ftl|}}}"
|- class="hiddenStructure{{{ftl|}}}"
| style="white-space:nowrap;" valign="top" | '''[[FTL]]'''
| style="white-space:nowrap;" valign="top" | '''[[Propulsion in the Re-imagined Series|FTL]]:'''
| colspan=2 | {{{ftl|}}}
| colspan="2" | {{{ftl|}}}
|- class="hiddenStructure{{{propol|}}}"
|- class="hiddenStructure{{{propol|}}}"
| style="white-space:nowrap;" valign="top" | '''Propulsion '''
| style="white-space:nowrap;" valign="top" | '''Propulsion:'''
| colspan=2 | {{{propol|}}}
| colspan="2" | {{{propol|}}}
|- class="hiddenStructure{{{crew|}}}"
|- class="hiddenStructure{{{crew|}}}"
| valign="top" | '''Crew'''
| valign="top" | '''Crew:'''
| colspan=2 | {{{crew|}}}
| colspan="2" | {{{crew|}}}
|- class="hiddenStructure{{{cap|}}}"
|- class="hiddenStructure{{{cap|}}}"
| style="white-space:nowrap;" valign="top" | '''Capacity '''
| style="white-space:nowrap;" valign="top" | '''Capacity:'''
| colspan=2 | {{{cap|}}}
| colspan="2" | {{{cap|}}}
|-class="hiddenStructure{{{co|}}}"
|-class="hiddenStructure{{{co|}}}"
| style="white-space:nowrap;" valign="top" | '''CO'''
| style="white-space:nowrap;" valign="top" | '''CO:'''
| colspan=2 | {{{co}}}
| colspan="2" | {{{co}}}
|-class="hiddenStructure{{{xo|}}}"
|-class="hiddenStructure{{{xo|}}}"
| style="white-space:nowrap;" valign="top" | '''XO'''
| style="white-space:nowrap;" valign="top" | '''XO:'''
| colspan=2 | {{{xo}}}
| colspan="2" | {{{xo}}}
|-class="hiddenStructure{{{role|}}}"
|-class="hiddenStructure{{{role|}}}"
| valign="top" | '''Role'''
| valign="top" | '''Role:'''
| colspan=2 | {{{role}}}
| colspan="2" | {{{role}}}
|-class="hiddenStructure{{{weapons|}}}"
|-class="hiddenStructure{{{weapons|}}}"
| valign="top" | '''Weapons'''
| valign="top" | '''Weapons:'''
| colspan="2" valign="top" | {{{weapons}}}
| colspan="2" valign="top" | {{{weapons}}}
|-class="hiddenStructure{{{arm|}}}"
|-class="hiddenStructure{{{arm|}}}"
| valign="top" | '''Armaments'''
| valign="top" | '''Armaments:'''
| colspan="2" valign="top" | {{{arm}}}
| colspan="2" valign="top" | {{{arm}}}
|-class="hiddenStructure{{{def|}}}"
| valign="top" | '''Defenses:'''
| colspan="2" valign="top" | {{{def}}}
|-class="hiddenStructure{{{aircraft|}}}"
| valign="top" | '''Aircraft:'''
| colspan="2" valign="top" | {{{aircraft}}}
|-class="hiddenStructure{{{facilities|}}}"
| valign="top" | '''Aviation facilities:'''
| colspan="2" valign="top" | {{{facilities}}}
|-class="hiddenStructure{{{status|}}}"
|-class="hiddenStructure{{{status|}}}"
| valign="top" | '''Status'''
| valign="top" | '''Fate:'''
| colspan="2" | {{{status}}}
| colspan="2" | {{{status}}}
|-class="hiddenStructure{{{patch|}}}"
| valign="top" | '''Emblem:'''
| colspan="3" | [[Image:{{{patch}}}|175px|Ship's patch]]
|-class="hiddenStructure{{{img|}}}"
|-class="hiddenStructure{{{img|}}}"
| style="white-space:nowrap;" valign="top" | '''Other Images'''
| style="white-space:nowrap;" valign="top" | '''Other Images:'''
| colspan="2" valign="top" | ''[[{{FULLPAGENAME}}#Related Imagery|More images...]]''
| colspan="2" valign="top" | ''[[{{FULLPAGENAME}}#Related Imagery|Gallery]]''
|- style="text-align: center;"
 
| style="background: #461919; color: #FFFFFF;" colspan="3" class="hiddenStructure{{{length|}}}{{{width|}}}{{{height|}}}{{{wingspan|}}}" | '''Dimensions'''
|- style="text-align: center;" class="infoboxheader hiddenStructure{{{length|}}}{{{width|}}}{{{height|}}}{{{wingspan|}}}"
! colspan="3" | '''Dimensions'''
|-class="hiddenStructure{{{length|}}}"
|-class="hiddenStructure{{{length|}}}"
| valign="top" | '''Length'''
| valign="top" | '''Length:'''
| colspan="2" valign="top" | {{{length}}}
| colspan="2" valign="top" | {{{length}}}
|-class="hiddenStructure{{{width|}}}"
|-class="hiddenStructure{{{width|}}}"
| valign="top" | '''Width'''
| valign="top" | '''Width:'''
| colspan="2" valign="top" | {{{width}}}
| colspan="2" valign="top" | {{{width}}}
|-class="hiddenStructure{{{height|}}}"
|-class="hiddenStructure{{{height|}}}"
| valign="top" | '''Height'''
| valign="top" | '''Height:'''
| colspan="2" valign="top" | {{{height}}}
| colspan="2" valign="top" | {{{height}}}
|-class="hiddenStructure{{{weight|}}}"
|-class="hiddenStructure{{{weight|}}}"
| valign="top" | '''Weight'''
| valign="top" | '''Weight:'''
| colspan="2" valign="top" | {{{weight}}}
| colspan="2" valign="top" | {{{weight}}}
|-class="hiddenStructure{{{wingspan|}}}"
|-class="hiddenStructure{{{wingspan|}}}"
| valign="top" | '''Wingspan'''
| valign="top" | '''Wingspan:'''
| colspan="2" valign="top" | {{{wingspan}}}
| colspan="2" valign="top" | {{{wingspan}}}
|-class="hiddenStructure{{{otherdi|}}}"
|-class="hiddenStructure{{{otherdi|}}}"
| valign="top" | '''Other'''
| valign="top" | '''Other:'''
| colspan="2" valign="top" | {{{otherdi}}}
| colspan="2" valign="top" | {{{otherdi}}}
|- style="text-align: center;" class="infoboxheader hiddenStructure{{{cost|}}}"
! colspan="3" | '''Game Information'''
|-class="hiddenStructure{{{cost|}}}"
| valign="top" | '''Cost:'''
| colspan="2" valign="top" | {{{cost}}}
|-class="hiddenStructure{{{hull size|}}}"
| valign="top" | '''Hull Size:'''
| colspan="2" valign="top" | {{{hull size}}}
|-class="hiddenStructure{{{hull|}}}"
| valign="top" | '''Hull:'''
| colspan="2" valign="top" | {{{hull}}}
|- style="text-align: center;" class="infoboxheader hiddenStructure{{{ftl cooldown|}}}{{{speed|}}}{{{turn rate|}}}"
! colspan="3" | '''Mobility'''
|-class="hiddenStructure{{{ftl cooldown|}}}"
| valign="top" | '''FTL Cooldown:'''
| colspan="2" valign="top" | {{{ftl cooldown}}} turns
|-class="hiddenStructure{{{speed|}}}"
| valign="top" | '''Speed:'''
| colspan="2" valign="top" | {{{speed}}} m/s
|-class="hiddenStructure{{{turn rate|}}}"
| valign="top" | '''Turn Rate:'''
| colspan="2" valign="top" | {{{turn rate}}}°/turn
|- style="text-align: center;" class="infoboxheader hiddenStructure{{{armor total|}}}"
! colspan="3" | '''Armor Sum'''
|-class="hiddenStructure{{{armor total|}}}"
| valign="top" | '''Armor Total:'''
| colspan="2" valign="top" | {{{armor total}}}
|-class="hiddenStructure{{{armor left|}}}"
| valign="top" | '''Armor Left:'''
| colspan="2" valign="top" | {{{armor left}}}
|-class="hiddenStructure{{{armor right|}}}"
| valign="top" | '''Armor Right:'''
| colspan="2" valign="top" | {{{armor right}}}
|-class="hiddenStructure{{{armor front|}}}"
| valign="top" | '''Armor Front:'''
| colspan="2" valign="top" | {{{armor front}}}
|-class="hiddenStructure{{{armor rear|}}}"
| valign="top" | '''Armor Rear:'''
| colspan="2" valign="top" | {{{armor rear}}}
|-class="hiddenStructure{{{armor top|}}}"
| valign="top" | '''Armor Top:'''
| colspan="2" valign="top" | {{{armor top}}}
|-class="hiddenStructure{{{armor bottom|}}}"
| 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|}}}"
! colspan="3" | '''Armament'''
|-class="hiddenStructure{{{dradis range|}}}"
| valign="top" | '''[[DRADIS]] Range:'''
| colspan="2" valign="top" | {{{dradis range}}}
|-class="hiddenStructure{{{processing power|}}}"
| valign="top" | '''Processing Power:'''
| colspan="2" valign="top" | {{{processing power}}}
|-class="hiddenStructure{{{munitions|}}}"
| valign="top" | '''Munition Slots:'''
| colspan="2" valign="top" | {{{munitions}}}
|-class="hiddenStructure{{{munition cooldown|}}}"
| valign="top" | '''Munition Cooldown Period:'''
| colspan="2" valign="top" | {{{munition cooldown}}} turns
|-class="hiddenStructure{{{squadrons|}}}"
| valign="top" | '''Squadron Slots:'''
| colspan="2" valign="top" | {{{squadrons}}}
|-class="hiddenStructure{{{special abilities|}}}"
| valign="top" | '''Special Abilities:'''
| colspan="2" valign="top" | {{{special abilities}}}
|}
|}
[[Category:Ships|{{PAGENAME}}]] </includeonly>
</includeonly><noinclude>
<noinclude>
 
'''Example Code'''<br/>
= Documentation =
----
This template allows for quick updating of ''Battlestar Wiki'' articles that are related to Galactica ships. This template uses lower case parameters only.
 
== Usage ==
<pre>
<pre>
{{Ship Data
{{Ship Data
Line 84: Line 165:
| xo=  
| xo=  
| role=
| role=
| weapons=   
| weapons=
| arm=
| aircraft=   
| status=  
| arm=  
| img=  
| def=
| status=
| patch=  
| width=
| width=
| height=
| height=
Line 94: Line 177:
| wingspan=
| wingspan=
| otherdi=
| otherdi=
| img=
}}
}}
</pre>
</pre>
----
 
You can leave fields out if they do not apply to the ship. Please check out [[Colonial One]] for a more in-depth example.
=== Optional parameters ===
* '''image''': The filename of the images.
* '''title''': What is the ship's name.
* '''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.
** Should be in ''<code><nowiki>X feet (Xm)</nowiki></code>''
** Templates that can be used are {{tlp|Feet2Meters|''Feet''}} or {{tlp|Meters2Feet|''Meters''}}.
* '''weight''': Displacement of ship.
* '''wingspan''': Wingspan width; pod width.
* '''otherdi''': Insert other dimensions in here followed by <code><nowiki><br /></nowiki></code>.
* '''img''': Set to '''Y''' if there are more images below in a gallery format.
 
=== ''Deadlock'' parameters ===
 
Parameters relating to ''[[Battlestar Galactica Deadlock]]''.
 
* '''cost:''' Ship command point costs.
* '''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.
* '''processing power:''' Processing power for computer use.
* '''dradis range:''' ''Numeric value only.'' Numeric range of the ship's [[DRADIS]] sensor range.
* '''special abilities:''' Special abilities as a terse sentence/term.
 
[[Category:Infobox|Ship Data]]
[[Category:Infobox|Ship Data]]
[[de:Vorlage:Schiffsdaten]]
</noinclude>
</noinclude>

Revision as of 03:47, 16 August 2019


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=
| race= 
| type= 
| ftl= 
| propol=
| crew= 
| cap=
| co= 
| xo= 
| role=
| weapons=
| aircraft=  
| arm= 
| def= 
| status=
| patch= 
| width=
| height=
| length=
| weight=
| wingspan=
| otherdi=
| img= 
}}

Optional parameters[edit]

  • image: The filename of the images.
  • title: What is the ship's name.
  • 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.
  • 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.
  • processing power: Processing power for computer use.
  • dradis range: Numeric value only. Numeric range of the ship's DRADIS sensor range.
  • special abilities: Special abilities as a terse sentence/term.