Abrir menu principal

Mudanças

 

2 635 bytes adicionados ,  23h10min de 19 de julho de 2012
m
uma edição
{{Infobox
| above = {{{battle_name<includeonly>|{{PAGENAME}}</includeonly>}}}
| abovestyle = background: #B0C4DE; text-align:center;
| image = {{{image|[[Image:No_image.jpg|175px]]}}}
| caption = <div style="width:100%; border-bottom: 1px solid #aaa;">{{{caption}}}</div>

| label3 = Conflict
| data3 = {{{conflict}}}
| label4 = Date
| data4 = {{{date}}}
| label5 = Place
| data5 = {{{place}}}
| label6 = Result
| data6 = {{{result}}}

| data10 =
<table style="width:100%; text-align:left;">
{{#if:{{{combatant1|}}}{{{combatant2<includeonly>|</includeonly>}}}|
<tr><td colspan=2 Style="background-color: #B0C4DE; text-align: center;">'''Combatants'''</td></tr>
<tr><td width=50% Style="border-right:1px dotted #aaa;">{{{combatant1}}}</td>
<td width=50% >{{{combatant2}}}</td></tr>
}}
{{#if:{{{commander1|}}}{{{commander2<includeonly>|</includeonly>}}}|
<tr><td colspan=2 Style="background-color: #B0C4DE; text-align: center;">'''Commanders'''</td></tr>
<tr><td width=50% Style="border-right:1px dotted #aaa;">{{{commander1}}}</td>
<td width=50%> {{{commander2}}}</td></tr>
}}
{{#if:{{{strength1|}}}{{{strength2<includeonly>|</includeonly>}}}|
<tr><td colspan=2 Style="background-color: #B0C4DE; text-align: center;">'''Strength'''</td></tr>
<tr><td width=50% Style="border-right:1px dotted #aaa;">{{{strength1}}}</td>
<td width=50%> {{{strength2}}}</td></tr>
}}
{{#if:{{{casualties1|}}}{{{casualties2<includeonly>|</includeonly>}}}|
<tr><td colspan=2 Style="background-color: #B0C4DE; text-align: center;">'''Casualties'''</td></tr>
<tr><td width=50% Style="border-right:1px dotted #aaa;">{{{casualties1}}}</td>
<td width=50%> {{{casualties2}}}</td></tr>
}}
</table>
}}<noinclude>

<!--Please do not make major changes to the infobox without proposing and discussing it on the talk page first.-->

===Usage===
<pre style="width:35em">
{{Battlebox
| image =
| caption =
| battle_name =
| conflict =
| date = {{Date|xxx}}
| place =
| result =
| combatant1 =
| combatant2 =
| commander1 =
| commander2 =
| strength1 =
| strength2 =
| casualties1 =
| casualties2 =
| combatant1 =
| combatant2 =
| commander1 =
| commander2 =
| strength1 =
| strength2 =
| casualties1 =
| casualties2 =
}}
</pre>



Note:Parameters which get no value are not shown when the template is used.<br />
you can see a preview on your right side.

[[Category:Infobox templates|Battlebox]]</noinclude>