Template:Battle

From Gwn

(Difference between revisions)
Line 4: Line 4:
<tr style="text-align:center;">
<tr style="text-align:center;">
-
<td colspan="2" style="padding:0; background:{{{purple}}};">{{{name|}}}</td>
+
<td colspan="2" style="padding:0; background:#00003c;">{{{name|}}}</td>
</tr>
</tr>
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:red;">
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:red;">
Line 10: Line 10:
<table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;">
<table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;">
-
<tr style="background:Orange; vertical-align:top;">
+
<tr style="background:gainsboro; vertical-align:top;">
<td>'''Conflict''':</td>
<td>'''Conflict''':</td>
<td style="width:100%;">{{{conflict}}}</td>
<td style="width:100%;">{{{conflict}}}</td>
Line 20: Line 20:
<td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
<td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
<table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;">
<table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;">
-
<tr style="background:Green; vertical-align:top;">
+
<tr style="background:white; vertical-align:top;">
<td>'''Date''':</td>
<td>'''Date''':</td>
<td style="width:100%;">{{{date}}}</td>
<td style="width:100%;">{{{date}}}</td>
Line 29: Line 29:
<td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
<td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
<table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;">
<table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;">
-
<tr style="background:red; vertical-align:top;">
+
<tr style="background:gainsboro; vertical-align:top;">
<td>'''Place''':</td>
<td>'''Place''':</td>
<td class="infoboxcell" style="width:100%;">{{{place}}}</td>
<td class="infoboxcell" style="width:100%;">{{{place}}}</td>
Line 40: Line 40:
<td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
<td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
<table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;">
<table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;">
-
<tr style="background:yellow; vertical-align:top;">
+
<tr style="background:white; vertical-align:top;">
<td>'''Outcome''': {{{result}}}</td>
<td>'''Outcome''': {{{result}}}</td>
</tr>
</tr>
Line 47: Line 47:
</tr>
</tr>
<tr style="text-align:center;">
<tr style="text-align:center;">
-
<th style="text-align:center;" colspan="2" style="text-align:left; font-weight:normal; background:blue;">'''Combatants'''</th>
+
<th style="text-align:center;" colspan="2" style="text-align:left; font-weight:normal; background:gainsboro;">'''Combatants'''</th>
</tr>
</tr>
-
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:left; background:red;">
+
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:left; background:white;">
<td width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">{{{side1}}}</td>
<td width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">{{{side1}}}</td>
<td width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">{{{side2}}}</td>
<td width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">{{{side2}}}</td>
</tr>
</tr>
<tr style="text-align:center;">
<tr style="text-align:center;">
-
<th style="text-align:center;" colspan="2" style="text-align:left; font-weight:normal; background:yellow;">'''Commanders'''</th>
+
<th style="text-align:center;" colspan="2" style="text-align:left; font-weight:normal; background:gainsboro;">'''Commanders'''</th>
</tr>
</tr>
-
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:green;">
+
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:white;">
<td width="50%" style="border-top: 1px solid #999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">{{{commanders1}}}</td>
<td width="50%" style="border-top: 1px solid #999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">{{{commanders1}}}</td>
<td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">{{{commanders2}}}</td>
<td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">{{{commanders2}}}</td>
</tr>
</tr>
<tr style="text-align:center;">
<tr style="text-align:center;">
-
<th style="text-align:center;" colspan="2" style="text-align:left; font-weight:normal; background:blue;">'''Strength'''</th>
+
<th style="text-align:center;" colspan="2" style="text-align:left; font-weight:normal; background:gainsboro;">'''Strength'''</th>
</tr>
</tr>
-
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:red;">
+
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:white;">
<td width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">{{{forces1}}}</td>
<td width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">{{{forces1}}}</td>
<td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
<td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
Line 69: Line 69:
</tr>
</tr>
<tr style="text-align:center;">
<tr style="text-align:center;">
-
<th style="text-align:center;" colspan="2" style="text-align:left; font-weight:normal; background:yellow;">'''Casualties'''</th>
+
<th style="text-align:center;" colspan="2" style="text-align:left; font-weight:normal; background:gainsboro;">'''Casualties'''</th>
</tr>
</tr>
-
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:green;">
+
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:white;">
<td width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">{{{casual1}}}</td>
<td width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">{{{casual1}}}</td>
<td width="33%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">{{{casual2}}}</td>
<td width="33%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">{{{casual2}}}</td>
</tr>
</tr>
-
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:green;">
+
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:white;">
<td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
<td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
<table border="0" cellpadding="0" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;">
<table border="0" cellpadding="0" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;">
-
<tr style="background:blue; vertical-align:top;" style="text-align:center;">
+
<tr style="background:#00003c; vertical-align:top;" style="text-align:center;">
<td style="background:blue; vertical-align:top;">'''Next Battle''': {{{next}}}</td>
<td style="background:blue; vertical-align:top;">'''Next Battle''': {{{next}}}</td>
</tr>
</tr>

Revision as of 12:17, 14 July 2008

Conflict: {{{conflict}}}
Date: {{{date}}}
Place: {{{place}}}
Outcome: {{{result}}}
Combatants
{{{side1}}} {{{side2}}}
Commanders
{{{commanders1}}} {{{commanders2}}}
Strength
{{{forces1}}} {{{forces2}}}
Casualties
{{{casual1}}} {{{casual2}}}
Next Battle: {{{next}}}

Below may not be needed [1]

For battles, use Template:battle.

For three-way battles, use Template:Triple battle infobox.

For four-way battles, use Template:Quad battle infobox.

For wars or other conflicts, use Template:War.

For three-way wars, use Template:Three-way War.

For four-way wars, use Template:Four-way War.

For missions, use Template:mission.

For duels, use Template:duel.

For campaigns, use Template:Campaign.

For general events, use Template:event. Template:Clear

Field list

  • name
  • conflict
  • date
  • place
  • result
  • side1
  • side2
  • commanders1
  • commanders2
  • forces1
  • forces2
  • casual1
  • casual2
  • next

Usage

To use this template, paste the following code into the top of the article, filling all relevant fields:

{{battle
|name=
|conflict=
|date=
|place=
|result=
|side1=
|side2=
|commanders1=
|commanders2=
|forces1=
|forces2=
|casual1=
|casual2=
|next=
}}
Personal tools