Template:Infobox military conflict/doc: Difference between revisions

Jump to navigation Jump to search
imported>Cyrus XIII
(updating preset formatting for consistency with other infobox presets)
Line 3: Line 3:
==== Military conflict infobox ====  
==== Military conflict infobox ====  
{{Infobox Military Conflict
{{Infobox Military Conflict
|conflict= Battle of Lützen
|conflict   = Battle of Lützen
|partof= the [[Thirty Years' War]]
|partof     = the [[Thirty Years' War]]
|image= [[Image:Battle of Lutzen.jpg|300px|Battle of Lutzen]]
|image       = [[Image:Battle of Lutzen.jpg|300px|Battle of Lutzen]]
|caption= The '' '''Battle of Lützen''' '' by [[Carl Wahlbom]] shows the death of King [[Gustavus Adolphus]] on [[November 16]], [[1632]].
|caption     = The '''''Battle of Lützen''''' by [[Carl Wahlbom]] shows the death of King [[Gustavus Adolphus]] on [[November 16]], [[1632]].
|date= [[November 6]] ([[Old Style and New Style dates|O.S.]]) or [[November 16]] ([[Old Style and New Style dates|N.S.]]), [[1632]]
|date       = [[November 6]] ([[Old Style and New Style dates|O.S.]]) or [[November 16]] ([[Old Style and New Style dates|N.S.]]), [[1632]]
|place= Near [[Lützen, Germany|Lützen]], southwest of [[Leipzig]], [[Germany]]
|place       = Near [[Lützen, Germany|Lützen]], southwest of [[Leipzig]], [[Germany]]
|result= Swedish victory
|result     = Swedish victory
|combatant1=[[Sweden]],<br/> [[Protestant]] [[Germany|German states]]  
|combatant1 = [[Sweden]],<br />[[Protestant]] [[Germany|German states]]  
|combatant2=[[Holy Roman Empire]],<br/> [[Catholic League (German)|Catholic German states]]
|combatant2 = [[Holy Roman Empire]],<br />[[Catholic League (German)|Catholic German states]]
|commander1=[[Gustavus Adolphus]]{{KIA}},<br/> [[Bernhard of Saxe-Weimar]]
|commander1 = [[Gustavus Adolphus]]{{KIA}},<br />[[Bernhard of Saxe-Weimar]]
|commander2=[[Albrecht von Wallenstein]], <br/>[[Gottfried zu Pappenheim]]{{KIA}}
|commander2 = [[Albrecht von Wallenstein]],<br />[[Gottfried zu Pappenheim]]{{KIA}}
|strength1=12,800 infantry,<br/> 6,200 cavalry, <br/>60 guns
|strength1   = 12,800 infantry,<br />6,200 cavalry,<br />60 guns
|strength2=10,000 infantry,<br/> 7,000 cavalry, <br/> 24 guns
|strength2   = 10,000 infantry,<br />7,000 cavalry,<br />24 guns
|casualties1=3,400 dead,<br/> 1,600 wounded or missing
|casualties1 = 3,400 dead,<br />1,600 wounded or missing
|casualties2=3,000&ndash;3,500 dead or wounded
|casualties2 = 3,000–3,500 dead or wounded
}}
}}


Line 26: Line 26:
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
{{Infobox Military Conflict
{{Infobox Military Conflict
|conflict=
| conflict   =  
|partof=
| partof     =  
|image=
| image       =  
|caption=
| caption     =  
|date=
| date       =  
|place=
| place       =  
|territory=
| territory   =  
|result=
| result     =  
|status=
| status     =  
|combatant1=
| combatant1 =  
|combatant2=
| combatant2 =  
|combatant3=
| combatant3 =  
|commander1=
| commander1 =  
|commander2=
| commander2 =  
|commander3=
| commander3 =  
|strength1=
| strength1   =  
|strength2=
| strength2   =  
|strength3=
| strength3   =  
|casualties1=
| casualties1 =  
|casualties2=
| casualties2 =  
|casualties3=
| casualties3 =
|notes=
| notes       =  
}}
}}
</pre></div>
</pre></div>


* '''conflict''' &ndash; the name of the conflict being described (e.g. "Battle of Lützen" or "World War I").
* '''conflict''' the name of the conflict being described (e.g. "Battle of Lützen" or "World War I").
* '''partof''' &ndash; ''optional'' &ndash; the larger conflict containing the event described in the article.  For battles or campaigns, this should be the war during which the event takes place; for particularly large wars, this may include a theatre (e.g. "the Eastern Front of World War II").  For wars, the parameter may be used to link to a larger group of wars (e.g. the [[Italian War of 1521–26]] to the [[Italian Wars]]).  It may be necessary to insert "the" before the name of the war for proper grammar.
* '''partof''' ''optional'' the larger conflict containing the event described in the article.  For battles or campaigns, this should be the war during which the event takes place; for particularly large wars, this may include a theatre (e.g. "the Eastern Front of World War II").  For wars, the parameter may be used to link to a larger group of wars (e.g. the [[Italian War of 1521–26]] to the [[Italian Wars]]).  It may be necessary to insert "the" before the name of the war for proper grammar.
* '''image''' &ndash; ''optional'' &ndash; an image for the warbox.  The image must be given in the form <nowiki>[[Image:Example.jpg|300px]]</nowiki>; in particular, the ''thumb'' attribute must '''not''' be selected.
* '''image''' ''optional'' an image for the warbox.  The image must be given in the form <nowiki>[[Image:Example.jpg|300px]]</nowiki>; in particular, the ''thumb'' attribute must '''not''' be selected.
* '''caption''' &ndash; ''optional'' &ndash; the text to be placed below the image.   
* '''caption''' ''optional'' the text to be placed below the image.   
* '''date''' &ndash; ''optional'' &ndash; the date of the conflict described.  Convention is to give the actual date for battles and the years for wars, but this does not always apply.
* '''date''' ''optional'' the date of the conflict described.  Convention is to give the actual date for battles and the years for wars, but this does not always apply.
* '''place''' &ndash; the location of the conflict.  For conflicts covering a wide area, a general description (e.g. "[[France]]", or "[[Europe]]", or "Worldwide") may be used.
* '''place''' the location of the conflict.  For conflicts covering a wide area, a general description (e.g. "[[France]]", or "[[Europe]]", or "Worldwide") may be used.
* '''territory''' &ndash; ''optional'' &ndash; any changes in territorial control as a result of the conflict; this should not be used for overly lengthy descriptions of the peace settlement.
* '''territory''' ''optional'' any changes in territorial control as a result of the conflict; this should not be used for overly lengthy descriptions of the peace settlement.
* '''result''' &ndash; ''optional'' &ndash; the outcome of the conflict (e.g. "French victory").  Modifiers such as "inconclusive" or "decisive" may be used as necessary.  This should not be used if a current status (below) is provided.
* '''result''' ''optional'' the outcome of the conflict (e.g. "French victory").  Modifiers such as "inconclusive" or "decisive" may be used as necessary.  This should not be used if a current status (below) is provided.
* '''status''' &ndash; ''optional'' &ndash; for ongoing conflicts, the current status of the conflict.  This should not be used if a final result (above) is provided.
* '''status''' ''optional'' for ongoing conflicts, the current status of the conflict.  This should not be used if a final result (above) is provided.
* '''combatant1'''/'''combatant2'''/'''combatant3''' &ndash; ''optional'' &ndash; the parties participating in the conflict.  This is most commonly the countries whose forces took part in the conflict; however, larger groups (such as alliances or international organizations) or smaller ones (such as particular units, formations, or groups) may be indicated if doing so improves reader understanding.  When there is a large number of participants, it may be better to list only the three or four major groups on each side of the conflict, and to describe the rest in the body of the article.  The '''combatant3''' field may be used if a conflict has three distinct "sides", and should be left blank on other articles.
* '''combatant1'''/'''combatant2'''/'''combatant3''' ''optional'' the parties participating in the conflict.  This is most commonly the countries whose forces took part in the conflict; however, larger groups (such as alliances or international organizations) or smaller ones (such as particular units, formations, or groups) may be indicated if doing so improves reader understanding.  When there is a large number of participants, it may be better to list only the three or four major groups on each side of the conflict, and to describe the rest in the body of the article.  The '''combatant3''' field may be used if a conflict has three distinct "sides", and should be left blank on other articles.
* '''commander1'''/'''commander2'''/'''commander3''' &ndash; ''optional'' &ndash; the commanders of the military forces involved.  For battles, this should include army commanders (and other officers as necessary).  For wars, only prominent or notable leaders  should be listed.  Ranks and position titles should be omitted.  The {{tl|KIA}} and {{tl|POW}} templates may be included immediately after the names of commanders who were killed in action or surrendered and were taken prisoner, respectively.  The '''commander3''' field can only be used if the '''combatant3''' field is set.
* '''commander1'''/'''commander2'''/'''commander3''' ''optional'' the commanders of the military forces involved.  For battles, this should include army commanders (and other officers as necessary).  For wars, only prominent or notable leaders  should be listed.  Ranks and position titles should be omitted.  The {{tl|KIA}} and {{tl|POW}} templates may be included immediately after the names of commanders who were killed in action or surrendered and were taken prisoner, respectively.  The '''commander3''' field can only be used if the '''combatant3''' field is set.
* '''strength1'''/'''strength2'''/'''strength3''' &ndash; ''optional'' &ndash; the numerical strength of the units involved.  It is generally not useful to provide unit names without giving an indication of numbers.  The '''strength3''' field can only be used if the '''combatant3''' field is set.
* '''strength1'''/'''strength2'''/'''strength3''' ''optional'' the numerical strength of the units involved.  It is generally not useful to provide unit names without giving an indication of numbers.  The '''strength3''' field can only be used if the '''combatant3''' field is set.
* '''casualties1'''/'''casualties2''' &ndash; ''optional'' &ndash; casualties suffered, including dead, wounded, missing, captured, and civilian deaths.  Terms such as "dead" (or "killed"), "wounded", or "captured" should be used in place of abbreviations such as "KIA" or "POW".
* '''casualties1'''/'''casualties2''' ''optional'' casualties suffered, including dead, wounded, missing, captured, and civilian deaths.  Terms such as "dead" (or "killed"), "wounded", or "captured" should be used in place of abbreviations such as "KIA" or "POW".
* '''casualties3''' &ndash; ''optional'' &ndash; if '''combatant3''' is set, this is a third casualty field identical to the two above; if it is '''''not''''' set, this is an alternate combined field for use where only the total casualties of a conflict are known, or where civilian casualties cannot be directly attributed to either side.
* '''casualties3''' ''optional'' if '''combatant3''' is set, this is a third casualty field identical to the two above; if it is '''''not''''' set, this is an alternate combined field for use where only the total casualties of a conflict are known, or where civilian casualties cannot be directly attributed to either side.
* '''notes''' &ndash; ''optional'' &ndash; optional field for further notes; this should only be used in exceptional circumstances.<noinclude>[[Category:WikiProject Military history template instructions|Military conflict infobox]]
* '''notes''' ''optional'' optional field for further notes; this should only be used in exceptional circumstances.<noinclude>[[Category:WikiProject Military history template instructions|Military conflict infobox]]
[[no:Wikipedia:WikiProject Military history/Military conflict infobox]]
[[no:Wikipedia:WikiProject Military history/Military conflict infobox]]
</noinclude>
</noinclude>

Revision as of 12:04, 18 February 2008

Template:Template doc page

Usage

Military conflict infobox

Template:Infobox Military Conflict

A military conflict infobox (sometimes referred to as a warbox) may be used to summarize information about a particular military conflict (a battle, campaign, war, or group of related wars) in a standard manner.

The infobox should be added using the {{Infobox Military Conflict}} template, as shown below:

{{Infobox Military Conflict
| conflict    = 
| partof      = 
| image       = 
| caption     = 
| date        = 
| place       = 
| territory   = 
| result      = 
| status      = 
| combatant1  = 
| combatant2  = 
| combatant3  = 
| commander1  = 
| commander2  = 
| commander3  = 
| strength1   = 
| strength2   = 
| strength3   = 
| casualties1 = 
| casualties2 = 
| casualties3 =
| notes       = 
}}
  • conflict – the name of the conflict being described (e.g. "Battle of Lützen" or "World War I").
  • partofoptional – the larger conflict containing the event described in the article. For battles or campaigns, this should be the war during which the event takes place; for particularly large wars, this may include a theatre (e.g. "the Eastern Front of World War II"). For wars, the parameter may be used to link to a larger group of wars (e.g. the Italian War of 1521–26 to the Italian Wars). It may be necessary to insert "the" before the name of the war for proper grammar.
  • imageoptional – an image for the warbox. The image must be given in the form [[Image:Example.jpg|300px]]; in particular, the thumb attribute must not be selected.
  • captionoptional – the text to be placed below the image.
  • dateoptional – the date of the conflict described. Convention is to give the actual date for battles and the years for wars, but this does not always apply.
  • place – the location of the conflict. For conflicts covering a wide area, a general description (e.g. "France", or "Europe", or "Worldwide") may be used.
  • territoryoptional – any changes in territorial control as a result of the conflict; this should not be used for overly lengthy descriptions of the peace settlement.
  • resultoptional – the outcome of the conflict (e.g. "French victory"). Modifiers such as "inconclusive" or "decisive" may be used as necessary. This should not be used if a current status (below) is provided.
  • statusoptional – for ongoing conflicts, the current status of the conflict. This should not be used if a final result (above) is provided.
  • combatant1/combatant2/combatant3optional – the parties participating in the conflict. This is most commonly the countries whose forces took part in the conflict; however, larger groups (such as alliances or international organizations) or smaller ones (such as particular units, formations, or groups) may be indicated if doing so improves reader understanding. When there is a large number of participants, it may be better to list only the three or four major groups on each side of the conflict, and to describe the rest in the body of the article. The combatant3 field may be used if a conflict has three distinct "sides", and should be left blank on other articles.
  • commander1/commander2/commander3optional – the commanders of the military forces involved. For battles, this should include army commanders (and other officers as necessary). For wars, only prominent or notable leaders should be listed. Ranks and position titles should be omitted. The {{KIA}} and {{POW}} templates may be included immediately after the names of commanders who were killed in action or surrendered and were taken prisoner, respectively. The commander3 field can only be used if the combatant3 field is set.
  • strength1/strength2/strength3optional – the numerical strength of the units involved. It is generally not useful to provide unit names without giving an indication of numbers. The strength3 field can only be used if the combatant3 field is set.
  • casualties1/casualties2optional – casualties suffered, including dead, wounded, missing, captured, and civilian deaths. Terms such as "dead" (or "killed"), "wounded", or "captured" should be used in place of abbreviations such as "KIA" or "POW".
  • casualties3optional – if combatant3 is set, this is a third casualty field identical to the two above; if it is not set, this is an alternate combined field for use where only the total casualties of a conflict are known, or where civilian casualties cannot be directly attributed to either side.
  • notesoptional – optional field for further notes; this should only be used in exceptional circumstances.

no:Wikipedia:WikiProject Military history/Military conflict infobox

{{Wikipedia:WikiProject Military history/Campaignboxes}} This infobox may be used to describe a particular planned or executed military operation or attack. For operations that resulted in combat, it can be used as an auxiliary template to the {{infobox military conflict}}, if necessary; for other types of operations, including those that were planned but never executed, it may be used alone. In the case of conflicts that consisted of multiple independent operations, multiple copies of the box may be used on a single article.

Usage

{{{title}}}
Part of {{{conflict}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
Operational scope{{{scope}}}
Location
{{{location}}}

0°N 0°E / 0°N 0°E / 0; 0
⧼validator-fatal-error⧽


Planned{{{planned}}}
Planned by{{{planned_by}}}
Commanded by{{{commanded_by}}}
Target{{{target}}}
Date{{{date}}}
{{{time}}}
{{{time-begin}}} – {{{time-end}}} ({{{timezone}}})
Executed by{{{executed_by}}}
Outcome{{{outcome}}}
Casualties{{{casualties}}}
{{Infobox military operation
 |name          = 
 |partof        = 
 |subtitle      = 
 |image         = 
 |image_upright = 
 |alt           = 
 |caption       = 
 |scope         = 
 |type          = 
 |location      = 
 |location2     = <!-- 2 through 10 for more locations -->
 |coordinates   = 
 |coordinates2  = <!-- 2 through 10 for more locations -->
 |map_type      = 
 |map_size      = 
 |map_caption   = 
 |map_label     = 
 |map_label2    = <!-- 2 through 10 for more locations -->
 |planned       = 
 |planned_by    = 
 |commanded_by  = 
 |objective     = 
 |target        = 
 |date          = <!-- {{start date|YYYY|MM|DD|df=y}} --> 
 |time          = 
 |time-begin    = 
 |time-end      = 
 |timezone      = 
 |executed_by   = 
 |outcome       = 
 |casualties    = 
 |fatalities    = 
 |injuries      = 
}}

Example

Case Blue
Operational scopeStrategic offensive
Planned byWehrmacht
ObjectiveCapture of Caucasus oil fields
DateBegan 28 June 1942 (1942-06-28)
Executed byArmy Group South
{{Infobox military operation
 |name        = Case Blue
 |scope       = Strategic offensive
 |planned_by  = ''[[Wehrmacht]]''
 |objective   = Capture of [[Caucasus]] oil fields
 |executed    = Began {{start date|1942|06|28|df=y}}
 |executed_by = [[Army Group South]]
}}

Parameters

Note: When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none". All subjective or qualitative judgements and numerical quantities or statistics must be cited to a reliable source (see WP:MILMOS#CITE).

  • name – the name of the operational plan; names in multiple languages may be provided.
  • subtitle – alternative name of the conflict being described.
  • partofoptional – the larger conflict containing the event described in the article.
  • imageoptional – an image for the warbox. Given in the form File:Example.jpg
  • image_uprightoptional – image upright scaling factor.
  • altoptionalAlternative text for image that is accessible to screen readers to help the visually impaired
  • captionoptional – the text to be placed below the image.
  • locationoptional – the location of the operation.
  • coordinatesoptional – the coordinates for the location above, given as {{coord}} with |display=inline,title. Used to display the geographic location of the conflict and the location on a map added with the map_type parameter. If coordinates for several locations are given, consider if hany shall have the title display.
  • map_typeoptional – the base map to be used for the location map, e.g. "Scotland"; see {{location map}} for more details.
  • map_sizeoptional – width of the location map in pixels (px), e.g. "150"; defaults to: "220".
  • map_captionoptional – caption displayed below the location map; defaults to "Location within {{{map_type}}}", e.g. "Location within Scotland".
  • map_labeloptional – the label placed next to the marker on the location map.
  • scopeoptional – the scope of the operation, such as "Strategic", "Operational", or "Tactical".
  • typeoptional – as an alternative to the scope field above, the type of operation, such as "Suicide attack" or "Ambush".
  • plannedoptional – the date(s) on which the plan was developed.
  • planned_byoptional – the person or group responsible for developing the plan.
  • commanded_byoptional – the person commanding the operation.
  • objectiveoptional – the objective(s) of the operation.
  • targetoptional – as an alternative to the objective field above, the target(s) of the operation.
  • dateoptional – the date(s), if any, on which the operation was executed. use {{Start date}} (and {{End date}} if required)
  • timeoptional – the time, if any, at which the operation was executed.
  • time-begin and time-endoptional – as an alternative to the time field above, the start and end times, respectively.
  • timezoneoptional – the timezone of the location of the operation; UTC+X, UTC-X, or UTC (i.e. offset from UTC) is preferred.
  • executed_byoptional – the people, groups, units, or formations responsible for executing the operation.
  • outcomeoptional – the outcome of the operation from the perspective of the planners.
  • casualtiesoptional – any casualties occurring during the execution of the operation.
  • fatalitiesoptional – as an alternative to the casualties field above, the number of fatalities occurring during the execution of the operation.
  • injuriesoptional – as an alternative to the casualties field above, the number of injuries occurring during the execution of the operation.

Microformat

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

TemplateData

TemplateData for this template used by TemplateWizard, VisualEditor and other tools
Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox military conflict

<templatedata> {

   "description": "This infobox may be used to describe a particular planned or executed military operation or attack.",

"format": "Template:\n\n", "params": { "name": { "label": "Name", "description": "The name of the military operation", "type": "string", "suggested": true } }, "paramOrder": [ "name" ] } </templatedata>

See also