Template:InfoboxConflict: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
===Example=== | ===Example=== | ||
{{InfoboxConflict | {{InfoboxConflict | ||
| Line 20: | Line 19: | ||
}} | }} | ||
</noinclude> | </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 51: | Line 49: | ||
! 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;" | '''Main Allied 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;" | '''Main Axis leaders:''' | ||
|- | |- | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | {{{allied_leaders|}}} | | style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 0 0 20px; line-height:14px;" | {{{allied_leaders|}}} | ||
| Line 59: | Line 57: | ||
! 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>{{{total_dead_allies|}}} | {{#if:{{{military_dead_allies|}}}{{{military_dead_axis|}}}| | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | <br>{{{total_dead_axis|}}} | | style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Military dead:'''<br>{{{military_dead_allies|}}} | ||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Military dead:'''<br>{{{military_dead_axis|}}} | |||
|- | |||
}} | |||
{{#if:{{{civilian_dead_allies|}}}{{{civilian_dead_axis|}}}| | |||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Civilian dead:'''<br>{{{civilian_dead_allies|}}} | |||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Civilian dead:'''<br>{{{civilian_dead_axis|}}} | |||
|- | |||
}} | |||
{{#if:{{{total_dead_allies|}}}{{{total_dead_axis|}}}| | |||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Total dead:'''<br>{{{total_dead_allies|}}} | |||
| style="text-align:center; background:{{{cellBG|#1B4236}}}; padding: 10px 10px 10px 20px; line-height:14px;" | '''Total dead:'''<br>{{{total_dead_axis|}}} | |||
}} | |||
|} | |} | ||
``` | |||
Revision as of 05:42, 5 August 2024
Example
Example
Template loop detected: Template:InfoboxConflict </noinclude>
| Example.jpg | |
|---|---|
| Battle of Example | |
| A depiction of the Battle of Example. | |
| Date | January 1, 1900 |
| Location | Example Location |
| Result | Decisive Example Victory |
| Participants | |
| Allies | Axis |
| Example Allies | Example Axis |
| Commanders and leaders | |
| Main Allied leaders: | Main Axis leaders: |
| Example Leader 1, Example Leader 2 | Example Axis Leader 1, Example Axis Leader 2 |
| Casualties and losses | |
```
| InfoboxConflict | |
|---|---|
| Date | |
| Location | |
| Result | |
| Participants | |
| Allies | Axis |
| Commanders and leaders | |
| Main Allied leaders: | Main Axis leaders: |
| Casualties and losses | |
```