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
Shane (talk | contribs)
Joe Beaudoin Jr. (talk | contribs)
mNo edit summary
 
(41 intermediate revisions by 9 users not shown)
Line 3: Line 3:
|- style="text-align: center;"
|- style="text-align: center;"
! class="infoboxheader " colspan="3" | '''{{{name|{{PAGENAME}}}}}'''
! class="infoboxheader " colspan="3" | '''{{{name|{{PAGENAME}}}}}'''
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
|- style="text-align: center;" class="{{#if: {{{image|}}} | | hiddenStructure }}"
| colspan="2" | [[Image:{{{image}}}|center|300px|{{{description|{{{name|{{PAGENAME}}}}}}}}]]
| colspan="2" | [[File:{{{image}}}|center|300px|{{{description|{{{name|{{PAGENAME}}}}}}}}]]
|- valign="top"
|- style="text-align: center;" class="{{#if: {{{description|}}} | | hiddenStructure }}"
| '''Conflict'''
| colspan="2" |{{{description}}}
|- style="text-align: center;"
! class="infoboxheader" colspan="2" | '''Summary'''
|- style="vertical-align: top;" class="{{#if: {{{conflict|}}} | | hiddenStructure }}"
! scope="row" | Conflict:
| {{{conflict}}}
| {{{conflict}}}
|- valign="top"
|- style="vertical-align: top;" class="{{#if: {{{date|}}} | | hiddenStructure }}"
| '''Date'''
! scope="row" | Date:
| {{{date}}}
| {{{date}}}
|- class="hiddenStructure{{{epi|}}}" valign="top"
|- style="vertical-align: top;" class="{{#if: {{{epi|}}} | | hiddenStructure }}"
| '''Related Episode(s)'''
! scope="row" | Related Episode(s):
| {{{epi|}}}
| {{{epi|}}}
|- valign="top"
|- style="vertical-align: top;" class="{{#if: {{{place|}}} | | hiddenStructure }}"
| '''Place'''
! scope="row" | Place:
| {{{place}}}
| {{{place}}}
|- valign="top"
|- style="vertical-align: top;" class="{{#if: {{{result|}}} | | hiddenStructure }}"
| '''Result'''
! scope="row" | Result:
| {{{result}}}
| {{{result}}}
|- style="text-align: center;"
|- style="text-align: center;"
| colspan="2" |
| colspan="2" |
{| width="100%" align="center"
{| width="100%" align="center"
! class="infoboxheader " colspan="2" | '''Combatants'''
 
|- style="text-align: center;"
|- class="{{#if: {{{combatant1|}}}{{{combatant2|}}} | | hiddenStructure }}"
| style="width: 50%;" valign="top" | {{{combatant1}}}
! class="infoboxheader" colspan="2" | '''Combatants'''
| style="width: 50%;" valign="top" | {{{combatant2}}}
 
|- style="text-align: center;"
|- style="text-align: left;" class="{{#if: {{{combatant1|}}}{{{combatant2|}}} | | hiddenStructure }}"
! class="infoboxheader " colspan="2" | '''Commanders '''
| style="width: 50%; vertical-align: top;" | {{{combatant1}}}
|- style="text-align: center;"
| style="width: 50%; vertical-align: top; text-align:right;" | {{{combatant2}}}
| style="width: 50%;" valign="top" | {{{co1}}}
 
| style="width: 50%;" valign="top" | {{{co2}}}
|- class="{{#if: {{{co1|}}}{{{co2|}}} | | hiddenStructure }}"
|- style="text-align: center;"
! class="infoboxheader" colspan="2" | '''Commanders'''
! class="infoboxheader " colspan="2" | '''Strength'''
 
|- style="text-align: center;"
|- style="text-align: left;" class="{{#if: {{{co1|}}}{{{co2|}}} | | hiddenStructure }}"
| style="width: 50%;" valign="top" | {{{strength1}}}
| style="width: 50%; vertical-align: top;" | {{{co1}}}
| style="width: 50%;" valign="top" | {{{strength2}}}
| style="width: 50%; vertical-align: top; text-align:right;" | {{{co2}}}
|- style="text-align: center;"
 
! class="infoboxheader " colspan="2" | '''Material Losses'''
|- class="{{#if: {{{strength1|}}}{{{strength2|}}} | | hiddenStructure }}"
|- style="text-align: center;"
! class="infoboxheader" colspan="2" | '''Strength'''
| style="width: 50%;" valign="top" | {{{shiploss1}}}
 
| style="width: 50%;" valign="top" | {{{shiploss2}}}
|- style="text-align: left;" class="{{#if: {{{strength1|}}}{{{strength2|}}} | | hiddenStructure }}"
|- style="text-align: center;"
| style="width: 50%; vertical-align: top;" | {{{strength1}}}
! class="infoboxheader " colspan="2" | '''Casualties'''
| style="width: 50%; vertical-align: top; text-align:right;" | {{{strength2}}}
|- style="text-align: center;"
 
| style="width: 50%;" valign="top" | {{{casualties1}}}
|- class="{{#if: {{{shiploss1|}}}{{{shiploss2|}}} | | hiddenStructure }}"
| style="width: 50%;" valign="top" | {{{casualties2}}}
! class="infoboxheader" colspan="2" | '''Materiel Losses'''
 
|- style="text-align: left;" class="{{#if: {{{shiploss1|}}}{{{shiploss2|}}} | | hiddenSctructure }}"
| style="width: 50%; vertical-align: top;" | {{{shiploss1}}}
| style="width: 50%; vertical-align: top; text-align:right;" | {{{shiploss2}}}
 
|- class="{{#if: {{{casualties1|}}}{{{casualties2|}}} | | hiddenStructure }}"
! class="infoboxheader" colspan="2" | '''Casualties'''
 
|- style="text-align: left;" class="{{#if: {{{casualties1|}}}{{{casualties2|}}} | | hiddenStructure }}"
| style="width: 50%; vertical-align: top;" | {{{casualties1}}}
| style="width: 50%; vertical-align: top; text-align:right;" | {{{casualties2}}}
 
|}
|}
|- style="text-align:center;"
|- style="text-align:center;"
! class="infoboxheader " colspan="3" | 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" |
{| width="100%" align="center"
{| width="100%" align="center"
Line 56: Line 72:
| style="width: 34%;" |
| style="width: 34%;" |
| style="width: 33%;" | Next
| style="width: 33%;" | Next
|- style="text-align:center; font-size:90%;"  
|- style="text-align:center; font-size:90%;"
| style="width: 33%;" | {{{prev}}}
| style="width: 33%;" | {{{prev}}}
| style="width: 34%;" | {{{name|{{PAGENAME}}}}}
| style="width: 34%;" | {{{name|{{PAGENAME}}}}}
Line 65: Line 81:
<noinclude>
<noinclude>
= Documentation =
= Documentation =
''Insert what this template is about.''
This template provides a means to summarize statistical data regarding battles in the ''Battlestra Galactica'' series.


== Usage ==
== Usage ==
Line 90: Line 106:
| prev=
| prev=
| next=
| next=
| series=
}}</pre>
}}</pre>


Line 109: Line 126:
* '''prev'''
* '''prev'''
* '''next'''
* '''next'''
 
* '''series''': One of Same as D<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.


Line 116: Line 134:
* '''image''': The image filename.
* '''image''': The image filename.
* '''description''': A description of the image.
* '''description''': A description of the image.
* '''epi''': Episodes that this battle takes place. Wikify allowed. Use <nowiki><code><br /></code></nowiki> for more than one Episode.
* '''epi''': Episodes that this battle takes place. Wikify allowed. Use <code><nowiki><br /></nowiki></code> for more than one Episode.
[[Category:Infobox|Battle Data]]
[[Category:Infobox|Battle Data]]
[[de:Vorlage:Schlachtdaten]]
</noinclude>
</noinclude>

Latest revision as of 23:42, 25 October 2025


Documentation

edit

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

Usage

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

edit
  • 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

edit
  • 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.