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)
 
m
 
(5 revisões intermediárias por 3 usuários não estão sendo mostradas)
Linha 2: Linha 2:
 
| above        = {{{battle_name<includeonly>|{{PAGENAME}}</includeonly>}}}  
 
| above        = {{{battle_name<includeonly>|{{PAGENAME}}</includeonly>}}}  
 
| abovestyle    = background: #B0C4DE; text-align:center;  
 
| abovestyle    = background: #B0C4DE; text-align:center;  
| image = {{{image|[[Image:No_image.jpg|175px]]}}}
+
| image = {{{image|[[Image:No_image.jpg|300px]]}}}
 
| 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;">'''Beligerantes'''</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 70: Linha 68:
 
</pre>  
 
</pre>  
  
 
+
<noinclude>[[Categoria:Predefinições de Infocaixa|Battlebox]]</noinclude>
 
 
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>
 

Edição atual tal como às 00h50min de 18 de maio de 2019

{{{battle_name}}}
No image.jpg
{{{caption}}}
Conflito {{{conflict}}}
Data {{{date}}}
Local {{{place}}}
Resultado {{{result}}}
Beligerantes
{{{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 =
}}