Template:InfoboxConflict: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
Line 1: | Line 1: | ||
Here is the succinct section showing how to use the template: | |||
```mediawiki | |||
<noinclude> | |||
==Usage== | |||
To use this template, copy the following code and fill in the parameters: | |||
<pre> | |||
{{Infobox event | |||
| image = | |||
| imageBG = | |||
| name = | |||
| nameBG = | |||
| color2 = | |||
| caption = | |||
| cellBG = | |||
| date = | |||
| location = | |||
| result = | |||
| headerBG = | |||
| lineBG = | |||
| group1 = | |||
| group2 = | |||
| group1_leaders_header = | |||
| group2_leaders_header = | |||
| group1_leaders = | |||
| group2_leaders = | |||
| military_dead_group1 = | |||
| military_dead_group2 = | |||
| civilian_dead_group1 = | |||
| civilian_dead_group2 = | |||
| total_dead_group1 = | |||
| total_dead_group2 = | |||
}} | |||
</pre> | |||
</noinclude> | |||
``` | |||
{| class="infobox" cellspacing="0" cellpadding="10px" style="float:right; clear:right; width:375px; padding:10px; background:{{{BG|#153229}}};" | {| class="infobox" cellspacing="0" cellpadding="10px" style="float:right; clear:right; width:375px; padding:10px; background:{{{BG|#153229}}};" | ||
{{!}}- | {{!}}- | ||
Line 20: | Line 58: | ||
! colspan="2" style="background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}};" | Participants | ! colspan="2" style="background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}};" | Participants | ||
|- | |- | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px; width:50%;" | ''' | | style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px; width:50%;" | '''Group 1''' | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px; width:50%;" | ''' | | style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px; width:50%;" | '''Group 2''' | ||
|- | |- | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | {{{ | | style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | {{{group1|}}} | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | {{{ | | style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | {{{group2|}}} | ||
|- | |- | ||
! colspan="2" style="background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}};" | Commanders and leaders | ! colspan="2" style="background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}};" | Commanders and leaders | ||
|- | |- | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | | | style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | '''{{{group1_leaders_header|Main leaders (Group 1):}}}''' | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | | | style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | '''{{{group2_leaders_header|Main leaders (Group 2):}}}''' | ||
|- | |- | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | {{{ | | style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | {{{group1_leaders|}}} | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | {{{ | | style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | {{{group2_leaders|}}} | ||
|- | |- | ||
! colspan="2" style="background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}};" | Casualties and losses | ! colspan="2" style="background:{{{headerBG|#153229}}}; color:{{{color2|#fff}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}};" | Casualties and losses | ||
|- | |- | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | <br>{{{ | | style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Military dead:'''<br>{{{military_dead_group1|}}} | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | <br>{{{ | | style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Military dead:'''<br>{{{military_dead_group2|}}} | ||
|- | |||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Civilian dead:'''<br>{{{civilian_dead_group1|}}} | |||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Civilian dead:'''<br>{{{civilian_dead_group2|}}} | |||
|- | |||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Total dead:'''<br>{{{total_dead_group1|}}} | |||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Total dead:'''<br>{{{total_dead_group2|}}} | |||
|} | |} |
Revision as of 05:54, 5 August 2024
Here is the succinct section showing how to use the template:
```mediawiki
Usage
To use this template, copy the following code and fill in the parameters:
{{Infobox event | image = | imageBG = | name = | nameBG = | color2 = | caption = | cellBG = | date = | location = | result = | headerBG = | lineBG = | group1 = | group2 = | group1_leaders_header = | group2_leaders_header = | group1_leaders = | group2_leaders = | military_dead_group1 = | military_dead_group2 = | civilian_dead_group1 = | civilian_dead_group2 = | total_dead_group1 = | total_dead_group2 = }}
```
InfoboxConflict | |
---|---|
Date | |
Location | |
Result | |
Participants | |
Group 1 | Group 2 |
Commanders and leaders | |
Main leaders (Group 1): | Main leaders (Group 2): |
Casualties and losses | |
Military dead: |
Military dead: |
Civilian dead: |
Civilian dead: |
Total dead: |
Total dead: |