Difference between revisions of "Template:Infobox Battle"

From Tresario Archives
Jump to: navigation, search
Line 1: Line 1:
{| style="border: 1px solid black; background:#232730; padding: 1px; margin: 5px; width: 35%; float: right; font-size: 11px;"
+
{| class="infobox" cellspacing="9"
 +
|-
 +
! width="100%" colspan="2" class="infoboxHOM-section" | '''{{{title}}}'''
  
| width="100%" colspan="2" style="border: 1px solid grey; background-color: #CC9900; font-size: 16px; text-align: center;" | <font color="black"><b>{{{title}}}</b></font>
 
 
|- {{#if: {{{war|}}} | | style="display: none" }}
 
|- {{#if: {{{war|}}} | | style="display: none" }}
| width="100%" colspan="2" style="border: 1px solid grey; background-color: #CC9900; text-align: center;" | <font color="black"><b>{{{war}}}</b></font>
+
! width="100%" colspan="2" class="infoboxHOM-section" | '''{{{war}}}'''
 +
 
 
|- {{#if: {{{image|}}} | | style="display: none" }}
 
|- {{#if: {{{image|}}} | | style="display: none" }}
| colspan="2" style="text-align: center;" | {{{image}}}
+
| colspan="2" class="infobox-image" | {{{image}}}
 +
 
 
|-  
 
|-  
| style="width: 31%;" valign="top" | Date
+
! style="width: 31%;" valign="top" | Date
 
| style="width: 69%;" valign="top" | {{{date}}}
 
| style="width: 69%;" valign="top" | {{{date}}}
 +
 
|-  
 
|-  
| style="width: 31%;" valign="top" | Location
+
! style="width: 31%;" valign="top" | Location
 
| style="width: 69%;" valign="top" | {{{location}}}
 
| style="width: 69%;" valign="top" | {{{location}}}
 +
 
|-  
 
|-  
| style="width: 31%;" valign="top" | Result
+
! style="width: 31%;" valign="top" | Result
 
| style="width: 69%;" valign="top" | {{{result}}}
 
| style="width: 69%;" valign="top" | {{{result}}}
 +
 
|-
 
|-
| colspan="2" style="border: 1px solid grey; background-color: #CC9900; text-align: center;" | <font color="black"><b>Belligerents</b></font>
+
| width="100%" colspan="2" class="infoboxHOM-section" | '''Belligerents'''
 +
 
 
|-  
 
|-  
| style="width: 50%; border: solid grey; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" valign="top" | {{{attackers}}}
+
| style="width: 50%; border-right: 1px dotted #a2a9b1;" valign="top" | {{{attackers}}}
| style="width: 50%; border: solid grey;border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: left;" valign="top" | {{{defenders}}}
+
| style="width: 50%; padding-left: 0.25en;" valign="top" | {{{defenders}}}
 +
 
 
|-
 
|-
| colspan="2" style="border: 1px solid grey; background-color: #CC9900; text-align: center;" | <font color="black"><b>Commanders and Leaders</b></font>
+
| colspan="2" class="infoboxHOM-section" | '''Commanders and Leaders'''
 +
 
 
|-
 
|-
| style="width: 50%; border: solid grey; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" valign="top" | {{{attacking commanders}}}
+
| style="width: 50%; border-right: 1px dotted #a2a9b1;" valign="top" | {{{attacking commanders}}}
| style="width: 50%; border: solid grey;border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: left;" valign="top" | {{{defending commanders}}}
+
| style="width: 50%; padding-left: 0.25en;" valign="top" | {{{defending commanders}}}
 +
 
 
|- {{#if: {{{war|}}} |
 
|- {{#if: {{{war|}}} |
| colspan="2" style="border: 1px solid grey; background-color: #CC9900; text-align: center;" | <font color="black"><b>Strength</b></font>
+
| colspan="2" class="infoboxHOM-section" | '''Strength'''
 +
 
 
|-
 
|-
| style="width: 50%; border: solid grey; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" valign="top" | {{{attacker strength}}}
+
| style="width: 50%; border-right: 1px dotted #a2a9b1;" valign="top" | {{{attacker strength}}}
| style="width: 50%; border: solid grey;border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: left;" valign="top" | {{{defender strength}}} }}
+
| style="width: 50%; padding-left: 0.25en;" valign="top" | {{{defender strength}}} }}
 +
 
 
|-
 
|-
| colspan="2" style="border: 1px solid grey; background-color: #CC9900; text-align: center;" | <font color="black"><b>Casualties and Losses</b></font>
+
| colspan="2" class="infoboxHOM-section" | '''Casualties and Losses'''
|-
+
 
| style="width: 50%; border: solid grey; border-style: solid; border-right-width: 1px; border-left-width: 0px; text-align: left;" valign="top" | {{{attacker casualties}}}
 
| style="width: 50%; border: solid grey;border-style: solid; border-left-width: 1px; border-right-width: 0px; text-align: left;" valign="top" | {{{defender casualties}}}
 
 
|-
 
|-
 +
| style="width: 50%; border-right: 1px dotted #a2a9b1;" valign="top" | {{{attacker casualties}}}
 +
| style="width: 50%; padding-left: 0.25en;" valign="top" | {{{defender casualties}}}
 
|}
 
|}
  

Revision as of 03:00, 1 October 2018

{{{title}}}
{{{war}}}
{{{image}}}
Date {{{date}}}
Location {{{location}}}
Result {{{result}}}
Belligerents
{{{attackers}}} {{{defenders}}}
Commanders and Leaders
{{{attacking commanders}}} {{{defending commanders}}}
Casualties and Losses
{{{attacker casualties}}} {{{defender casualties}}}


Usage

The Battle template is used to give details pertaining to engagements that have occurred in the galaxy. Paste the code into an article, filling fields in with the pertinent information. In the (likely) event that a particular field requires multiple entries, please include them all under the same field, separated by a dash (-) or a dot (·).

{{Infobox Battle
| title = 
| war = 
| image = 
| date = 
| location = 
| result = 
| attackers = 
| defenders = 
| attacking commanders = 
| defending commanders = 
| attacker strength = 
| defender strength = 
| attacker casualties = 
| defender casualties = 
}}

See also