Mudanças entre as edições de "Predefinição:Infobox Military Conflict"

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

 

Linha 63: Linha 63:
 
============================================================  
 
============================================================  
 
--><table width=100% style="text-align:left; background:none">
 
--><table width=100% style="text-align:left; background:none">
   <tr><td width=50% colspan="2" style="background:#B0C4DE; text-align:center;">Beligerantes</td></tr>
+
   <tr><td width=50% colspan="2" style="background:#B0C4DE; text-align:center;">'''Beligerantes'''</td></tr>
 
   <tr><td width=50% >{{{combatant1}}}</td><td style="border-left: 1px dotted #aaa;">{{{combatant2}}}</td></tr>
 
   <tr><td width=50% >{{{combatant1}}}</td><td style="border-left: 1px dotted #aaa;">{{{combatant2}}}</td></tr>
 
{{#if: {{{commander1|}}}{{{commander2|}}}|
 
{{#if: {{{commander1|}}}{{{commander2|}}}|
   <tr><td colspan="2" style="background:#B0C4DE; text-align:center;">Comandantes notáveis</td></tr>
+
   <tr><td colspan="2" style="background:#B0C4DE; text-align:center;">'''Comandantes notáveis'''</td></tr>
 
   <tr><td>{{{commander1}}}</td><td style="border-left: 1px dotted #aaa;">{{{commander2}}}</td></tr>
 
   <tr><td>{{{commander1}}}</td><td style="border-left: 1px dotted #aaa;">{{{commander2}}}</td></tr>
 
}}
 
}}
 
{{#if: {{{strength1|}}}{{{strength2|}}}|
 
{{#if: {{{strength1|}}}{{{strength2|}}}|
   <tr><td colspan="2" style="background:#B0C4DE; text-align:center;">Forças</td></tr>
+
   <tr><td colspan="2" style="background:#B0C4DE; text-align:center;">'''Forças'''</td></tr>
 
   <tr><td>{{{strength1}}}</td><td style="border-left: 1px dotted #aaa;">{{{strength2}}}</td></tr>
 
   <tr><td>{{{strength1}}}</td><td style="border-left: 1px dotted #aaa;">{{{strength2}}}</td></tr>
 
}}
 
}}
 
{{#if: {{{losses1|}}}{{{losses2|}}}|
 
{{#if: {{{losses1|}}}{{{losses2|}}}|
   <tr><td colspan="2" style="background:#B0C4DE; text-align:center;">Perdas</td></tr>
+
   <tr><td colspan="2" style="background:#B0C4DE; text-align:center;">'''Perdas'''</td></tr>
 
   <tr><td>{{{losses1}}}</td><td style="border-left: 1px dotted #aaa;">{{{losses2}}}</td></tr>
 
   <tr><td>{{{losses1}}}</td><td style="border-left: 1px dotted #aaa;">{{{losses2}}}</td></tr>
 
}}
 
}}

Edição das 18h03min de 29 de outubro de 2016

{{{conflict_name}}}
No image.jpg


Beligerantes
{{{combatant1}}}{{{combatant2}}}

Usage

{{Infobox Military Conflict
| conflict_name          =
| part_of                =
| image                  =
| image2                 =
| caption                =
| date                   =
| battles                =
| location               =
| result                 =
<!-- combatant 1 --> 
| combatant1             =
| commander1             =
| strength1              =
| losses1                =
<!-- combatant 2 --> 
| combatant2             =
| commander2             =
| strength2              =
| losses2                =
<!-- combatant 3 --> 
| combatant3             =
| commander3             =
| strength3              =
| losses3                =
<!-- combatant 4 --> 
| combatant4             =
| commander4             =
| strength4              =
| losses4                =
<!-- combatant 5 --> 
| combatant5             =
| commander5             =
| strength5              =
| losses5                =
}}


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