Template:InfoboxConflict: Difference between revisions

From Universe Wiki | Dawn of Victory 2289
Jump to navigation Jump to search
No edit summary
No edit summary
 
(49 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="3" {{!}} {{{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="3" | {{#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;" colspan="3" {{!}}
| 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;" colspan="3" {{!}}
| 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;" colspan="3" {{!}}
| 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="3" {{!}}
! 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;" colspan="3" {{!}}
|-
'''{{{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;" colspan="3" {{!}}
| 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
! style="background:{{{fieldBG|#1B4236}}}; color:#fff; text-align:center;" {{!}} '''Side 1'''
|-
! style="background:{{{fieldBG|#1B4236}}}; color:#fff; text-align:center;" {{!}} '''Side 2'''
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''{{{group1_leaders_header|Main leaders ({{{group1_header|Group 1}}}):}}}'''
! style="background:{{{fieldBG|#1B4236}}}; color:#fff; text-align:center;" {{!}} '''Side 3'''
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''{{{group2_leaders_header|Main leaders ({{{group2_header|Group 2}}}):}}}'''
{{!}}-
|-
{{#if:{{{side1|}}}{{{side2|}}}{{{side3|}}}|
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | {{{group1_leaders|}}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border: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;" | {{{group2_leaders|}}}
{{{side1|}}}
|-
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border: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}}};" | Casualties and losses
{{{side2|}}}
|-
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border: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|}}}
{{{side3|}}}
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Total dead:'''<br>{{{total_dead_group2|}}}
{{!}}-}}
|}
{{#if:{{{side1_leaders|}}}{{{side2_leaders|}}}{{{side3_leaders|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border:0px solid {{{lineBG|#fff}}}; color:#fff; padding:10px 0 0 20px; line-height:14px;" {{!}}
'''{{{side1_leaders-title|Leaders}}}:'''
{{{side1_leaders|}}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border:0px solid {{{lineBG|#fff}}}; color:#fff; padding:10px 0 0 20px; line-height:14px;" {{!}}
'''{{{side2_leaders-title|Leaders}}}:'''
{{{side2_leaders|}}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border:0px solid {{{lineBG|#fff}}}; color:#fff; padding:10px 0 0 20px; line-height:14px;" {{!}}
'''{{{side3_leaders-title|Leaders}}}:'''
{{{side3_leaders|}}}
{{!}}-}}
{{#if:{{{side1_forces|}}}{{{side2_forces|}}}{{{side3_forces|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border:0px solid {{{lineBG|#fff}}}; color:#fff; padding:10px 0 0 20px; line-height:14px;" {{!}}
'''{{{side1_forces-title|Forces}}}:'''
{{{side1_forces|}}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border:0px solid {{{lineBG|#fff}}}; color:#fff; padding:10px 0 0 20px; line-height:14px;" {{!}}
'''{{{side2_forces-title|Forces}}}:'''
{{{side2_forces|}}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border:0px solid {{{lineBG|#fff}}}; color:#fff; padding:10px 0 0 20px; line-height:14px;" {{!}}
'''{{{side3_forces-title|Forces}}}:'''
{{{side3_forces|}}}
{{!}}-}}
{{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border:0px solid {{{lineBG|#fff}}}; color:#fff; padding:10px 0 0 20px; line-height:14px;" {{!}}
'''{{{casualties1-title|Casualties}}}:'''
{{{casualties1|}}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border:0px solid {{{lineBG|#fff}}}; color:#fff; padding:10px 0 0 20

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: