Template:InfoboxConflict: Difference between revisions

From Universe Wiki | Dawn of Victory 2289
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Tag: Manual revert
Line 35: Line 35:
</noinclude>
</noinclude>
{{{!}} class="infobox" cellspacing="0" style="border:solid 1px #E7CC75; float:right; clear:right; width:375px; background:{{{BG|#153229}}}; margin-left: 20px; margin-bottom: 20px"
{| class="infobox" cellspacing="0" style="border:solid 1px #E7CC75; float:right; clear:right; width:375px; background:{{{BG|#153229}}}; margin-left: 20px; margin-bottom: 20px"
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#153229}}}; text-align:center; border-bottom:solid 1px #E7CC75;" colspan="4" {{!}} {{{image|}}}
! style="background:{{{imageBG|#153229}}}; text-align:center; border-bottom:solid 1px #E7CC75;" colspan="4" {{!}} {{{image|}}}
}}
}}
{{!}}-
|-
! colspan="4" style="padding:5px; background:{{{nameBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; font-size:120%; border-bottom:solid 1px #E7CC75" {{!}} {{{name|{{PAGENAME}}}}}
! colspan="4" style="padding:5px; background:{{{nameBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; font-size:120%; border-bottom:solid 1px #E7CC75" | {{{name|{{PAGENAME}}}}}
{{!}}-
|-
     ! scope="row" colspan="1" style="text-align:left; padding: 5px 10px 5px 10px; line-height:14px; font-weight:bold" {{!}} Date
     ! scope="row" colspan="1" style="text-align:left; padding: 5px 10px 5px 10px; line-height:14px; font-weight:bold; width:25%" | Date
{{!}} colspan="3" style="text-align:left; vertical-align:top; transparent; padding: 10px 10px 5px 10px; line-height:14px" {{!}} {{{date|}}}
| colspan="3" style="text-align:left; vertical-align:top; transparent; padding: 10px 10px 5px 10px; line-height:14px; width:75%" | {{{date|}}}
{{!}}-
|-
     ! scope="row" colspan="1" style="text-align:left; padding: 5px 10px 5px 10px; line-height:14px; font-weight:bold" {{!}} Location
     ! scope="row" colspan="1" style="text-align:left; padding: 5px 10px 5px 10px; line-height:14px; font-weight:bold; width:25%" | Location
{{!}} colspan="3" style="text-align:left; vertical-align:top; transparent; padding: 5px 10px 5px 10px; line-height:14px" {{!}} {{{location|}}}
| colspan="3" style="text-align:left; vertical-align:top; transparent; padding: 5px 10px 5px 10px; line-height:14px; width:75%" | {{{location|}}}
{{!}}-
|-
! scope="row" colspan="1" style="text-align:left; padding: 5px 10px 5px 10px; line-height:14px; font-weight:bold" {{!}} Result
! scope="row" colspan="1" style="text-align:left; padding: 5px 10px 5px 10px; line-height:14px; font-weight:bold; width:25%" | Result
{{!}} colspan="3" style="text-align:left; vertical-align:top; transparent; padding: 5px 10px 10px 10px; line-height:14px" {{!}} {{{result|}}}
| colspan="3" style="text-align:left; vertical-align:top; transparent; padding: 5px 10px 10px 10px; line-height:14px; width:75%" | {{{result|}}}
{{!}}-
|-
! colspan="4" style="padding:5px; background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-top:solid 1px #E7CC75; border-bottom:solid 1px #E7CC75" {{!}} Participants
! colspan="4" style="padding:5px; background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-top:solid 1px #E7CC75; border-bottom:solid 1px #E7CC75" | Participants
{{!}}-
|-
{{!}} style="text-align:left; vertical-align:top; transparent; padding: 10px 0 0 10px; line-height:14px; border-right:solid 1px #E7CC75" {{!}} '''{{{group1_header|Group 1}}}'''
| style="text-align:left; vertical-align:top; transparent; padding: 10px 0 0 10px; line-height:14px; border-right:solid 1px #E7CC75; width:50%" | '''{{{group1_header|Group 1}}}'''
{{!}} style="text-align:left; vertical-align:top; transparent; padding: 10px 0 0 10px; line-height:14px" {{!}} '''{{{group2_header|Group 2}}}'''
| style="text-align:left; vertical-align:top; transparent; padding: 10px 0 0 10px; line-height:14px; width:50%" | '''{{{group2_header|Group 2}}}'''
{{!}}-
|-
{{!}} style="text-align:left; vertical-align:top; transparent; padding: 10px 0 0 10px; line-height:14px; border-right:solid 1px #E7CC75" {{!}} {{{group1|}}}
| style="text-align:left; vertical-align:top; transparent; padding: 10px 0 0 10px; line-height:14px; border-right:solid 1px #E7CC75; width:50%" | {{{group1|}}}
{{!}} style="text-align:left; vertical-align:top; transparent; padding: 10px 0 0 10px; line-height:14px" {{!}} {{{group2|}}}
| style="text-align:left; vertical-align:top; transparent; padding: 10px 0 0 10px; line-height:14px; width:50%" | {{{group2|}}}
{{!}}-
|-
! colspan="4" style="padding:5px; background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-top:solid 1px #E7CC75; border-bottom:solid 1px #E7CC75" {{!}} Commanders and leaders
! colspan="4" style="padding:5px; background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-top:solid 1px #E7CC75; border-bottom:solid 1px #E7CC75" | Commanders and leaders
{{!}}-
|-
{{!}} style="text-align:center; vertical-align:top; transparent; padding: 10px 10px 10px 5px; line-height:14px; border-right:solid 1px #E7CC75" {{!}} '''{{{group1_leaders_header|Main leaders ({{{group1_header|Group 1}}}):}}}'''
| style="text-align:center; vertical-align:top; transparent; padding: 10px 10px 10px 5px; line-height:14px; border-right:solid 1px #E7CC75" | '''{{{group1_leaders_header|Main leaders ({{{group1_header|Group 1}}}):}}}'''
{{!}} style="text-align:center; vertical-align:top; transparent; padding: 10px 10px 10px 5px; line-height:14px;" {{!}} '''{{{group2_leaders_header|Main leaders ({{{group2_header|Group 2}}}):}}}'''
| style="text-align:center; vertical-align:top; transparent; padding: 10px 10px 10px 5px; line-height:14px;" | '''{{{group2_leaders_header|Main leaders ({{{group2_header|Group 2}}}):}}}'''
{{!}}-
|-
{{!}} style="text-align:center; vertical-align:top; transparent; padding: 10px 10px 10px 5px; line-height:14px; border-right:solid 1px #E7CC75" {{!}} {{{group1_leaders|}}}
| style="text-align:center; vertical-align:top; transparent; padding: 10px 10px 10px 5px; line-height:14px; border-right:solid 1px #E7CC75" | {{{group1_leaders|}}}
{{!}} style="text-align:center; vertical-align:top; transparent; padding: 10px 10px 10px 5px; line-height:14px;" {{!}} {{{group2_leaders|}}}
| style="text-align:center; vertical-align:top; transparent; padding: 10px 10px 10px 5px; line-height:14px;" | {{{group2_leaders|}}}
{{!}}-
|-
! colspan="4" style="padding:5px; background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-top:solid 1px #E7CC75; border-bottom:solid 1px #E7CC75" {{!}} Casualties and losses
! colspan="4" style="padding:5px; background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-top:solid 1px #E7CC75; border-bottom:solid 1px #E7CC75" | Casualties and losses
{{!}}-
|-
{{!}} style="text-align:center; vertical-align:top; transparent; padding: 10px 10px 10px 20px; line-height:14px; border-right:solid 1px #E7CC75" {{!}} '''Total dead:'''<br>{{{total_dead_group1|}}}
| style="text-align:center; vertical-align:top; transparent; padding: 10px 10px 10px 20px; line-height:14px; border-right:solid 1px #E7CC75" | '''Total dead:'''<br>{{{total_dead_group1|}}}
{{!}} style="text-align:center; vertical-align:top; transparent; padding: 10px 10px 10px 20px; line-height:14px;" {{!}} '''Total dead:'''<br>{{{total_dead_group2|}}}
| style="text-align:center; vertical-align:top; transparent; padding: 10px 10px 10px 20px; line-height:14px;" | '''Total dead:'''<br>{{{total_dead_group2|}}}
|}
|}

Revision as of 16:46, 27 May 2025

== 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: