Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Battle Data: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
No edit summary
Joe Beaudoin Jr. (talk | contribs)
No edit summary
Line 3: Line 3:
|- style="text-align: center;"
|- style="text-align: center;"
! class="infoboxheader " colspan="3" | '''{{{name|{{PAGENAME}}}}}'''
! class="infoboxheader " colspan="3" | '''{{{name|{{PAGENAME}}}}}'''
{{#if: {{{image|}}} |
|- style="text-align: center;" class="{{#if: {{{image|}}} | | hiddenStructure }}"
|- style="text-align: center;"
| colspan="2" | [[File:{{{image}}}|center|300px|{{{description|{{{name|{{PAGENAME}}}}}}}}]]
| colspan="2" | [[File:{{{image}}}|center|300px|{{{description|{{{name|{{PAGENAME}}}}}}}}]]
}}
|- style="text-align: center;" class="{{#if: {{{description|}}} | | hiddenStructure }}"
{{#if: {{{description|}}} |
|- style="text-align: center;"
| colspan="2" |{{{description}}}
| colspan="2" |{{{description}}}
}}
|- style="text-align: center;"
|- style="text-align: center;"
! class="infoboxheader" colspan="2" | '''Summary'''
! class="infoboxheader" colspan="2" | '''Summary'''
{{#if: {{{conflict|}}} |
|- style="vertical-align: top;" class="{{#if: {{{conflict|}}} | | hiddenStructure }}"
|- style="vertical-align: top;"
! scope="row" | Conflict:
! scope="row" | Conflict:
| {{{conflict}}}
| {{{conflict}}}
}}
|- style="vertical-align: top;" class="{{#if: {{{date|}}} | | hiddenStructure }}"
{{#if: {{{date|}}} |
|- style="vertical-align: top;"
! scope="row" | Date:
! scope="row" | Date:
| {{{date}}}
| {{{date}}}
}}
|- style="vertical-align: top;" class="{{#if: {{{epi|}}} | | hiddenStructure }}"
{{#if: {{{epi|}}} |
|- style="vertical-align: top;"
! scope="row" | Related Episode(s):
! scope="row" | Related Episode(s):
| {{{epi|}}}
| {{{epi|}}}
}}
|- style="vertical-align: top;"
|- style="vertical-align: top;"
! scope="row" | Place:
! scope="row" | Place:
Line 37: Line 27:
| colspan="2" |
| colspan="2" |
{| width="100%" align="center"
{| width="100%" align="center"
{{#if: {{{combatant1|}}}{{{combatant2|}}} |
! class="infoboxheader {{#if: {{{combatant1|}}}{{{combatant2|}}} | | hiddenStructure }}" colspan="2" | '''Combatants'''
! class="infoboxheader " colspan="2" | '''Combatants'''
|- style="text-align: left;" class="{{#if: {{{combatant1|}}}{{{combatant2|}}} | | hiddenStructure }}"
|- style="text-align: left;"
| style="width: 50%; vertical-align: top;" | {{{combatant1}}}
| style="width: 50%; vertical-align: top;" | {{{combatant1}}}
| style="width: 50%; vertical-align: top;" | {{{combatant2}}}
| style="width: 50%; vertical-align: top;" | {{{combatant2}}}
}}
! class="infoboxheader {{#if: {{{co1|}}}{{{co2|}}} | | hiddenStructure }}" colspan="2" | '''Commanders'''
{{#if: {{{co1|}}}{{{co2|}}} |
|- style="text-align: left;" class="{{#if: {{{co1|}}}{{{co2|}}} | | hiddenStructure }}"
|- style="text-align: center;"
! class="infoboxheader " colspan="2" | '''Commanders'''
|- style="text-align: left;"
| style="width: 50%; vertical-align: top;" | {{{co1}}}
| style="width: 50%; vertical-align: top;" | {{{co1}}}
| style="width: 50%; vertical-align: top;" | {{{co2}}}
| style="width: 50%; vertical-align: top;" | {{{co2}}}
}}
! class="infoboxheader {{#if: {{{strength1|}}}{{{strength2|}}} | | hiddenStructure }}" colspan="2" | '''Strength'''
{{#if: {{{strength1|}}}{{{strength2|}}} |
|- style="text-align: left;" class="{{#if: {{{strength1|}}}{{{strength2|}}} | | hiddenStructure }}"
|- style="text-align: center;"
! class="infoboxheader " colspan="2" | '''Strength'''
|- style="text-align: left;"
| style="width: 50%; vertical-align: top; border-right: 1px solid #999999;" | {{{strength1}}}
| style="width: 50%; vertical-align: top; border-right: 1px solid #999999;" | {{{strength1}}}
| style="width: 50%; vertical-align: top;" | {{{strength2}}}
| style="width: 50%; vertical-align: top;" | {{{strength2}}}
}}
! class="infoboxheader {{#if: {{{shiploss1|}}}{{{shiploss2|}}} | | hiddenStructure }}" colspan="2" | '''Materiel Losses'''|- style="text-align: left;" class="{{#if: {{{shiploss1|}}}{{{shiploss2|}}} | | hiddenStructure }}"
{{#if: {{{shiploss1|}}}{{{shiploss2|}}} |
|- style="text-align: center;"
! class="infoboxheader " colspan="2" | '''Materiel Losses'''|- style="text-align: left;"
| style="width: 50%; vertical-align: top;" | {{{shiploss1}}}
| style="width: 50%; vertical-align: top;" | {{{shiploss1}}}
| style="width: 50%; vertical-align: top;" | {{{shiploss2}}}
| style="width: 50%; vertical-align: top;" | {{{shiploss2}}}
}}
! class="infoboxheader {{#if: {{{casualties1|}}}{{{casualties2|}}} | | hiddenStructure }}" colspan="2" | '''Casualties'''
{{#if: {{{casualties1|}}}{{{casualties2|}}} |
|- style="text-align: left;" class="{{#if: {{{casualties1|}}}{{{casualties2|}}} | | hiddenStructure }}"
|- style="text-align: center;"
! class="infoboxheader " colspan="2" | '''Casualties'''
|- style="text-align: left;"
| style="width: 50%; vertical-align: top;" | {{{casualties1}}}
| style="width: 50%; vertical-align: top;" | {{{casualties1}}}
| style="width: 50%; vertical-align: top;" | {{{casualties2}}}
| style="width: 50%; vertical-align: top;" | {{{casualties2}}}
}}
|}
|}
|- style="text-align:center;"
|- style="text-align:center;"
Line 133: Line 109:
* '''prev'''
* '''prev'''
* '''next'''
* '''next'''
* '''series''': One of Same as <code>RDM</code>, <code>TOS</code> of <code>1980</code>.
* '''series''': One of Same as D<code>RDM</code>, <code>TOS</code> of <code>1980</code>.
** '''''NOTE:''''' This parameter is '''case-sensitive'''.
** '''''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 23:30, 25 October 2025


Documentation

This template provides a means to summarize statistical data regarding battles in the Battlestra 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 Same as DRDM, 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.