Mudanças entre as edições de "Predefinição:Battlebox"

De Gelo e Fogo wiki
Ir para navegação Ir para pesquisar

 

m (uma edição)
 
Linha 5: Linha 5:
 
| caption      = <div style="width:100%; border-bottom: 1px solid #aaa;">{{{caption}}}</div>
 
| caption      = <div style="width:100%; border-bottom: 1px solid #aaa;">{{{caption}}}</div>
  
| label3 = Conflict
+
| label3 = Conflito
 
| data3 = {{{conflict}}}
 
| data3 = {{{conflict}}}
| label4        = Date
+
| label4        = Data
 
| data4        = {{{date}}}
 
| data4        = {{{date}}}
| label5 = Place
+
| label5 = Local
 
| data5 = {{{place}}}
 
| data5 = {{{place}}}
| label6 = Result
+
| label6 = Resultado
 
| data6         = {{{result}}}
 
| data6         = {{{result}}}
  
Linha 17: Linha 17:
 
<table style="width:100%; text-align:left;">
 
<table style="width:100%; text-align:left;">
 
{{#if:{{{combatant1|}}}{{{combatant2<includeonly>|</includeonly>}}}|
 
{{#if:{{{combatant1|}}}{{{combatant2<includeonly>|</includeonly>}}}|
<tr><td colspan=2 Style="background-color: #B0C4DE; text-align: center;">'''Combatants'''</td></tr>
+
<tr><td colspan=2 Style="background-color: #B0C4DE; text-align: center;">'''Combatente'''</td></tr>
 
<tr><td width=50% Style="border-right:1px dotted #aaa;">{{{combatant1}}}</td>
 
<tr><td width=50% Style="border-right:1px dotted #aaa;">{{{combatant1}}}</td>
 
     <td width=50%                                      >{{{combatant2}}}</td></tr>
 
     <td width=50%                                      >{{{combatant2}}}</td></tr>
 
}}
 
}}
 
{{#if:{{{commander1|}}}{{{commander2<includeonly>|</includeonly>}}}|
 
{{#if:{{{commander1|}}}{{{commander2<includeonly>|</includeonly>}}}|
<tr><td colspan=2 Style="background-color: #B0C4DE; text-align: center;">'''Commanders'''</td></tr>
+
<tr><td colspan=2 Style="background-color: #B0C4DE; text-align: center;">'''Comandantes'''</td></tr>
 
<tr><td width=50% Style="border-right:1px dotted #aaa;">{{{commander1}}}</td>
 
<tr><td width=50% Style="border-right:1px dotted #aaa;">{{{commander1}}}</td>
 
     <td width=50%>                                      {{{commander2}}}</td></tr>
 
     <td width=50%>                                      {{{commander2}}}</td></tr>
 
}}  
 
}}  
 
{{#if:{{{strength1|}}}{{{strength2<includeonly>|</includeonly>}}}|
 
{{#if:{{{strength1|}}}{{{strength2<includeonly>|</includeonly>}}}|
<tr><td colspan=2 Style="background-color: #B0C4DE; text-align: center;">'''Strength'''</td></tr>
+
<tr><td colspan=2 Style="background-color: #B0C4DE; text-align: center;">'''Forças'''</td></tr>
 
<tr><td width=50% Style="border-right:1px dotted #aaa;">{{{strength1}}}</td>
 
<tr><td width=50% Style="border-right:1px dotted #aaa;">{{{strength1}}}</td>
 
     <td width=50%>                                      {{{strength2}}}</td></tr>
 
     <td width=50%>                                      {{{strength2}}}</td></tr>
 
}}
 
}}
 
{{#if:{{{casualties1|}}}{{{casualties2<includeonly>|</includeonly>}}}|
 
{{#if:{{{casualties1|}}}{{{casualties2<includeonly>|</includeonly>}}}|
<tr><td colspan=2 Style="background-color: #B0C4DE; text-align: center;">'''Casualties'''</td></tr>
+
<tr><td colspan=2 Style="background-color: #B0C4DE; text-align: center;">'''Baixas'''</td></tr>
 
<tr><td width=50% Style="border-right:1px dotted #aaa;">{{{casualties1}}}</td>
 
<tr><td width=50% Style="border-right:1px dotted #aaa;">{{{casualties1}}}</td>
 
     <td width=50%>                                      {{{casualties2}}}</td></tr>
 
     <td width=50%>                                      {{{casualties2}}}</td></tr>
Linha 38: Linha 38:
 
</table>
 
</table>
 
}}<noinclude>
 
}}<noinclude>
 
<!--Please do not make major changes to the infobox without proposing and discussing it on the talk page first.-->
 
  
 
===Usage===
 
===Usage===
Linha 69: Linha 67:
 
}}
 
}}
 
</pre>  
 
</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>
 
[[Category:Infobox templates|Battlebox]]</noinclude>

Edição das 13h36min de 4 de outubro de 2012

{{{battle_name}}}
No image.jpg
{{{caption}}}
Conflito {{{conflict}}}
Data {{{date}}}
Local {{{place}}}
Resultado {{{result}}}
Combatente
{{{combatant1}}} {{{combatant2}}}
Comandantes
{{{commander1}}} {{{commander2}}}
Forças
{{{strength1}}} {{{strength2}}}
Baixas
{{{casualties1}}} {{{casualties2}}}

Usage

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