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
m (Adding styles to infobox)
m (Troubleshooting)
Line 1: Line 1:
<includeonly><templatestyles src="Template:Infobox/styles.css"/>{{#invoke:Infobox military conflict|main}}</includeonly><noinclude>
<includeonly><templatestyles src="Template:Infobox/styles.css"/>{{#invoke:Infobox military conflict|main}}</includeonly><noinclude>
background-color: var(--color-surface-2);
Usage:
Usage:
  <nowiki>{{Infobox military conflict
  <nowiki>{{Infobox military conflict

Revision as of 10:17, 11 September 2024

background-color: var(--color-surface-2); Usage:

{{Infobox military conflict
| 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