Template:ConflictTemplate: Difference between revisions

From RoNations Wiki
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:200%;">{{{conflict}}}</font>
! colspan="2" style="text-align:center; background:#C3D6EF;" | <font style="font-size:130%;">{{{conflict}}}</font>
|- style="text-align:center;"
|- style="text-align:center;"
|-
|-
{{#if:{{{image_flag|}}} | <!-- Check if image_flag is provided -->
!
{{!}} style="text-align:center; background-color:#;{{#if:{{{image_flag|}}}||display:none;}}" {{!}}{{{image_flag}}}
{{!}} style="text-align:center;background-color:#;{{#if:{{{image_coat|}}}||display:none;}}" {{!}}{{{image_coat}}}
}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{national_motto|}}}| |display: none;}}" valign="top" halign="center" | '''Motto'''
| style="{{#if:{{{national_motto|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{national_motto|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{national_anthem|}}}| |display: none;}}" valign="top" halign="center" | '''National Anthem'''
| style="{{#if:{{{national_anthem|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{national_anthem|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
{{#if:{{{image_map|}}} | <!-- Check if image_flag is provided -->
{{!}} style="background-color:#;{{#if:{{{image_map|}}}||display:none;}}" {{!}}{{{image_map}}}
}}
|-
|-
|- style="border-top: 1px solid #999;"
! colspan="2" style="text-align:center; background:#DCDCDC;" | <font style="font-size:100%;">'''{{{part_of}}}'''</font>
| style="{{#if:{{{capital|}}}| |display: none;}}" valign="top" | '''Capital'''
| style="{{#if:{{{capital|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{capital|}}}
|-
|-
| style="{{#if:{{{largest_city|}}}| |display: none;}}" valign="top" | '''Largest city'''
! colspan="2" style="text-align:center; background:#F8F9FA;" | <font style="font-size:10%;"></font>
| style="{{#if:{{{largest_city|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{largest_city|}}}
|-
|-
| style="{{#if:{{{oldest_city|}}}| |display: none;}}" valign="top" | '''Oldest city'''
{{#if:{{{image|}}} | <!-- Check if image_flag is provided -->
| style="{{#if:{{{oldest_city|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{oldest_city|}}}
{{!}} style="text-align:center; background-color:#;{{#if:{{{image|}}}||display:none;}}" {{!}}{{{image}}}
|-
}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{official_languages|}}}| |display: none;}}" valign="top" | '''Official languages'''
| style="{{#if:{{{official_languages|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{official_languages|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{ethnic_groups|}}}| |display: none;}}" valign="top" | '''Ethnic groups'''
| style="{{#if:{{{ethnic_groups|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{ethnic_groups|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{demonyn|}}}| |display: none;}}" valign="top" | '''Demonym(s)'''
| style="{{#if:{{{demonyn|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{demonyn|}}}
|- style="border-top: 1px solid #999;"
|- style="border-top: 1px solid #999;"
| style="{{#if:{{{government_type|}}}| |display: none;}}" valign="top" | '''Government'''
| style="{{#if:{{{date|}}}| |display: none;}}" valign="top" halign="center" | '''Date'''
| style="{{#if:{{{government_type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{government_type|}}}
| style="{{#if:{{{date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{date|}}}
|-
|-
| style="{{#if:{{{leader_title1|}}}| |display: none;}}" valign="top" | {{{leader_title1}}}
| style="{{#if:{{{location|}}}| |display: none;}}" valign="top" halign="center" | '''Location'''
| style="{{#if:{{{leader_1|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader_1|}}}
| style="{{#if:{{{location|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{location|}}}
|-
|-
| style="{{#if:{{{leader_title2|}}}| |display: none;}}" valign="top" | {{{leader_title2}}}
| style="{{#if:{{{result|}}}| |display: none;}}" valign="top" halign="center" | '''Result'''
| style="{{#if:{{{leader_2|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader_2|}}}
| style="{{#if:{{{result|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{result|}}}
|-
|-
| style="{{#if:{{{leader_title3|}}}| |display: none;}}" valign="top" | {{{leader_title3}}}
! colspan="3" style="background-color: #C3D6EF; font-weight: normal; font-size: 15px" | '''Belligerents'''
| style="{{#if:{{{leader_3|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader_3|}}}
|-
|-
| style="{{#if:{{{leader_title4|}}}| |display: none;}}" valign="top" | {{{leader_title4}}}
{| cellspacing="1" cellpadding="1" style="text-align: center; background-color: #F8F9FA; width: 100%;"
| style="{{#if:{{{leader_4|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader_4|}}}
| style="width: {{#if:{{{belligerent3|}}}|33.33%|50%}}; vertical-align: top;" | {{{belligerent1|}}}
|-
| style="width: 1px; border-right: 1px dotted #AAAAAA;" |
| style="{{#if:{{{leader_title5|}}}| |display: none;}}" valign="top" | {{{leader_title5}}}
| style="width: {{#if:{{{belligerent3|}}}|33.33%|50%}}; vertical-align: top; {{#if:{{{belligerent3|}}}| |display: none;}}" | {{{belligerent2|}}}
| style="{{#if:{{{leader_5|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader_5|}}}
| style="width: 1px; border-right: 1px dotted #AAAAAA;" |
|-
| style="width: {{#if:{{{belligerent3|}}}|33.33%|50%}}; vertical-align: top; {{#if:{{{belligerent3|}}}| |display: none;}}" | {{{belligerent3|}}}
| style="{{#if:{{{leader_title6|}}}| |display: none;}}" valign="top" | {{{leader_title6}}}
|}
| style="{{#if:{{{leader_6|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader_6|}}}
|-
| style="{{#if:{{{leader_title7|}}}| |display: none;}}" valign="top" | {{{leader_title7}}}
| style="{{#if:{{{leader_7|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader_7|}}}
|-
| style="{{#if:{{{leader_title8|}}}| |display: none;}}" valign="top" | {{{leader_title8}}}
| style="{{#if:{{{leader_8|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader_8|}}}
|- style="border-top: 1px solid #999;"
| style="{{#if:{{{legislature|}}}| |display: none;}}" valign="top" | Legislature
| style="{{#if:{{{legislature|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{legislature|}}}
|-
| style="{{#if:{{{executive|}}}| |display: none;}}" valign="top" | Executive
| style="{{#if:{{{executive|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{executive|}}}
|- style="border-top: 1px solid #999;"
| style="{{#if:{{{sovereignty_type|}}}| |display: none;}} width: 100%" valign="top" | '''{{{sovereignty_type}}}'''
|- style="border-top: 1px solid #999;"
| style="{{#if:{{{population|}}}| |display: none;}}" valign="top" | '''Population'''
| style="{{#if:{{{population|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{population|}}}
|- style="border-top: 1px solid #999;"
| style="{{#if:{{{currency|}}}| |display: none;}}" valign="top" | '''Currency'''
| style="{{#if:{{{currency|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{currency|}}}
|-
| style="{{#if:{{{driving_side|}}}| |display: none;}}" valign="top" | '''Driving Side'''
| style="{{#if:{{{driving_side|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{driving_side|}}}
|- style="border-top: 1px solid #999;"
| style="{{#if:{{{region|}}}| |display: none;}}" valign="top" | '''Region'''
| style="{{#if:{{{region|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{region|}}}
|- style="border-top: 1px solid #999;"
| style="{{#if:{{{constitution|}}}| |display: none;}}" valign="top" | '''Constitution'''
| style="{{#if:{{{constitution|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{constitution|}}}
|-
| style="{{#if:{{{discord|}}}| |display: none;}}" valign="top" | '''Discord'''
| style="{{#if:{{{discord|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{discord|}}}
|}</div>
|}</div>
|}
|}
<noinclude>
<noinclude>
{{CountryTemplate
{{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
|place = Location i.e Near Cork or near Germany
|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?
|combatant1 = {{GB}} Republic of Countryland
|belligerent1 = {{UK}}
|combatant2 = {{GB}} Republic of Countryland
|belligerent2 = {{USA}}
|combatant3 = {{GB}} Republic of Countryland
|belligerent3 = {{PT}}
|commander1 = {{GB}} Republic of Countryland
|commander1 = {{UK|notext=}}
|commander2 = {{GB}} Republic of Countryland
|commander2 = {{UK|notext=}}
|commander3 = {{GB}} Republic of Countryland
|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>
{{CountryTemplate
{{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
|place = Location i.e Near Cork or near Germany
|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

{{{conflict}}}
{{{part_of}}}
Date
Location
Result
Belligerents
Name of conflict (i.e war of, battle of)
{{{part_of}}}
Date 6th November 2023
Location Location i.e Near Cork or near Germany
Result result of the war
Belligerents
United Kingdom United States Portugal

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)
}}