Template:Battle
From Gwn
(Difference between revisions)
Line 1: | Line 1: | ||
{|border="0" cellpadding="0" cellspacing="0" width="100%" align="center" valign="top" class="noprint" | {|border="0" cellpadding="0" cellspacing="0" width="100%" align="center" valign="top" class="noprint" | ||
|} | |} | ||
- | |||
- | |||
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:300px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;"> | <table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:300px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;"> | ||
- | <tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{c2|#B4C5E3}}};">{{{image|}}}</td></tr> | + | <tr style="text-align:center;"> |
- | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: | + | <td colspan="2" style="padding:0; background:{{{c2|#B4C5E3}}};">{{{image|}}}</td> |
- | {{{conflict}}} | + | </tr> |
- | </td | + | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:red;"> |
- | + | <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;"> | |
- | + | <tr style="background:Orange; vertical-align:top;"> | |
- | + | <td>'''Conflict''':</td> | |
- | + | <td style="width:100%;">{{{conflict}}}</td> | |
- | + | </tr> | |
+ | </table> | ||
</td> | </td> | ||
+ | </tr> | ||
+ | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:yellow;"> | ||
+ | <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;"> | ||
+ | <tr style="background:Green; vertical-align:top;"> | ||
+ | <td>'''Date''':</td> | ||
+ | <td style="width:100%;">{{{date}}}</td> | ||
+ | </tr></table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"> | ||
+ | <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;"> | ||
+ | <tr style="background:red; vertical-align:top;"> | ||
+ | <td>'''Place''':</td> | ||
+ | <td class="infoboxcell" style="width:100%;">{{{place}}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 22: | Line 37: | ||
</td> | </td> | ||
</tr> | </tr> | ||
- | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: | + | <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;"> | |
- | + | ||
<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:{{{c3|#F0F0F0}}}; vertical-align:top;"> | <tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"> | ||
<td>'''Outcome''':</td> | <td>'''Outcome''':</td> | ||
- | <td | + | <td style="width:100%;">{{{result}}}</td> |
- | {{{result}}} | + | |
- | + | ||
</tr> | </tr> | ||
</table> | </table> | ||
</td> | </td> | ||
</tr> | </tr> | ||
- | |||
<tr> | <tr> | ||
<th colspan="2" style="text-align:left; font-weight:normal;">'''Combatants'''</th> | <th colspan="2" style="text-align:left; font-weight:normal;">'''Combatants'''</th> | ||
</tr> | </tr> | ||
- | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:left; background: | + | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:left; background:red;"> |
- | {{{side1}}} | + | <td width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">{{{side1}}}</td> |
- | </td><td | + | <td width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">{{{side2}}}</td> |
- | {{{side2}}} | + | </tr> |
- | </td></tr> | + | <tr> |
- | <tr><th colspan="2" style="text-align:left; font-weight:normal; background: | + | <th colspan="2" style="text-align:left; font-weight:normal; background:rose;">'''Commanders'''</th> |
- | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background: | + | </tr> |
- | {{{commanders1}}} | + | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:green;"> |
- | </td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | + | <td width="50%" style="border-top: 1px solid #999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">{{{commanders1}}}</td> |
- | {{{commanders2}}} | + | <td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">{{{commanders2}}}</td> |
- | </td></tr> | + | </tr> |
- | <tr><th colspan="2" style="text-align:left; font-weight:normal; background: | + | <tr> |
- | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background: | + | <th colspan="2" style="text-align:left; font-weight:normal; background:blue;">'''Strength'''</th> |
- | {{{forces1}}} | + | </tr> |
- | </td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | + | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:red;"> |
- | {{{forces2}}} | + | <td width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">{{{forces1}}}</td> |
- | </td></tr> | + | <td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> |
- | <tr><th colspan="2" style="text-align:left; font-weight:normal; background: | + | {{{forces2}}}</td> |
- | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background: | + | </tr> |
- | {{{casual1}}} | + | <tr> |
- | </td><td | + | <th colspan="2" style="text-align:left; font-weight:normal; background:yellow;">'''Casualties'''</th> |
- | {{{casual2}}} | + | </tr> |
- | </td></tr> | + | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:green;"> |
- | + | <td width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">{{{casual1}}}</td> | |
- | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: | + | <td width="33%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">{{{casual2}}}</td> |
- | {{{next}}}</td></tr></table> | + | </tr> |
- | + | <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;"> | ||
+ | <table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"> | ||
+ | <tr style="background:blue; vertical-align:top;"> | ||
+ | <td>'''Next Battle''':</td> | ||
+ | <td style="width:100%;">{{{next}}}</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:00, 14 July 2008
|
|||
|
|||
|
|||
|
|||
Combatants | |||
---|---|---|---|
{{{side1}}} | {{{side2}}} | ||
Commanders | |||
{{{commanders1}}} | {{{commanders2}}} | ||
Strength | |||
{{{forces1}}} | {{{forces2}}} | ||
Casualties | |||
{{{casual1}}} | {{{casual2}}} | ||
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
UsageTo 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= }} |