Template:Battle Data: Difference between revisions

Template page
(this was an #if: statement anyway, so let's add the TOS link too)
m (tweak)
(8 intermediate revisions by 4 users not shown)
Line 6: Line 6:
| colspan="2" | [[Image:{{{image}}}|center|300px|{{{description|{{{name|{{PAGENAME}}}}}}}}]]
| colspan="2" | [[Image:{{{image}}}|center|300px|{{{description|{{{name|{{PAGENAME}}}}}}}}]]
|- class="hiddenStructure{{{conflict||}}}"  valign="top"
|- class="hiddenStructure{{{conflict||}}}"  valign="top"
| '''Conflict'''
| '''Conflict:'''
| {{{conflict}}}
| {{{conflict}}}
|- class="hiddenStructure{{{date|}}}" valign="top"
|- class="hiddenStructure{{{date|}}}" valign="top"
| '''Date'''
| '''Date:'''
| {{{date}}}
| {{{date}}}
|- class="hiddenStructure{{{epi|}}}" valign="top"
|- class="hiddenStructure{{{epi|}}}" valign="top"
| '''Related Episode(s)'''
| '''Related Episode(s):'''
| {{{epi|}}}
| {{{epi|}}}
|- valign="top"
|- valign="top"
| '''Place'''
| '''Place:'''
| {{{place}}}
| {{{place}}}
|- valign="top"
|- valign="top"
| '''Result'''
| '''Result:'''
| {{{result}}}
| {{{result}}}
|- style="text-align: center;"
|- style="text-align: center;"
| colspan="2" |
| colspan="2" |
{| width="100%" align="center"
{| width="100%" align="center" class="hiddenStructure{{{combatant1|}}}{{{combatant2|}}}"
! class="infoboxheader " colspan="2" | '''Combatants'''
! class="infoboxheader " colspan="2" | '''Combatants'''
|- style="text-align: center;"
|- style="text-align: left;"
| style="width: 50%;" valign="top" | {{{combatant1}}}
| style="width: 50%;" valign="top" | {{{combatant1}}}
| style="width: 50%;" valign="top" | {{{combatant2}}}
| style="width: 50%;" valign="top" | {{{combatant2}}}
|- style="text-align: center;"
|- style="text-align: center;" class="hiddenStructure{{{co1|}}}{{{co2|}}}"
! class="infoboxheader " colspan="2" | '''Commanders '''
! class="infoboxheader " colspan="2" | '''Commanders'''
|- style="text-align: center;"
|- style="text-align: left;"
| style="width: 50%;" valign="top" | {{{co1}}}
| style="width: 50%;" valign="top" | {{{co1}}}
| style="width: 50%;" valign="top" | {{{co2}}}
| style="width: 50%;" valign="top" | {{{co2}}}
|- style="text-align: center;"
|- style="text-align: center;" class="hiddenStructure{{{strength1|}}}{{{strength2|}}}"
! class="infoboxheader " colspan="2" | '''Strength'''
! class="infoboxheader " colspan="2" | '''Strength'''
|- style="text-align: center;"
|- style="text-align: left;"
| style="width: 50%;" valign="top" | {{{strength1}}}
| style="width: 50%;" valign="top"; "border-right: 1px solid #999999"; | {{{strength1}}}
| style="width: 50%;" valign="top" | {{{strength2}}}
| style="width: 50%;" valign="top" | {{{strength2}}}
|- style="text-align: center;"
|- style="text-align: center;" class="hiddenStructure{{{shiploss1|}}}{{{shiploss2|}}}"
! class="infoboxheader " colspan="2" | '''Materiel Losses'''
! class="infoboxheader " colspan="2" | '''Materiel Losses'''<!-- Materiel spelled correctly-->
|- style="text-align: center;"
|- style="text-align: left;"
| style="width: 50%;" valign="top" | {{{shiploss1}}}
| style="width: 50%;" valign="top" | {{{shiploss1}}}
| style="width: 50%;" valign="top" | {{{shiploss2}}}
| style="width: 50%;" valign="top" | {{{shiploss2}}}
|- style="text-align: center;"
|- style="text-align: center;"  class="hiddenStructure{{{casualties1|}}}{{{casualties2|}}}"
! class="infoboxheader " colspan="2" | '''Casualties'''
! class="infoboxheader " colspan="2" | '''Casualties'''
|- style="text-align: center;"
|- style="text-align: left;"
| style="width: 50%;" valign="top" | {{{casualties1}}}
| style="width: 50%;" valign="top" | {{{casualties1}}}
| style="width: 50%;" valign="top" | {{{casualties2}}}
| style="width: 50%;" valign="top" | {{{casualties2}}}
|}
|}
|- style="text-align:center;"
|- style="text-align:center;"
! class="infoboxheader " colspan="3" | {{#if:{{{rdm|}}}|[[Colonial battles chronology (RDM)|Battle Chronology]]|[[Colonial battles chronology (TOS)|Battle Chronology]]}}
! class="infoboxheader " colspan="3" | [[Colonial battles chronology ({{{series}}})|Battle Chronology]]
|- style="text-align:center; font-size:90%;"  
|- style="text-align:center; font-size:90%;"  
| colspan="2" |
| colspan="2" |
Line 90: Line 90:
| prev=
| prev=
| next=
| next=
| rdm=
| series=
}}</pre>
}}</pre>


Line 110: Line 110:
* '''prev'''
* '''prev'''
* '''next'''
* '''next'''
* '''rdm''' (for battle articles relating to the Re-imagined Series only)
* '''series''': One of <code>RDM</code>, <code>TOS</code> of <code>1980</code>.
 
** '''''NOTE:''''' This parameter is '''case-sensitive'''.
See [[Battle of the Resurrection Ship]] for example of use.
See [[Battle of the Resurrection Ship]] for example of use.



Revision as of 02:50, 18 August 2019


Documentation

This template provides a means to summarize statistical data regarding battles in the Battlestar Galactica series.

Usage

{{Battle Data
| name= 
| image= 
| description= 
| conflict=
| date=
| epi=
| place=
| result=
| combatant1=
| combatant2=
| co1=
| co2=
| strength1=
| strength2=
| shiploss1=
| shiploss2=
| casualties1=
| casualties2=
| prev=
| next=
| series=
}}

Required parameters

  • conflict
  • date
  • place
  • result
  • combatant1
  • combatant2
  • co1
  • co2
  • strength1
  • strength2
  • shiploss1
  • shiploss2
  • casualties1
  • casualties2
  • prev
  • next
  • series: One of RDM, TOS of 1980.
    • NOTE: This parameter is case-sensitive.

See Battle of the Resurrection Ship for example of use.

Optional parameters

  • name: Name of the Battle
  • image: The image filename.
  • description: A description of the image.
  • epi: Episodes that this battle takes place. Wikify allowed. Use <br /> for more than one Episode.