Template:Battle Data: Difference between revisions
Template page
More languages
More actions
→Documentation: + desc |
mNo edit summary |
||
| (31 intermediate revisions by 6 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=" | |- style="text-align: center;" class="{{#if: {{{image|}}} | | hiddenStructure }}" | ||
| colspan="2" | [[ | | colspan="2" | [[File:{{{image}}}|center|300px|{{{description|{{{name|{{PAGENAME}}}}}}}}]] | ||
|- class=" | |- style="text-align: center;" class="{{#if: {{{description|}}} | | hiddenStructure }}" | ||
| ''' | | 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}}} | ||
|- class=" | |- style="vertical-align: top;" class="{{#if: {{{date|}}} | | hiddenStructure }}" | ||
| | ! scope="row" | Date: | ||
| {{{date}}} | | {{{date}}} | ||
|- class=" | |- style="vertical-align: top;" class="{{#if: {{{epi|}}} | | hiddenStructure }}" | ||
| | ! scope="row" | Related Episode(s): | ||
| {{{epi|}}} | | {{{epi|}}} | ||
|- | |- style="vertical-align: top;" class="{{#if: {{{place|}}} | | hiddenStructure }}" | ||
| | ! scope="row" | Place: | ||
| {{{place}}} | | {{{place}}} | ||
|- | |- style="vertical-align: top;" class="{{#if: {{{result|}}} | | hiddenStructure }}" | ||
| | ! 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: | |- class="{{#if: {{{combatant1|}}}{{{combatant2|}}} | | hiddenStructure }}" | ||
| style="width: 50%; | ! class="infoboxheader" colspan="2" | '''Combatants''' | ||
| style="width: 50%; | |||
|- | |- style="text-align: left;" class="{{#if: {{{combatant1|}}}{{{combatant2|}}} | | hiddenStructure }}" | ||
! class="infoboxheader " colspan="2" | '''Commanders ''' | | style="width: 50%; vertical-align: top;" | {{{combatant1}}} | ||
|- style="text-align: | | style="width: 50%; vertical-align: top; text-align:right;" | {{{combatant2}}} | ||
| style="width: 50%; | |||
| style="width: 50%; | |- class="{{#if: {{{co1|}}}{{{co2|}}} | | hiddenStructure }}" | ||
|- | ! class="infoboxheader" colspan="2" | '''Commanders''' | ||
! class="infoboxheader " colspan="2" | '''Strength''' | |||
|- style="text-align: | |- style="text-align: left;" class="{{#if: {{{co1|}}}{{{co2|}}} | | hiddenStructure }}" | ||
| style="width: 50%; | | style="width: 50%; vertical-align: top;" | {{{co1}}} | ||
| style="width: 50%; | | style="width: 50%; vertical-align: top; text-align:right;" | {{{co2}}} | ||
|- | |||
! class="infoboxheader " colspan="2" | '''Materiel Losses''' | |- class="{{#if: {{{strength1|}}}{{{strength2|}}} | | hiddenStructure }}" | ||
|- style="text-align: | ! class="infoboxheader" colspan="2" | '''Strength''' | ||
| style="width: 50%; | |||
| style="width: 50%; | |- style="text-align: left;" class="{{#if: {{{strength1|}}}{{{strength2|}}} | | hiddenStructure }}" | ||
|- | | 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: | |||
| style="width: 50%; | |- class="{{#if: {{{shiploss1|}}}{{{shiploss2|}}} | | hiddenStructure }}" | ||
| style="width: 50%; | ! 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" | | ! 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 = | ||
This template provides a means to summarize statistical data regarding battles in the '' | 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 110: | 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 120: | Line 136: | ||
* '''epi''': Episodes that this battle takes place. Wikify allowed. Use <code><nowiki><br /></nowiki></code> 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: | [[de:Vorlage:Schlachtdaten]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 23:42, 25 October 2025
Documentation
edit sourceThis template provides a means to summarize statistical data regarding battles in the Battlestra Galactica series.
Usage
edit source{{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 source- conflict
- date
- place
- result
- combatant1
- combatant2
- co1
- co2
- strength1
- strength2
- shiploss1
- shiploss2
- casualties1
- casualties2
- prev
- next
- series: One of Same as D
RDM,TOSof1980.- NOTE: This parameter is case-sensitive.
See Battle of the Resurrection Ship for example of use.
Optional parameters
edit source- 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.