Mudanças entre as edições de "Predefinição:Infobox Military Conflict"
Ir para navegação
Ir para pesquisar
m |
|||
(5 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
Linha 2: | Linha 2: | ||
<!-- | bodystyle = {{{style|}}} shouldnt be needed but just in case--> | <!-- | bodystyle = {{{style|}}} shouldnt be needed but just in case--> | ||
| headerstyle = background:#B0C4DE; | | headerstyle = background:#B0C4DE; | ||
− | | header2 = {{{conflict_name}}} {{#if:{{{part_of|}}}|<br /><small>Parte de {{{part_of}}}</small> }} | + | | header2 = {{{conflict_name}}} {{#if:{{{part_of|}}}|<br /><small>Parte de(a) {{{part_of}}}</small> }} |
− | | data3 = {{{image|[[Image:No_image.jpg| | + | | data3 = {{{image|[[Image:No_image.jpg|300px]]}}} |
| data4 = {{#if: {{{caption|}}}| <center>{{{caption}}}</center><hr>}} | | data4 = {{#if: {{{caption|}}}| <center>{{{caption}}}</center><hr>}} | ||
| label6 = '''Data''' | | label6 = '''Data''' | ||
Linha 17: | Linha 17: | ||
If there is more than 2 combatants load this | If there is more than 2 combatants load this | ||
============================================================ | ============================================================ | ||
− | -->{{#if:{{{combatant3|}}}{{{combatant4|}}}{{{combatant5|}}}| | + | -->{{#if:{{{combatant3|}}}{{{combatant4|}}}{{{combatant5|}}}{{{combatant6|}}}{{{combatant7|}}}{{{combatant8|}}}| |
<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:# | + | --><tr><th colspan="2" style="background:#B0C4DE;text-align:center;">Belligerents</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>}}<!-- | ||
-->{{#if: {{{combatant3|}}}|<tr><td>3. {{{combatant3}}}</td></tr>}}<!-- | -->{{#if: {{{combatant3|}}}|<tr><td>3. {{{combatant3}}}</td></tr>}}<!-- | ||
-->{{#if: {{{combatant4|}}}|<tr><td>4. {{{combatant4}}}</td></tr>}}<!-- | -->{{#if: {{{combatant4|}}}|<tr><td>4. {{{combatant4}}}</td></tr>}}<!-- | ||
− | -->{{#if: {{{combatant5|}}}|<tr><td>5. {{{combatant5}}}</td></tr>}}</table> | + | -->{{#if: {{{combatant5|}}}|<tr><td>5. {{{combatant5}}}</td></tr>}}<!-- |
+ | -->{{#if: {{{combatant6|}}}|<tr><td>6. {{{combatant6}}}</td></tr>}}<!-- | ||
+ | -->{{#if: {{{combatant7|}}}|<tr><td>7. {{{combatant7}}}</td></tr>}}<!-- | ||
+ | -->{{#if: {{{combatant8|}}}|<tr><td>8. {{{combatant8}}}</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:# | + | --><tr><th colspan="2" style="background:#B0C4DE;text-align:center;">Notable commanders</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>}}<!-- | ||
-->{{#if: {{{commander3|}}}|<tr><td>3. {{{commander3}}}</td></tr>}}<!-- | -->{{#if: {{{commander3|}}}|<tr><td>3. {{{commander3}}}</td></tr>}}<!-- | ||
-->{{#if: {{{commander4|}}}|<tr><td>4. {{{commander4}}}</td></tr>}}<!-- | -->{{#if: {{{commander4|}}}|<tr><td>4. {{{commander4}}}</td></tr>}}<!-- | ||
− | -->{{#if: {{{commander5|}}}|<tr><td>5. {{{commander5}}}</td></tr>}}</table> | + | -->{{#if: {{{commander5|}}}|<tr><td>5. {{{commander5}}}</td></tr>}}<!-- |
+ | -->{{#if: {{{commander6|}}}|<tr><td>6. {{{commander6}}}</td></tr>}}<!-- | ||
+ | -->{{#if: {{{commander7|}}}|<tr><td>7. {{{commander7}}}</td></tr>}}<!-- | ||
+ | -->{{#if: {{{commander8|}}}|<tr><td>8. {{{commander8}}}</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:# | + | --><tr><th colspan="2" style="background:#B0C4DE; text-align:center;">Strength</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>}}<!-- | ||
-->{{#if: {{{strength3|}}}|<tr><td>3. {{{strength3}}}</td></tr>}}<!-- | -->{{#if: {{{strength3|}}}|<tr><td>3. {{{strength3}}}</td></tr>}}<!-- | ||
-->{{#if: {{{strength4|}}}|<tr><td>4. {{{strength4}}}</td></tr>}}<!-- | -->{{#if: {{{strength4|}}}|<tr><td>4. {{{strength4}}}</td></tr>}}<!-- | ||
− | -->{{#if: {{{strength5|}}}|<tr><td>5. {{{strength5}}}</td></tr>}}</table> | + | -->{{#if: {{{strength5|}}}|<tr><td>5. {{{strength5}}}</td></tr>}}<!-- |
+ | -->{{#if: {{{strength6|}}}|<tr><td>6. {{{strength6}}}</td></tr>}}<!-- | ||
+ | -->{{#if: {{{strength7|}}}|<tr><td>7. {{{strength7}}}</td></tr>}}<!-- | ||
+ | -->{{#if: {{{strength8|}}}|<tr><td>8. {{{strength8}}}</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:# | + | --><tr><th colspan="2" style="background:#B0C4DE; text-align:center;">Losses</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>}}<!-- | ||
-->{{#if: {{{losses3|}}}|<tr><td>3. {{{losses3}}}</td></tr>}}<!-- | -->{{#if: {{{losses3|}}}|<tr><td>3. {{{losses3}}}</td></tr>}}<!-- | ||
-->{{#if: {{{losses4|}}}|<tr><td>4. {{{losses4}}}</td></tr>}}<!-- | -->{{#if: {{{losses4|}}}|<tr><td>4. {{{losses4}}}</td></tr>}}<!-- | ||
− | -->{{#if: {{{losses5|}}}|<tr><td>5. {{{losses5}}}</td></tr>}}</table> | + | -->{{#if: {{{losses5|}}}|<tr><td>5. {{{losses5}}}</td></tr>}}<!-- |
+ | -->{{#if: {{{losses6|}}}|<tr><td>6. {{{losses6}}}</td></tr>}}<!-- | ||
+ | -->{{#if: {{{losses7|}}}|<tr><td>7. {{{losses7}}}</td></tr>}}<!-- | ||
+ | -->{{#if: {{{losses8|}}}|<tr><td>8. {{{losses8}}}</td></tr>}}</table> | ||
|<!-- | |<!-- | ||
============================================================ | ============================================================ | ||
Linha 51: | 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:# | + | <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:# | + | <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:# | + | <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:# | + | <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 atual tal como às 00h50min de 18 de maio de 2019
{{{conflict_name}}} | |||||
---|---|---|---|---|---|
Erro ao criar miniatura: Não foi possível salvar a miniatura no destino | |||||
|
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.