Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox military conflict: Difference between revisions

Template page
(Replaced content with "{{#invoke:Infobox military conflict|main}}")
Tag: Replaced
m (Removing template styles)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#invoke:Infobox military conflict|main}}
<includeonly>{{#invoke:Infobox military conflict|main}}</includeonly><noinclude>
Usage:
<nowiki>{{Infobox military conflict
background-color: var(--color-surface-2);
| conflict    =
| partof      =
| image      =
| image_size  =
| alt        =
| caption    =
| date        =
| place      =
| map_type    =
| map_relief  =
| map_size    =
| map_marksize =
| map_caption =
| map_label  =
| territory  =
| result      =
| status      =
| combatants_header =
| combatant1  =
| combatant2  =
| combatant3  =
| commander1  =
| commander2  =
| commander3  =
| units1      =
| units2      =
| units3      =
| strength1  =
| strength2  =
| strength3  =
| casualties1 =
| casualties2 =
| casualties3 =
| notes      =
| campaignbox =
}}</nowiki>
 
The combatant and commander parameters can be expanded through letters a, b, c, etc. if necessary. Example:
<nowiki>{{Infobox military conflict
| conflict    = Conflict name
| partof      = Larger war
| image      = File:Algeria map.png
| image_size  =
| alt        =
| caption    = Map of Algeria as an example
| date        = Date
| place      = Place
| map_type    =
| map_relief  =
| map_size    =
| map_marksize =
| map_caption =
| map_label  =
| territory  =
| result      =
| status      =
| combatants_header =
| combatant1  = 1st combatant
| combatant1a = 1st combatant ally 1
| combatant1b = 1st combatant ally 2
| combatant1c = 1st combatant ally 3
| combatant2  = 2nd combatant
| combatant2a = 2nd combatant ally 1
| combatant2b = 2nd combatant ally 2
| commander1  = 1st commander
| commander1a = 1st commander ally
| commander2  =
| commander3  =
| units1      =
| units2      =
| units3      =
| strength1  =
| strength2  =
| strength3  =
| casualties1 =
| casualties2 =
| casualties3 =
| notes      =
| campaignbox =
}}</nowiki>
 
Produces:
 
{{Infobox military conflict
| conflict    = Conflict name
| partof      = Larger war
| image      = File:Algeria map.png
| image_size  =
| alt        =
| caption    = Map of Algeria as an example
| date        = Date
| place      = Place
| map_type    =
| map_relief  =
| map_size    =
| map_marksize =
| map_caption =
| map_label  =
| territory  =
| result      =
| status      =
| combatants_header =
| combatant1  = Country
| combatant1a = First combatant ally 1
| combatant1b = First combatant ally 2
| combatant1c = First combatant ally 3
| combatant2  = Rival country
| combatant2a = Second combatant ally 1
| combatant2b = Second combatant ally 2
| commander1  = First commander
| commander1a = First commander ally
| commander2  =
| commander3  =
| units1      =
| units2      =
| units3      =
| strength1  =
| strength2  =
| strength3  =
| casualties1 =
| casualties2 =
| casualties3 =
| notes      =
| campaignbox =
}}

Latest revision as of 12:12, 11 September 2024

Usage:

{{Infobox military conflict
 background-color: var(--color-surface-2);
| conflict    = 
| partof      = 
| image       = 
| image_size  =
| alt         =
| caption     = 
| date        = 
| place       = 
| map_type    = 
| map_relief  = 
| map_size    = 
| map_marksize = 
| map_caption = 
| map_label   = 
| territory   = 
| result      = 
| status      = 
| combatants_header = 
| combatant1  = 
| combatant2  = 
| combatant3  = 
| commander1  = 
| commander2  = 
| commander3  = 
| units1      = 
| units2      = 
| units3      = 
| strength1   = 
| strength2   = 
| strength3   = 
| casualties1 = 
| casualties2 = 
| casualties3 = 
| notes       = 
| campaignbox = 
}}

The combatant and commander parameters can be expanded through letters a, b, c, etc. if necessary. Example:

{{Infobox military conflict
| conflict    = Conflict name
| partof      = Larger war
| image       = File:Algeria map.png
| image_size  =
| alt         =
| caption     = Map of Algeria as an example
| date        = Date
| place       = Place
| map_type    = 
| map_relief  = 
| map_size    = 
| map_marksize = 
| map_caption = 
| map_label   = 
| territory   = 
| result      = 
| status      = 
| combatants_header = 
| combatant1  = 1st combatant
| combatant1a = 1st combatant ally 1
| combatant1b = 1st combatant ally 2
| combatant1c = 1st combatant ally 3
| combatant2  = 2nd combatant
| combatant2a = 2nd combatant ally 1
| combatant2b = 2nd combatant ally 2
| commander1  = 1st commander
| commander1a = 1st commander ally
| commander2  = 
| commander3  = 
| units1      = 
| units2      = 
| units3      = 
| strength1   = 
| strength2   = 
| strength3   = 
| casualties1 = 
| casualties2 = 
| casualties3 = 
| notes       = 
| campaignbox = 
}}

Produces:

Conflict name
Part of Larger war

Map of Algeria as an example
DateDate
Location
Place
Belligerents
Country Rival country
First combatant ally 1 Second combatant ally 1
First combatant ally 2 Second combatant ally 2
First combatant ally 3
Commanders and leaders
First commander
First commander ally