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 19: Linha 19:
 
-->{{#if:{{{combatant3|}}}{{{combatant4|}}}{{{combatant5|}}}|
 
-->{{#if:{{{combatant3|}}}{{{combatant4|}}}{{{combatant5|}}}|
 
<table class="collapsible uncollapsed wikitable" width=100% style="text-align:left; background:none"><!--
 
<table class="collapsible uncollapsed wikitable" width=100% style="text-align:left; background:none"><!--
--><tr><th colspan="2" style="background:#B0C4DE; color:#ffffff;text-align:center;">Beligerantes</th></th><!--
+
--><tr><th colspan="2" style="background:#B0C4DE;text-align:center;">Beligerantes</th></th><!--
 
-->{{#if: {{{combatant1|}}}|<tr><td>1. {{{combatant1}}}</td></tr>}}<!--
 
-->{{#if: {{{combatant1|}}}|<tr><td>1. {{{combatant1}}}</td></tr>}}<!--
 
-->{{#if: {{{combatant2|}}}|<tr><td>2. {{{combatant2}}}</td></tr>}}<!--
 
-->{{#if: {{{combatant2|}}}|<tr><td>2. {{{combatant2}}}</td></tr>}}<!--
Linha 26: Linha 26:
 
-->{{#if: {{{combatant5|}}}|<tr><td>5. {{{combatant5}}}</td></tr>}}</table>
 
-->{{#if: {{{combatant5|}}}|<tr><td>5. {{{combatant5}}}</td></tr>}}</table>
 
<table class="collapsible collapsed wikitable" width=100% style="text-align:left; background:none"><!--
 
<table class="collapsible collapsed wikitable" width=100% style="text-align:left; background:none"><!--
--><tr><th colspan="2" style="background:#B0C4DE; color:#ffffff;text-align:center;">Comandantes notáveis</th></tr><!--
+
--><tr><th colspan="2" style="background:#B0C4DE;text-align:center;">Comandantes notáveis</th></tr><!--
 
-->{{#if: {{{commander1|}}}|<tr><td>1. {{{commander1}}}</td></tr>}}<!--
 
-->{{#if: {{{commander1|}}}|<tr><td>1. {{{commander1}}}</td></tr>}}<!--
 
-->{{#if: {{{commander2|}}}|<tr><td>2. {{{commander2}}}</td></tr>}}<!--
 
-->{{#if: {{{commander2|}}}|<tr><td>2. {{{commander2}}}</td></tr>}}<!--
Linha 33: Linha 33:
 
-->{{#if: {{{commander5|}}}|<tr><td>5. {{{commander5}}}</td></tr>}}</table>
 
-->{{#if: {{{commander5|}}}|<tr><td>5. {{{commander5}}}</td></tr>}}</table>
 
<table class="collapsible collapsed wikitable" width=100% style="text-align:left; background:none"><!--
 
<table class="collapsible collapsed wikitable" width=100% style="text-align:left; background:none"><!--
--><tr><th colspan="2" style="background:#B0C4DE; color:#ffffff;text-align:center;">Forças</th></tr><!--
+
--><tr><th colspan="2" style="background:#B0C4DE;text-align:center;">Forças</th></tr><!--
 
-->{{#if: {{{strength1|}}}|<tr><td>1. {{{strength1}}}</td></tr>}}<!--
 
-->{{#if: {{{strength1|}}}|<tr><td>1. {{{strength1}}}</td></tr>}}<!--
 
-->{{#if: {{{strength2|}}}|<tr><td>2. {{{strength2}}}</td></tr>}}<!--
 
-->{{#if: {{{strength2|}}}|<tr><td>2. {{{strength2}}}</td></tr>}}<!--
Linha 40: Linha 40:
 
-->{{#if: {{{strength5|}}}|<tr><td>5. {{{strength5}}}</td></tr>}}</table>
 
-->{{#if: {{{strength5|}}}|<tr><td>5. {{{strength5}}}</td></tr>}}</table>
 
<table class="collapsible collapsed wikitable" width=100% style="text-align:left; background:none"><!--
 
<table class="collapsible collapsed wikitable" width=100% style="text-align:left; background:none"><!--
--><tr><th colspan="2" style="background:#B0C4DE; color:#ffffff;text-align:center;">Perdas</th></tr><!--
+
--><tr><th colspan="2" style="background:#B0C4DE;text-align:center;">Perdas</th></tr><!--
 
-->{{#if: {{{losses1|}}}|<tr><td>1. {{{losses1}}}</td></tr>}}<!--
 
-->{{#if: {{{losses1|}}}|<tr><td>1. {{{losses1}}}</td></tr>}}<!--
 
-->{{#if: {{{losses2|}}}|<tr><td>2. {{{losses2}}}</td></tr>}}<!--
 
-->{{#if: {{{losses2|}}}|<tr><td>2. {{{losses2}}}</td></tr>}}<!--
Linha 51: Linha 51:
 
============================================================  
 
============================================================  
 
--><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; color:#ffffff;text-align:center;">Beligerantes</td></tr>
+
   <tr><th 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; color:#ffffff;text-align:center;">Comandantes notáveis</td></tr>
+
   <tr><th 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; color:#ffffff;text-align:center;">Forças</td></tr>
+
   <tr><th 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; color:#ffffff;text-align:center;">Perdas</td></tr>
+
   <tr><th 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 17h39min 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.