Template:ConflictTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em;width:350px;min-width:350px; background: border-collapse:collapse; border:1px solid #A2A9B1; font-size:smaller; line-height:1.5" | {| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em;width:350px;min-width:350px; background-color: #F8F9FA; background: border-collapse:collapse; border:1px solid #A2A9B1; font-size:smaller; line-height:1.5" | ||
|- | |- | ||
|<div> | |<div> | ||
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | {| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | ||
|- | |- | ||
! colspan="2" style="text-align:center; background:#C3D6EF;" | <font style="font-size: | ! colspan="2" style="text-align:center; background:#C3D6EF;" | <font style="font-size:130%;">{{{conflict}}}</font> | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
|- | |- | ||
! | |||
|- | |- | ||
! colspan="2" style="text-align:center; background:#DCDCDC;" | <font style="font-size:100%;">'''{{{part_of}}}'''</font> | |||
| style=" | |||
|- | |- | ||
! colspan="2" style="text-align:center; background:#F8F9FA;" | <font style="font-size:10%;"></font> | |||
|- | |- | ||
{{#if:{{{image|}}} | <!-- Check if image_flag is provided --> | |||
{{!}} style="text-align:center; background-color:#;{{#if:{{{image|}}}||display:none;}}" {{!}}{{{image}}} | |||
}} | |||
|- style="border-top: 1px solid #999;" | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{date|}}}| |display: none;}}" valign="top" halign="center" | '''Date''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{date|}}} | ||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{location|}}}| |display: none;}}" valign="top" halign="center" | '''Location''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{location|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{location|}}} | ||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{result|}}}| |display: none;}}" valign="top" halign="center" | '''Result''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{result|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{result|}}} | ||
|- | |- | ||
! colspan="3" style="background-color: #C3D6EF; font-weight: normal; font-size: 15px" | '''Belligerents''' | |||
|- | |- | ||
| | {| cellspacing="1" cellpadding="1" style="text-align: center; background-color: #F8F9FA; width: 100%;" | ||
| style="width: {{#if:{{{belligerent3|}}}|33.33%|50%}}; vertical-align: top;" | {{{belligerent1|}}} | |||
| style="width: 1px; border-right: 1px dotted #AAAAAA;" | | |||
| style="width: {{#if:{{{belligerent3|}}}|33.33%|50%}}; vertical-align: top; {{#if:{{{belligerent3|}}}| |display: none;}}" | {{{belligerent2|}}} | |||
| style=" | | style="width: 1px; border-right: 1px dotted #AAAAAA;" | | ||
| style="width: {{#if:{{{belligerent3|}}}|33.33%|50%}}; vertical-align: top; {{#if:{{{belligerent3|}}}| |display: none;}}" | {{{belligerent3|}}} | |||
|} | |||
| style=" | |||
| style="{{#if:{{{ | |||
| | |||
| style=" | |||
| | |||
|}</div> | |}</div> | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
{{ | {{ConflictTemplate | ||
|conflict = Name of conflict (i.e war of, battle of) | |conflict = Name of conflict (i.e war of, battle of) | ||
|partof = Bigger war its part off (if none, leave empty) | |partof = Bigger war its part off (if none, leave empty) | ||
|image = [[File:example.png|170px]] | |image = [[File:example.png|170px]] | ||
|date = 6th November 2023 | |date = 6th November 2023 | ||
| | |location = Location i.e Near Cork or near Germany | ||
|image_map = Highlighted province where battle took place (or war) | |image_map = Highlighted province where battle took place (or war) | ||
|result = result of the war | |result = result of the war | ||
|status = Ongoing? Ended? | |status = Ongoing? Ended? | ||
| | |belligerent1 = {{UK}} | ||
| | |belligerent2 = {{USA}} | ||
| | |belligerent3 = {{PT}} | ||
|commander1 = {{ | |commander1 = {{UK|notext=}} | ||
|commander2 = {{ | |commander2 = {{UK|notext=}} | ||
|commander3 = {{ | |commander3 = {{UK|notext=}} | ||
|units1 = unit side 1 involed (optional) | |units1 = unit side 1 involed (optional) | ||
|units2 = unit side 2 involed (optional) | |units2 = unit side 2 involed (optional) | ||
Line 124: | Line 65: | ||
}} | }} | ||
Example Usage:<pre> | Example Usage:<pre> | ||
{{ | {{ConflictTemplate | ||
|conflict = Name of conflict (i.e war of, battle of) | |conflict = Name of conflict (i.e war of, battle of) | ||
|partof = Bigger war its part off (if none, leave empty) | |partof = Bigger war its part off (if none, leave empty) | ||
|image = [[File:example.png|170px]] | |image = [[File:example.png|170px]] | ||
|date = 6th November 2023 | |date = 6th November 2023 | ||
| | |location = Location i.e Near Cork or near Germany | ||
|image_map = Highlighted province where battle took place (or war) | |image_map = Highlighted province where battle took place (or war) | ||
|result = result of the war | |result = result of the war |
Revision as of 03:35, 27 March 2024
|
|
Example Usage:
{{ConflictTemplate |conflict = Name of conflict (i.e war of, battle of) |partof = Bigger war its part off (if none, leave empty) |image = [[File:example.png|170px]] |date = 6th November 2023 |location = Location i.e Near Cork or near Germany |image_map = Highlighted province where battle took place (or war) |result = result of the war |status = Ongoing? Ended? |combatant1 = {{GB}} Republic of Countryland |combatant2 = {{GB}} Republic of Countryland |combatant3 = {{GB}} Republic of Countryland |commander1 = {{GB}} Republic of Countryland |commander2 = {{GB}} Republic of Countryland |commander3 = {{GB}} Republic of Countryland |units1 = unit side 1 involed (optional) |units2 = unit side 2 involed (optional) |units3 = unit side 3 involed (optional) |strength1 = strength of side 1 |strength2 = strength of side 2 |strength3 = strength of side 3 |casualties1 = casualties of side 1 |casualties2 = casualties of side 2 |casualties3 = casualties of side 3 |notes = Any notes too add? (optional) }}