Template:Battle

From Gwn

(Difference between revisions)
Line 26: Line 26:
</td>
</td>
</tr>
</tr>
-
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};">
+
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:blue;">
<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;">
Line 46: Line 46:
</td>
</td>
</tr>
</tr>
-
<tr>
+
<tr style="text-align:center;">
-
<th colspan="2" style="text-align:left; font-weight:normal;">'''Combatants'''</th>
+
<th colspan="2" style="text-align:left; font-weight:normal; background:blue;">'''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:red;">
Line 53: Line 53:
<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>
+
<tr style="text-align:center;">
-
<th colspan="2" style="text-align:left; font-weight:normal; background:rose;">'''Commanders'''</th>
+
<th colspan="2" style="text-align:left; font-weight:normal; background:yellow;">'''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:green;">
Line 60: Line 60:
<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>
+
<tr style="text-align:center;">
<th colspan="2" style="text-align:left; font-weight:normal; background:blue;">'''Strength'''</th>
<th colspan="2" style="text-align:left; font-weight:normal; background:blue;">'''Strength'''</th>
</tr>
</tr>
Line 68: Line 68:
{{{forces2}}}</td>
{{{forces2}}}</td>
</tr>
</tr>
-
<tr>
+
<tr style="text-align:center;">
<th colspan="2" style="text-align:left; font-weight:normal; background:yellow;">'''Casualties'''</th>
<th colspan="2" style="text-align:left; font-weight:normal; background:yellow;">'''Casualties'''</th>
</tr>
</tr>
Line 77: Line 77:
<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:green;">
<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="0" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;">
-
<tr style="background:blue; vertical-align:top;">
+
<tr style="background:blue; vertical-align:top;" style="text-align:center;">
-
<td>'''Next Battle''':</td>
+
<td>'''Next Battle''': {{{next}}}</td>
-
<td style="width:100%;">{{{next}}}</td>
+
</tr>
 +
</table>
 +
</td>
</tr>
</tr>
</table>
</table>
-
</td></tr></table>
 
<noinclude>'''Below may not be needed''' [http://starwars.wikia.com/wiki/Template:Battle]
<noinclude>'''Below may not be needed''' [http://starwars.wikia.com/wiki/Template:Battle]

Revision as of 12:08, 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