Template:Infobox military conflict: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary Tag: Manual revert |
||
(46 intermediate revisions by 3 users not shown) | |||
Line 3:
| bodystyle = width:305px;
| labelstyle = width:100px;
|
|
| caption = {{{caption|}}}
|label1 = Abilities
|data1 = {{{abilities|}}}
|label2 = Date
|data2 = {{{date|}}}
|label3 = Place
|data3 = {{{place|}}}
|label4 = Coordinates
|data4 = {{{coords|}}}
|label5 = Territory
|data5 = {{{territory|}}}
|label6 = Result
|data6 = {{{results|}}}
| header7 = Belligerents
| data8 = {{#if:{{{phase1|}}}| <center> {{{phase1|}}} </center><hr>}}
{{#if:{{{side1|}}}{{{side2|}}}{{{side3|}}}{{{side4|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left; display:inline-table;">
{{#if:{{{side1|}}}{{{side2|}}}{{{side3|}}}{{{side4|}}}|<tr>
<td style="{{#if:{{{side2|}}}{{{side3|}}}{{{side4|}}}|width:{{#if:{{{side4|}}}|25%|33%|50%}};}}"><div>
{{{side1|}}}</div></td>
{{#if:{{{side2|}}}|<td style="width:{{#if:{{{side4|}}}|25%|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{side2}}}</div></td>}}
{{#if:{{{side3|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{side3}}}</div></td>}}
{{#if:{{{side4|}}}|<td style="width:25%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{side4}}}</div></td>
}}</tr>
}}</table>}}
{{#if:{{{side1a|}}}|<hr>}}
| data9 = {{#if:{{{phase2|}}}| <center> {{{phase2|}}} </center><hr>}}
{{#if:{{{side1a|}}}{{{side2a|}}}{{{side3a|}}}{{{side4a|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left; display:inline-table;">
{{#if:{{{side1a|}}}{{{side2a|}}}{{{side3a|}}}{{{side4a|}}}|<tr>
<td style="{{#if:{{{side2|}}}{{{side3|}}}{{{side4|}}}|width:{{#if:{{{side4|}}}|25%|33%|50%}};}}"><div>
{{{side1a|}}}</div></td>
{{#if:{{{side2a|}}}|<td style="width:{{#if:{{{side4|}}}|25%|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{side2a}}}</div></td>}}
{{#if:{{{side3a|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{side3a}}}</div></td>}}
{{#if:{{{side4a|}}}|<td style="width:25%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{side4a}}}</div></td>
}}</tr>
}}</table>}}
{{#if:{{{side1b|}}}|<hr>}}
|data10 = {{#if:{{{phase3|}}}| <center> {{{phase3|}}} </center><hr>}}
{{#if:{{{side1b|}}}{{{side2b|}}}{{{side3b|}}}{{{side4b|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left; display:inline-table;">
{{#if:{{{side1b|}}}{{{side2b|}}}{{{side3b|}}}{{{side4b|}}}|<tr>
<td style="{{#if:{{{side2|}}}{{{side3|}}}{{{side4|}}}|width:{{#if:{{{side4|}}}|25%|33%|50%}};}}"><div>
{{{side1b|}}}</div></td>
{{#if:{{{side2b|}}}|<td style="width:{{#if:{{{side4|}}}|25%|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{side2b}}}</div></td>}}
{{#if:{{{side3b|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{side3b}}}</div></td>}}
{{#if:{{{side4b|}}}|<td style="width:25%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{side4b}}}</div></td>
}}</tr>
}}</table>}}
| header11 = Leaders
|data12 = {{#if:{{{phase1|}}}| {{#if:{{{leaders1a|}}}{{{leaders2a|}}}{{{leaders3a|}}}{{{leaders4a|}}}| <center> {{{phase1|}}} </center><hr>}}}}
{{#if:{{{leaders1|}}}{{{leaders2|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left; display:inline-table;{{#if:{{{side3|}}}||{{#if:{{{leaders3|}}}|border-bottom:1px dotted #aaa}}}}"><tr>
<td style="{{#if:{{{side2|}}}{{{side3|}}}{{{side4|}}}|width:{{#if:{{{side4|}}}|25%|33%|50%}};}}"><div>
{{{leaders1|}}}</div></td>
<td style="width:{{#if:{{{side4|}}}|25%|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{leaders2|}}}</div></td>
{{#if:{{{side3|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{leaders3|}}}</div></td>}}
{{#if:{{{side4|}}}|<td style="width:25%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{leaders4|}}}</div></td>
}}</tr></table>}}
{{#if:{{{leaders1a|}}}|<hr>}}
| data13 = {{#if:{{{side4|}}}||{{{leaders4|}}}}}
| data14 = {{#if:{{{leaders1a|}}}{{{leaders2a|}}}{{{leaders3a|}}}{{{leaders4a|}}}| <center> {{{phase2|}}} </center> <hr>}}
{{#if:{{{leaders1a|}}}{{{leaders2a|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left; display:inline-table;{{#if:{{{side3a|}}}||{{#if:{{{leaders3a|}}}|border-bottom:1px dotted #aaa}}}}"><tr>
<td style="{{#if:{{{side2a|}}}{{{side3a|}}}{{{side4a|}}}|width:{{#if:{{{side4a|}}}|25%|33%|50%}};}}"><div>
{{{leaders1a|}}}</div></td>
<td style="width:{{#if:{{{side4a|}}}|25%|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{leaders2a|}}}</div></td>
{{#if:{{{side3a|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{leaders3a|}}}</div></td>}}
{{#if:{{{side4a|}}}|<td style="width:25%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{leaders4a|}}}</div></td>
}}</tr></table>}}
{{#if:{{{leaders1b|}}}|<hr>}}
| data15 = {{#if:{{{side4a|}}}||{{{leaders4a|}}}}}
| data16 = {{#if:{{{leaders1b|}}}{{{leaders2b|}}}{{{leaders3b|}}}{{{leaders4b|}}}| <center> {{{phase3|}}} </center> <hr>}}
{{#if:{{{leaders1b|}}}{{{leaders2b|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left; display:inline-table;{{#if:{{{side3b|}}}||{{#if:{{{leaders3b|}}}|border-bottom:1px dotted #aaa}}}}"><tr>
<td style="{{#if:{{{side2b|}}}{{{side3b|}}}{{{side4b|}}}|width:{{#if:{{{side4b|}}}|25%|33%|50%}};}}"><div>
{{{leaders1b|}}}</div></td>
<td style="width:{{#if:{{{side4b|}}}|25%|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{leaders2b|}}}</div></td>
{{#if:{{{side3b|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{leaders3b|}}}</div></td>}}
{{#if:{{{side4b|}}}|<td style="width:25%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{leaders4b|}}}</div></td>
}}</tr></table>}}
| data17 = {{#if:{{{side4b|}}}||{{{leaders4b|}}}}}
| header18 = {{#if:{{{outcomes1|}}}{{{outcomes2|}}}|Outcomes}}
|data19 =
{{#if:{{{outcomes1|}}}{{{outcomes2|}}}
|<table style="width:100%; border-spacing:0; margin:0; text-align:left; display:inline-table;{{#if:{{{side3|}}}||{{#if:{{{outcomes3|}}}|border-bottom:1px dotted #aaa}}}}"><tr>
<td style="{{#if:{{{side2|}}}{{{side3|}}}{{{side4|}}}|width:{{#if:{{{side4|}}}|25%|33%|50%}};}}"><div>
{{{outcomes1|}}}</div></td>
<td style="width:{{#if:{{{side4|}}}|25%|33%|50%}}; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{outcomes2|}}}</div></td>
{{#if:{{{side3|}}}|<td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{outcomes3|}}}</div></td>}}
{{#if:{{{side4|}}}|<td style="width:25%; padding-left:0.25em; border-left:1px dotted #aaa"><div>
{{{outcomes4|}}}</div></td>
}}</tr></table>}} {{#if:{{{notes|}}}|<hr>}}
| data20 = {{#if:{{{side4|}}}||{{{outcomes4|}}}}}
|label21 = Notes
|data21 = {{{notes|}}}
| abovestyle = {{{Abovestyle|background-color:#4DB6B0;color:#061016;}}}
| headerstyle = {{{Headerstyle|background-color:#4DB6B0;color:#061016;}}}
}} <noinclude>
{{/doc}}
[[Category:Infobox Templates]]
[[Category:Templates]]
|
Latest revision as of 03:03, 23 June 2024
Infobox military conflict | |
---|---|
Belligerents | |
Leaders |
Documentation[edit source]
If a conflict does not have the required parameter, leave the parameter blank. It will not show up in the page once left blank.
{{Infobox military conflict | partof = | image = | caption = | abilities = | date = | place = | coordinates = | territory = | results = | phase1 = | phase2 = | phase3 = | side1 = | side2 = | side3 = | side4 = <!-- alternate phase 1 --> | side1a = | side2a = | side3a = | side4a = <!-- alternate phase 2 --> | side1b = | side2b = | side3b = | side4b = | leaders1 = | leaders2 = | leaders3 = | leaders4 = <!-- alternate phase leaders 1 --> | leaders1a = | leaders2a = | leaders3a = | leaders4a = <!-- alternate phase leaders 2 --> | leaders1b = | leaders2b = | leaders3b = | leaders4b = | outcomes1 = | outcomes2 = | outcomes3 = | outcomes4 = | notes = }}