Template:Battle

From Gwn

(Difference between revisions)
Line 21: Line 21:
</td></tr>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#00003c; color:gainsboro;">'''Combatants'''</th></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#00003c; color:gainsboro;">'''Combatants'''</th></tr>
-
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:left; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
+
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:left; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; background: gainsboro; border-right: 1px solid #999999;">
{{{side1}}}
{{{side1}}}
-
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
+
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; background: gainsboro; border-bottom: 1px solid #999999;">
{{{side2}}}
{{{side2}}}
</td></tr>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#00003c; color:gainsboro;">'''Commanders'''</th></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#00003c; color:gainsboro;">'''Commanders'''</th></tr>
-
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
+
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999; background: gainsboro; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
{{{commanders1}}}
{{{commanders1}}}
-
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
+
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; background: gainsboro; border-bottom: 1px solid #999999;">
{{{commanders2}}}
{{{commanders2}}}
</td></tr>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#00003c; color:gainsboro;">'''Strength'''</th></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#00003c; color:gainsboro;">'''Strength'''</th></tr>
-
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
+
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; background: gainsboro; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
{{{forces1}}}
{{{forces1}}}
-
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
+
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; background: gainsboro; border-bottom: 1px solid #999999;">
{{{forces2}}}
{{{forces2}}}
</td></tr>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#00003c; color:gainsboro;">'''Casualties'''</th></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#00003c; color:gainsboro;">'''Casualties'''</th></tr>
-
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
+
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; background: gainsboro; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
{{{casual1}}}
{{{casual1}}}
-
</td><td class="infoboxcell" width="33%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
+
</td><td class="infoboxcell" width="33%" style="border-top: 1px solid #999999; background: gainsboro; border-bottom: 1px solid #999999;">
{{{casual2}}}</td></tr></table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td>{{{next}}}</td></tr></table><noinclude>
{{{casual2}}}</td></tr></table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td>{{{next}}}</td></tr></table><noinclude>
'''Below may not be needed''' [http://starwars.wikia.com/wiki/Template:Battle]
'''Below may not be needed''' [http://starwars.wikia.com/wiki/Template:Battle]

Revision as of 11:37, 14 July 2008

Conflict:

{{{conflict}}}

Date:

{{{date}}}

Place:

{{{place}}}

Outcome:

{{{result}}}

Combatants

{{{side1}}}

{{{side2}}}

Commanders

{{{commanders1}}}

{{{commanders2}}}

Strength

{{{forces1}}}

{{{forces2}}}

Casualties

{{{casual1}}}

{{{casual2}}}
{{{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