Template:Infobox military operation/doc: Difference between revisions

Jump to navigation Jump to search
imported>Frietjes
imported>Shkuru Afshar
No edit summary
 
(34 intermediate revisions by 24 users not shown)
Line 1: Line 1:
{{#ifeq:{{{noheader|}}}|yes||{{Documentation subpage}}
{{#ifeq:{{{noheader|}}}|yes||{{Documentation subpage}}
==Usage==
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
}}
}}
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 {{tl|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.
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 {{tl|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.


{{Parameter names example|_template=|title|name|partof|conflict|image|map_type=Earth|image_size|image_upright|alt|caption|coordinates={{coord|0|0}}|map_size=|map_label|map_caption|scope|type|location|coordinates|planned|planned_by|commanded_by|target|objective|executed|date|time|time-begin|time-end|timezone|executed_by|instigator|outcome|casualties|fatalities|injuries}}
__TOC__
<pre style="overflow: auto;">
 
{{Infobox operational plan
=== Usage ===
| name        =  
{{Parameter names example|_template = Infobox military operation |title |name |partof |conflict |image |image_size |image_upright |alt |caption |coordinates = {{coord|0|0}} |map_type=Earth |map_size= |map_label |map_caption |scope |type |location |coordinates |planned |planned_by |commanded_by |target |objective |date |time |time-begin |time-end |timezone |executed_by |outcome |casualties |fatalities |injuries}}
| partof     =
<pre style="overflow:auto;">
| image       =  
{{Infobox military operation
| caption     =  
|name         =
| scope       =
|partof       =  
| type       =
|subtitle     =  
| location   =
|image         =
| coordinates =  
|image_upright =
| map_type    =  
|alt          =  
| latitude    =  
|caption       =  
| longitude  =  
|scope         =  
| map_size   =  
|type         =  
| map_caption =  
|location     =  
| map_label   =  
|location2    = <!-- 2 through 10 for more locations -->
| planned     =  
|coordinates  =  
| planned_by =  
|coordinates2  = <!-- 2 through 10 for more locations -->
| commanded_by =  
|map_type      =  
| objective   =  
|map_size     =  
| target     =
|map_caption   =  
| date       = <!-- {{Start date|YYYY|MM|DD|df=y}} -->  
|map_label     =
| time       =
|map_label2    = <!-- 2 through 10 for more locations -->
| time-begin =
|planned       =  
| time-end   =
|planned_by   =  
| timezone   =
|commanded_by =  
| executed_by =  
|objective     =  
| outcome     =  
|target       =  
| casualties =  
|date         = <!-- {{start date|YYYY|MM|DD|df=y}} -->  
| fatalities =
|time         =  
| injuries   =
|time-begin   =  
}}
|time-end     =  
</pre>
|timezone     =  
|executed_by   =  
|outcome       =  
|casualties   =  
|fatalities   =  
|injuries     =  
}}</pre>


=== Example ===
=== Example ===
{{Infobox operational plan
{{Infobox military operation
| name        = Case Blue<br />''Fall Blau''
|name        = Case Blue
| scope      = Strategic offensive
|scope      = Strategic offensive
| planned    =
|planned_by  = ''[[Wehrmacht]]''
| planned_by  = Wehrmacht
  |objective  = Capture of [[Caucasus]] oil fields
| objective  = Capture the oil fields of the [[Caucasus]]
|executed    = Began {{start date|1942|06|28|df=y}}
| executed    = Began {{Start date|1942|06|28}}
|executed_by = [[Army Group South]]
| executed_by = [[Army Group South]]
| outcome    =
| casualties  =
}}
<pre style="overflow: auto;">
{{Infobox operational plan
| name        = Case Blue<br />''Fall Blau''
| scope      = Strategic offensive
| planned    =
| planned_by = Wehrmacht
| objective  = Capture the oil fields of the [[Caucasus]]
| executed    = Began {{Start date|1942|06|28}}  
| executed_by = [[Army Group South]]
| outcome    =
| casualties  =
}}
}}
</pre>
<pre style="overflow:auto;">
{{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]]
}}</pre>


=== Parameters ===
=== Parameters ===
Line 69: Line 68:


* '''name''' – the name of the operational plan; names in multiple languages may be provided.  
* '''name''' – the name of the operational plan; names in multiple languages may be provided.  
* '''subtitle''' – alternative name of the conflict being described.
* '''partof''' – ''optional'' – the larger conflict containing the event described in the article.
* '''partof''' – ''optional'' – the larger conflict containing the event described in the article.
* '''image''' – ''optional'' – an image.  The image must be given in the form <nowiki>[[Image:Example.jpg|300px|alt=Example alt text]]</nowiki>; in particular, the ''thumb'' attribute must '''not''' be selected.
* '''image''' – ''optional'' – an image for the warboxGiven in the form <code>File:Example.jpg</code>
* '''image_upright''' ''optional'' – image upright scaling factor.
* '''alt'''  – ''optional'' – [[Wikipedia:Manual of Style/Accessibility/Alternative text for images|Alternative text for image]] that is accessible to [[screen reader]]s to help the [[visually impaired]]
* '''caption''' – ''optional'' – the text to be placed below the image.
* '''caption''' – ''optional'' – the text to be placed below the image.
* '''location''' – ''optional'' – the location of the operation.
* '''location''' – ''optional'' – the location of the operation.
* '''coordinates''' – ''optional'' – the coordinates for the location above, given as {{tl|coord}} with ''|display=inline,title''.
* '''coordinates''' – ''optional'' – the coordinates for the location above, given as {{tl|coord}} with ''|display=inline,title''. Used to display the geographic location of the conflict and the location on a map added with the <code>map_type</code> parameter. If coordinates for several locations are given, consider if hany shall have the title display.
* '''map_type''' &ndash; ''optional'' &ndash; the base map to be used for the location map, e.g. "Scotland"; see {{tl|location map}} for more details.
* '''map_type''' &ndash; ''optional'' &ndash; the base map to be used for the location map, e.g. "Scotland"; see {{tl|location map}} for more details.
* '''latitude''' &ndash; ''optional'' &ndash; latitude for placing the marker on the location map, e.g. "56.81".
* '''longitude''' &ndash; ''optional'' &ndash; longitude for placing the marker on the location map, e.g. "-2.68".
* '''map_size''' &ndash; ''optional'' &ndash; width of the location map in pixels (px), e.g. "150"; defaults to: "220".   
* '''map_size''' &ndash; ''optional'' &ndash; width of the location map in pixels (px), e.g. "150"; defaults to: "220".   
* '''map_caption''' &ndash; ''optional'' &ndash; caption displayed below the location map; defaults to "Location within {{{map_type}}}", e.g. "Location within Scotland".
* '''map_caption''' &ndash; ''optional'' &ndash; caption displayed below the location map; defaults to "Location within {{{map_type}}}", e.g. "Location within Scotland".
Line 92: Line 92:
* '''timezone''' – ''optional'' – the timezone of the location of the operation; [[UTC]]+X, [[UTC]]-X, or [[UTC]] (i.e. offset from [[UTC]]) is preferred.
* '''timezone''' – ''optional'' – the timezone of the location of the operation; [[UTC]]+X, [[UTC]]-X, or [[UTC]] (i.e. offset from [[UTC]]) is preferred.
* '''executed_by''' – ''optional'' – the people, groups, units, or formations responsible for executing the operation.
* '''executed_by''' – ''optional'' – the people, groups, units, or formations responsible for executing the operation.
* '''outcome''' – ''optional'' – the outcome of the operation from the perspective of the planners.  
* '''outcome''' – ''optional'' – the outcome of the operation from the perspective of the planners.
* '''casualties''' – ''optional'' – any casualties occurring during the execution of the operation.
* '''casualties''' – ''optional'' – any casualties occurring during the execution of the operation.
* '''fatalities''' – ''optional'' – as an alternative to the '''casualties''' field above, the number of fatalities occurring during the execution of the operation.
* '''fatalities''' – ''optional'' – as an alternative to the '''casualties''' field above, the number of fatalities occurring during the execution of the operation.
* '''injuries''' – ''optional'' – as an alternative to the '''casualties''' field above, the number of injuries occurring during the execution of the operation.
* '''injuries''' – ''optional'' – as an alternative to the '''casualties''' field above, the number of injuries occurring during the execution of the operation.


== Microformat ==
=== Microformat ===
{{UF-hcal}}
{{UF-hcal}}


==Tracking category==
=== TemplateData ===
* {{clc|Pages using infobox military operation with unknown parameters}}
{{collapse top|title=[[Wikipedia:TemplateData|TemplateData]] for this template used by [[mw:Extension:TemplateWizard|TemplateWizard]], [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
==See also==
{{TemplateData header|noheader=y}}
* {{tl|Infobox military conflict}}
<templatedata>
{
    "description": "This infobox may be used to describe a particular planned or executed military operation or attack.",
"format": "{{_\n| _____________ = _\n}}\n",
"params": {
"name": {
"label": "Name",
"description": "The name of the military operation",
"type": "string",
"suggested": true
}
},
"paramOrder": [
"name"
]
}
</templatedata>
{{collapse bottom}}
 
=== See also ===
* {{tl|Infobox civil conflict}}
* {{tl|Infobox civilian attack}}
* {{tl|Infobox military conflict}}<noinclude>
[[Category:WikiProject Military history template instructions|Military operation]]
</noinclude>
<includeonly>
{{Sandbox other||{{#ifeq:{{{noheader|}}}|yes||
<!-- Categories below this line; interwikis at Wikidata -->


<noinclude>
[[Category:Templates with coordinates fields]]
<!--Categories-->
[[Category:Military auxiliary infobox templates|Military operation]]
[[Category:WikiProject Military history template instructions|Operational plan box]]
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
[[Category:Military operations|~]]
}}}}</includeonly>
</noinclude><includeonly>{{#ifeq:{{{noheader|}}}|yes||
[[Category:Military auxiliary infobox templates|Operational plan]]
}}</includeonly>

Latest revision as of 04:41, 8 January 2022

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 operation

<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