Toggle 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)
mNo edit summary
Joe Beaudoin Jr. (talk | contribs)
m Undo revision 240192 by Joe Beaudoin Jr. (talk)
Tag: Undo
 
(56 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<noinclude>{{inuse|a short while|Mercifull}}</noinclude>
<includeonly>
{| class="toccolors" style="float: right; margin: 0 0 1em 1em; width: 20em; font-size: 90%; clear:right; border: 1px solid #a60003;" align="center"
{| class="infobox"
|- style="text-align: center;"
|- style="text-align: center;"
! style="background: #461919; color: #FFFFFF;" colspan=3|'''{{PAGENAME}}'''
! class="infoboxheader " colspan="3" | '''{{{name|{{PAGENAME}}}}}'''
|- style="text-align: center;" class="hiddenStructure{{{image}}}"
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
| colspan="3" | [[Image:{{{image}}}|center|300px|{{{description}}}]]
| colspan="2" | [[Image:{{{image}}}|center|300px|{{{description|{{{name|{{PAGENAME}}}}}}}}]]
|- style="text-align: center;" class="hiddenStructure{{{description|}}}"
| colspan="2" |{{{description}}}
|- style="text-align: center;"
|- style="text-align: center;"
! style="background: #461919; color: #FFFFFF;" colspan=3 |
! class="infoboxheader" colspan="2" | '''Summary'''
|- class="hiddenStructure{{{conflict}}}" valign="top"
|- class="hiddenStructure{{{conflict||}}}" valign="top"
| '''Conflict'''
| '''Conflict:'''
| colspan=2 | {{{conflict}}}
| {{{conflict}}}
|- class="hiddenStructure{{{date}}}" valign="top"
|- class="hiddenStructure{{{date|}}}" valign="top"
| '''Date'''
| '''Date:'''
| colspan=2 | {{{date}}}
| {{{date}}}
|- class="hiddenStructure{{{place}}}" valign="top"
|- class="hiddenStructure{{{epi|}}}" valign="top"
| '''Place'''
| '''Related Episode(s):'''
| colspan=2 | {{{place}}}
| {{{epi|}}}
|- class="hiddenStructure{{{result}}}" valign="top"
|- valign="top"
| '''Result'''
| '''Place:'''
| colspan=2 | {{{result}}}
| {{{place}}}
|- valign="top"
| '''Result:'''
| {{{result}}}
|- style="text-align: center;"
|- style="text-align: center;"
! style="background: #461919; color: #FFFFFF;" colspan=3 | '''Combatants'''
| colspan="2" |
|- style="text-align: center;"
{| width="100%" align="center" class="hiddenStructure{{{combatant1|}}}{{{combatant2|}}}"
| valign="top" | {{{attacker}}}
! class="infoboxheader " colspan="2" | '''Combatants'''
| style="width: 3px;" | '''|'''
|- style="text-align: left;"
| valign="top" | {{{defender}}}
| style="width: 50%;" valign="top" | {{{combatant1}}}
|- style="text-align: center;"
| style="width: 50%;" valign="top" | {{{combatant2}}}
! style="background: #461919; color: #FFFFFF;" colspan="3" | '''Commanders '''
|- style="text-align: center;" class="hiddenStructure{{{co1|}}}{{{co2|}}}"
|- style="text-align: center;"
! class="infoboxheader " colspan="2" | '''Commanders'''
| valign="top" | {{{coattacker}}}
|- style="text-align: left;"
| style="width: 3px;" | '''|'''
| style="width: 50%;" valign="top" | {{{co1}}}
| valign="top" | {{{codefender}}}
| style="width: 50%;" valign="top" | {{{co2}}}
|- style="text-align: center;"
|- style="text-align: center;" class="hiddenStructure{{{strength1|}}}{{{strength2|}}}"
! style="background: #461919; color: #FFFFFF;" colspan="3" | '''Strength'''
! class="infoboxheader " colspan="2" | '''Strength'''
|- style="text-align: center;"
|- style="text-align: left;"
| valign="top" | {{{strengthattacker}}}
| style="width: 50%;" valign="top"; "border-right: 1px solid #999999"; | {{{strength1}}}
| style="width: 3px;" | '''|'''
| style="width: 50%;" valign="top" | {{{strength2}}}
| valign="top" | {{{strengthdefender}}}
|- style="text-align: center;" class="hiddenStructure{{{shiploss1|}}}{{{shiploss2|}}}"
|- style="text-align: center;"
! class="infoboxheader " colspan="2" | '''Materiel Losses'''<!-- Materiel spelled correctly-->
! style="background: #461919; color: #FFFFFF;" colspan="3" | '''Casualties'''
|- style="text-align: left;"
|- style="text-align: center;"
| style="width: 50%;" valign="top" | {{{shiploss1}}}
| valign="top" | {{{casualtiesattacker}}}
| style="width: 50%;" valign="top" | {{{shiploss2}}}
| style="width: 3px;" | '''|'''
|- style="text-align: center;"  class="hiddenStructure{{{casualties1|}}}{{{casualties2|}}}"
| valign="top" | {{{casualtiesdefender}}}
! class="infoboxheader " colspan="2" | '''Casualties'''
|- style="text-align: left;"
| style="width: 50%;" valign="top" | {{{casualties1}}}
| style="width: 50%;" valign="top" | {{{casualties2}}}
|}
|- style="text-align:center;"
|- style="text-align:center;"
! style="background: #461919; color: #FFFFFF;" colspan="3" | Battle Chronology
! class="infoboxheader " colspan="3" | [[Colonial battles chronology ({{{series}}})|Battle Chronology]]
|- style="text-align:center; font-size:smaller;"  
|- style="text-align:center; font-size:90%;"
|style="width: 33%;" | Previous
| colspan="2" |
|style="width: 33%;" |
{| width="100%" align="center"
|style="width: 33%;" | Next
| style="width: 33%;" | Previous
|- style="text-align:center; font-size:smaller;"  
| style="width: 34%;" |
|style="width: 33%;" | {{{prev}}}
| style="width: 33%;" | Next
|style="width: 33%;" | {{PAGENAME}}
|- style="text-align:center; font-size:90%;"  
|style="width: 33%;" | {{{next}}}
| style="width: 33%;" | {{{prev}}}
| style="width: 34%;" | {{{name|{{PAGENAME}}}}}
| style="width: 33%;" | {{{next}}}
|}
|}
|}
</includeonly>
<noinclude>
<noinclude>
= Documentation =
This template provides a means to summarize statistical data regarding battles in the ''Battlestar Galactica'' series.
== Usage ==
<pre>
<pre>
{{Battle Data
{{Battle Data
|image=  
| name=
|description=
| image=  
|conflict=
| description=  
|date=
| conflict=
|place=
| date=
|result=
| epi=
|attacker=
| place=
|defender=
| result=
|coattacker=
| combatant1=
|codefender=
| combatant2=
|strengthattacker=
| co1=
|strengthdefender=
| co2=
|casualtiesattacker=
| strength1=
|casualtiesdefender=
| strength2=
|prev=
| shiploss1=
|next=
| shiploss2=
| casualties1=
| casualties2=
| prev=
| next=
| series=
}}</pre>
}}</pre>


All fields are required except ''image'' and ''image description''.
=== Required parameters ===
* '''conflict'''
* '''date'''
* '''place'''
* '''result'''
* '''combatant1'''
* '''combatant2'''
* '''co1'''
* '''co2'''
* '''strength1'''
* '''strength2'''
* '''shiploss1'''
* '''shiploss2'''
* '''casualties1'''
* '''casualties2'''
* '''prev'''
* '''next'''
* '''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.
=== 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 <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 16:04, 2 August 2022


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.