Template:Battle
From Gwn
(Difference between revisions)
(35 intermediate revisions not shown) | |||
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:# | + | <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: | + | <tr style="text-align:center;"> |
- | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: | + | <td colspan="2" style="padding:0; background:#00003c; color: white; font-size:15;">{{{name}}}</td> |
- | {{{conflict}}} | + | </tr> |
- | </td></tr></table> | + | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:red;"> |
- | </td></tr> | + | <td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> |
- | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: | + | |
- | {{{date}}} | + | <table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"> |
- | </td></tr></table> | + | <tr style="background:gainsboro; vertical-align:top;"> |
- | </td></tr> | + | <td>'''Conflict''':</td> |
- | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: | + | <td style="width:100%;">{{{conflict}}}</td> |
- | {{{place}}} | + | </tr> |
- | </td></tr></table> | + | </table> |
- | </td></tr> | + | </td> |
- | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: | + | </tr> |
- | {{{result}}} | + | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:yellow;"> |
- | </td></tr></table> | + | <td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> |
- | </td></tr> | + | <table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"> |
- | <tr><th colspan="2" style="text-align:left; font-weight:normal; background | + | <tr style="background:white; vertical-align:top;"> |
- | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:left; background: | + | <td>'''Date''':</td> |
- | {{{side1}}} | + | <td style="width:100%;">{{{date}}}</td> |
- | </td><td | + | </tr></table> |
- | {{{side2}}} | + | </td> |
- | </td></tr> | + | </tr> |
- | <tr><th colspan="2" style="text-align:left; font-weight:normal; background | + | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:blue;"> |
- | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background: | + | <td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> |
- | {{{commanders1}}} | + | <table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"> |
- | </td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | + | <tr style="background:gainsboro; vertical-align:top;"> |
- | {{{commanders2}}} | + | <td>'''Place''':</td> |
- | </td></tr> | + | <td class="infoboxcell" style="width:100%;">{{{place}}}</td> |
- | <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: | + | </table> |
- | {{{forces1}}} | + | |
- | </td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | + | </td> |
- | {{{forces2}}} | + | </tr> |
- | </td></tr> | + | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:blue;"> |
- | <tr><th colspan="2" style="text-align:left; font-weight:normal; background | + | <td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> |
- | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background: | + | <table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"> |
- | {{{casual1}}} | + | <tr style="background:white; vertical-align:top;"> |
- | </td><td | + | <td>'''Outcome''': {{{result}}}</td> |
- | {{{casual2}}}</td></tr>< | + | </tr> |
- | '''Below may not be needed''' [http://starwars.wikia.com/wiki/Template:Battle] | + | </table> |
+ | </td> | ||
+ | </tr> | ||
+ | <tr style="text-align:center;"> | ||
+ | <th style="text-align:center;" colspan="2" style="text-align:left; font-weight:normal; background:gainsboro;">'''Combatants'''</th> | ||
+ | </tr> | ||
+ | <tr cellpadding="2" 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;">{{{side2}}}</td> | ||
+ | </tr> | ||
+ | <tr style="text-align:center;"> | ||
+ | <th style="text-align:center;" colspan="2" style="text-align:left; font-weight:normal; background:gainsboro;">'''Commanders'''</th> | ||
+ | </tr> | ||
+ | <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 class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">{{{commanders2}}}</td> | ||
+ | </tr> | ||
+ | <tr style="text-align:center;"> | ||
+ | <th style="text-align:center;" colspan="2" style="text-align:left; font-weight:normal; background:gainsboro;">'''Strength'''</th> | ||
+ | </tr> | ||
+ | <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 class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | ||
+ | {{{forces2}}}</td> | ||
+ | </tr> | ||
+ | <tr style="text-align:center;"> | ||
+ | <th style="text-align:center;" colspan="2" style="text-align:left; font-weight:normal; background:gainsboro;">'''Casualties'''</th> | ||
+ | </tr> | ||
+ | <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="33%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">{{{casual2}}}</td> | ||
+ | </tr> | ||
+ | <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;"> | ||
+ | <table border="0" cellpadding="0" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"> | ||
+ | <tr style="vertical-align:top;" style="text-align:center;"> | ||
+ | <td style="background:#00003c; color: white; vertical-align:top;">'''Next Battle''': {{{next}}}</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <noinclude>'''Below may not be needed''' [http://starwars.wikia.com/wiki/Template:Battle] | ||
For battles, use [[Template:battle]]. | For battles, use [[Template:battle]]. |
Current revision as of 13:15, 14 July 2008
{{{name}}} | |||
|
|||
|
|||
|
|||
|
|||
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
- 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= }}