Template:InfoboxConflict: Difference between revisions

From Universe Wiki | Dawn of Victory 2289
Jump to navigation Jump to search
(Created page with "<noinclude><pre> {{InfoboxConflict | image = | imageBG = | name = | nameBG = | color2 = | date = | place = | result = | side1 = | side1_leaders = | side1_forces = | side2 = | side2_leaders = | side2_forces = | side3 = | side3_leaders = | side3_forces = | casualties1 = | casualties2 = | casualties3 = | notes = | references = }} </pre></noinclude> {| class="infobox" cellspacing="0" cellpadding="0" style="float:right; clear:right; width:350px; padding...")
 
No edit summary
 
(58 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><pre>
<noinclude>
== Usage ==
 
To use this infobox template, copy and paste the code below into your article and fill in the fields:
 
<pre>
{{InfoboxConflict
{{InfoboxConflict
| image =  
| BG = #153229
| imageBG =  
| image = Example.jpg
| name =  
| imageBG = #153229
| nameBG =  
| nameBG = #153229
| color2 =  
| color2 = #fff
| date =  
| name = Example Conflict
| place =  
| date = January 1, 2024
| result =  
| location = Example Location
| side1 =  
| result = Example Result
| side1_leaders =  
| headerBG = #1B4236
| side1_forces =  
| cellBG = #1B4236
| side2 =  
| group1_header = Group 1
| side2_leaders =  
| group2_header = Group 2
| side2_forces =  
| group1 = Example Group 1
| side3 =  
| group2 = Example Group 2
| side3_leaders =  
| group1_leaders_header = Main leaders (Group 1)
| side3_forces =  
| group2_leaders_header = Main leaders (Group 2)
| casualties1 =  
| group1_leaders = Leader 1, Leader 2
| casualties2 =  
| group2_leaders = Leader A, Leader B
| casualties3 =  
| military_dead_group1 = 100
| notes =  
| military_dead_group2 = 200
| references =  
| civilian_dead_group1 = 50
| civilian_dead_group2 = 75
| total_dead_group1 = 150
| total_dead_group2 = 275
}}
}}
</pre></noinclude>
</pre>
</noinclude>


{| class="infobox" cellspacing="0" cellpadding="0" style="float:right; clear:right; width:350px; padding:10px 2px; background:{{{BG|#153229}}};"
{| class="infobox" cellspacing="0" cellpadding="10px" style="float:right; clear:right; width:375px; padding:10px; background:{{{BG|#153229}}};"
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#153229}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}}
! style="background:{{{imageBG|#153229}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}}
}}
}}
{{!}}-
|-
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! colspan="2" style="background:{{{nameBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; font-size:120%; border-bottom:0px solid {{{lineBG|#999999}}};" | {{{name|{{PAGENAME}}}}}
{{!}}-
|-
{{#if:{{{date|}}}|
| style="background:{{{cellBG|#1B4236}}}; color:{{{color2|#fff}}}; text-align:left; padding: 10px 0 10px 20px; line-height:14px; width:100px; font-weight:bold;" | Date
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
| style="text-align:left; background:{{{cellBG|#1B4236}}}; padding: 10px 0 10px 20px; line-height:14px;" | {{{date|}}}
'''{{{date-title|Date}}}''':
|-
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
| style="background:{{{cellBG|#1B4236}}}; color:{{{color2|#fff}}}; text-align:left; padding: 10px 0 10px 20px; line-height:14px; width:100px; font-weight:bold;" | Location
{{{date|}}}
| style="text-align:left; background:{{{cellBG|#1B4236}}}; padding: 10px 0 10px 20px; line-height:14px;" | {{{location|}}}
{{!}}-}}
|-
{{#if:{{{place|}}}|
| style="background:{{{cellBG|#1B4236}}}; color:{{{color2|#fff}}}; text-align:left; padding: 10px 0 10px 20px; line-height:14px; width:100px; font-weight:bold;" | Result
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
| style="text-align:left; background:{{{cellBG|#1B4236}}}; padding: 10px 0 10px 20px; line-height:14px;" | {{{result|}}}
'''{{{place-title|Place}}}''':
|-
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
! colspan="2" style="background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}};" | Participants
{{{place|}}}
|-
{{!}}-}}
| style="text-align:left; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px; width:50%;" | '''{{{group1_header|Group 1}}}'''
{{#if:{{{result|}}}|
| style="text-align:left; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px; width:50%;" | '''{{{group2_header|Group 2}}}'''
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
|-
'''{{{result-title|Result}}}''':
| style="text-align:left; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | {{{group1|}}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
| style="text-align:left; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | {{{group2|}}}
{{{result|}}}
|-
{{!}}-}}
! colspan="2" style="background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}};" | Commanders and leaders
{{#if:{{{side1|}}}|
|-
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''{{{group1_leaders_header|Main leaders ({{{group1_header|Group 1}}}):}}}'''
'''{{{side1-title|Side 1}}}''':
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''{{{group2_leaders_header|Main leaders ({{{group2_header|Group 2}}}):}}}'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
|-
{{{side1|}}}
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | {{{group1_leaders|}}}
{{!}}-}}
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | {{{group2_leaders|}}}
{{#if:{{{side1_leaders|}}}|
|-
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
! colspan="2" style="background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}};" | Casualties and losses
'''{{{side1_leaders-title|Side 1 Leaders}}}''':
|-
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Total dead:'''<br>{{{total_dead_group1|}}}
{{{side1_leaders|}}}
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Total dead:'''<br>{{{total_dead_group2|}}}
{{!}}-}}
{{#if:{{{side1_forces|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{side1_forces-title|Side 1 Forces}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{{side1_forces|}}}
{{!}}-}}
{{#if:{{{side2|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{side2-title|Side 2}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{{side2|}}}
{{!}}-}}
{{#if:{{{side2_leaders|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{side2_leaders-title|Side 2 Leaders}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{{side2_leaders|}}}
{{!}}-}}
{{#if:{{{side2_forces|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{side2_forces-title|Side 2 Forces}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{{side2_forces|}}}
{{!}}-}}
{{#if:{{{side3|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border
 
-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{side3-title|Side 3}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{{side3|}}}
{{!}}-}}
{{#if:{{{side3_leaders|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{side3_leaders-title|Side 3 Leaders}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{{side3_leaders|}}}
{{!}}-}}
{{#if:{{{side3_forces|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{side3_forces-title|Side 3 Forces}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{{side3_forces|}}}
{{!}}-}}
{{#if:{{{casualties1|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{casualties1-title|Casualties Side 1}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{{casualties1|}}}
{{!}}-}}
{{#if:{{{casualties2|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{casualties2-title|Casualties Side 2}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{{casualties2|}}}
{{!}}-}}
{{#if:{{{casualties3|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{casualties3-title|Casualties Side 3}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{{casualties3|}}}
{{!}}-}}
{{#if:{{{notes|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{notes-title|Notes}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{{notes|}}}
{{!}}-}}
{{#if:{{{references|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{references-title|References}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{{references|}}}
{{!}}-}}
|}
|}
```

Latest revision as of 06:56, 27 August 2024

Usage

To use this infobox template, copy and paste the code below into your article and fill in the fields:

{{InfoboxConflict
| BG = #153229
| image = Example.jpg
| imageBG = #153229
| nameBG = #153229
| color2 = #fff
| name = Example Conflict
| date = January 1, 2024
| location = Example Location
| result = Example Result
| headerBG = #1B4236
| cellBG = #1B4236
| group1_header = Group 1
| group2_header = Group 2
| group1 = Example Group 1
| group2 = Example Group 2
| group1_leaders_header = Main leaders (Group 1)
| group2_leaders_header = Main leaders (Group 2)
| group1_leaders = Leader 1, Leader 2
| group2_leaders = Leader A, Leader B
| military_dead_group1 = 100
| military_dead_group2 = 200
| civilian_dead_group1 = 50
| civilian_dead_group2 = 75
| total_dead_group1 = 150
| total_dead_group2 = 275
}}


InfoboxConflict
Date
Location
Result
Participants
Group 1 Group 2
Commanders and leaders
Main leaders (Group 1): Main leaders (Group 2):
Casualties and losses
Total dead:
Total dead: