Template:Infobox military operation/doc
{{#ifeq:|yes||{{#ifeq:doc |doc
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Infobox military operation | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
File:Lua-Logo.svg | This template uses Lua: |
}} 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}}} | |
---|---|
{{#if:{{{partof}}}{{{conflict}}}|Part of {{{conflict}}} }} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]] {{{caption}}} | |
{{#if:{{{scope}}}|Operational scope|Type}} | {{{scope}}} |
Location{{#if:|s}} | {{#if:{{{location}}}| {{{location}}} }}Lua error: callParserFunction: function "#coordinates" was not found. {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} |
Planned | {{{planned}}} |
Planned by | {{{planned_by}}} |
Commanded by | {{{commanded_by}}} |
{{#if:{{{target}}}|Target|Objective}} | {{{target}}} |
Date | {{{date}}} {{{time}}} {{#if:{{{time-begin}}}|{{{time-begin}}} – {{{time-end}}}}} {{#if:{{{timezone}}}|({{{timezone}}})}} |
Executed by | {{{executed_by}}} |
Outcome | {{{outcome}}} |
Casualties | {{{casualties}}} |
{{#if:Earth|}} | |
{{#if:Earth|
{{#if:| Template:Location map many |Lua error in Module:Location_map at line 411: Malformed coordinates value. }} }} |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox military operation/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }} <syntaxhighlight lang="wikitext" style="overflow:auto;">
Infobox military operation/doc | |
---|---|
{{#if:|Part of }} | |
Location{{#if:|s}} | {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} |
Date | {{#if:| – }} {{#if:|()}} |
Casualties | {{#if:| killed}} {{#if:| injured}} |
{{#if:|}} | |
{{#if:|
{{#if:| Template:Location map many |Lua error in Module:Location_map at line 415: attempt to index field 'wikibase' (a nil value). }} }} |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox military operation/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}</syntaxhighlight>
Example
Case Blue | |
---|---|
{{#if:|Part of }} | |
{{#if:Strategic offensive|Operational scope|Type}} | Strategic offensive |
Location{{#if:|s}} | {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} |
Planned by | Wehrmacht |
{{#if:|Target|Objective}} | Capture of Caucasus oil fields |
Date | Began {{#if:
|{{#if: |{{{4}}}:{{{5}}}{{#if: |:{{{6}}} }}, }} }}{{#if: 1942 |{{#if: 06 |{{#if: 28 |{{#if: y|{{#expr:28}} {{#if:06|{{#switch:{{safesubst:#if:06 |{{safesubst:#switch:06 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{safesubst:#ifexpr:06<0 |{{safesubst:#ifexpr:((06)round 0)!=(06) |{{safesubst:#expr:12-(((0.5-(06))round 0)mod 12)}} |{{safesubst:#expr:12-(((11.5-(06))round 0)mod 12)}} }} |{{safesubst:#expr:(((10.5+06)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}|{{#if:06|{{#switch:{{safesubst:#if:06 |{{safesubst:#switch:06 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{safesubst:#ifexpr:06<0 |{{safesubst:#ifexpr:((06)round 0)!=(06) |{{safesubst:#expr:12-(((0.5-(06))round 0)mod 12)}} |{{safesubst:#expr:12-(((11.5-(06))round 0)mod 12)}} }} |{{safesubst:#expr:(((10.5+06)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} {{#expr:28}},}} 1942|{{#if:06|{{#switch:{{safesubst:#if:06 |{{safesubst:#switch:06 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{safesubst:#ifexpr:06<0 |{{safesubst:#ifexpr:((06)round 0)!=(06) |{{safesubst:#expr:12-(((0.5-(06))round 0)mod 12)}} |{{safesubst:#expr:12-(((11.5-(06))round 0)mod 12)}} }} |{{safesubst:#expr:(((10.5+06)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} 1942}}|1942}}}}{{#if: | ({{#ifeq: {{{7}}}|Z|UTC|{{{7}}}}})}}
| :{{{6}}} }} }} }} }}){{#if:|{{{time-begin}}} – }} {{#if:|({{{timezone}}})}} |
Executed by | Army Group South |
Casualties | {{#if:| killed}} {{#if:| injured}} |
{{#if:|}} | |
{{#if:|
{{#if:| Template:Location map many |Lua error in Module:Location_map at line 525: "{{{map_type}}}" is not a valid name for a location map definition. }} }} |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox military operation/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }} <syntaxhighlight lang="wikitext" style="overflow:auto;">
Case Blue | |
---|---|
{{#if:|Part of }} | |
{{#if:Strategic offensive|Operational scope|Type}} | Strategic offensive |
Location{{#if:|s}} | {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} {{#if:|}} |
Planned by | Wehrmacht |
{{#if:|Target|Objective}} | Capture of Caucasus oil fields |
Date | Began {{#if:
|{{#if: |{{{4}}}:{{{5}}}{{#if: |:{{{6}}} }}, }} }}{{#if: 1942 |{{#if: 06 |{{#if: 28 |{{#if: y|{{#expr:28}} {{#if:06|{{#switch:{{safesubst:#if:06 |{{safesubst:#switch:06 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{safesubst:#ifexpr:06<0 |{{safesubst:#ifexpr:((06)round 0)!=(06) |{{safesubst:#expr:12-(((0.5-(06))round 0)mod 12)}} |{{safesubst:#expr:12-(((11.5-(06))round 0)mod 12)}} }} |{{safesubst:#expr:(((10.5+06)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}|{{#if:06|{{#switch:{{safesubst:#if:06 |{{safesubst:#switch:06 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{safesubst:#ifexpr:06<0 |{{safesubst:#ifexpr:((06)round 0)!=(06) |{{safesubst:#expr:12-(((0.5-(06))round 0)mod 12)}} |{{safesubst:#expr:12-(((11.5-(06))round 0)mod 12)}} }} |{{safesubst:#expr:(((10.5+06)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} {{#expr:28}},}} 1942|{{#if:06|{{#switch:{{safesubst:#if:06 |{{safesubst:#switch:06 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{safesubst:#ifexpr:06<0 |{{safesubst:#ifexpr:((06)round 0)!=(06) |{{safesubst:#expr:12-(((0.5-(06))round 0)mod 12)}} |{{safesubst:#expr:12-(((11.5-(06))round 0)mod 12)}} }} |{{safesubst:#expr:(((10.5+06)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} 1942}}|1942}}}}{{#if: | ({{#ifeq: {{{7}}}|Z|UTC|{{{7}}}}})}}
| :{{{6}}} }} }} }} }}){{#if:|{{{time-begin}}} – }} {{#if:|({{{timezone}}})}} |
Executed by | Army Group South |
Casualties | {{#if:| killed}} {{#if:| injured}} |
{{#if:|}} | |
{{#if:|
{{#if:| Template:Location map many |Lua error in Module:Location_map at line 525: "{{{map_type}}}" is not a valid name for a location map definition. }} }} |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox military operation/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}</syntaxhighlight>
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.
- partof – optional – the larger conflict containing the event described in the article.
- image – optional – an image for the warbox. Given in the form
File:Example.jpg
- image_upright – optional – image upright scaling factor.
- alt – optional – Alternative text for image that is accessible to screen readers to help the visually impaired
- caption – optional – the text to be placed below the image.
- location – optional – the location of the operation.
- coordinates – optional – 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_type – optional – the base map to be used for the location map, e.g. "Scotland"; see {{location map}} for more details.
- map_size – optional – width of the location map in pixels (px), e.g. "150"; defaults to: "220".
- map_caption – optional – caption displayed below the location map; defaults to "Location within {{{map_type}}}", e.g. "Location within Scotland".
- map_label – optional – the label placed next to the marker on the location map.
- scope – optional – the scope of the operation, such as "Strategic", "Operational", or "Tactical".
- type – optional – as an alternative to the scope field above, the type of operation, such as "Suicide attack" or "Ambush".
- planned – optional – the date(s) on which the plan was developed.
- planned_by – optional – the person or group responsible for developing the plan.
- commanded_by – optional – the person commanding the operation.
- objective – optional – the objective(s) of the operation.
- target – optional – as an alternative to the objective field above, the target(s) of the operation.
- date – optional – the date(s), if any, on which the operation was executed. use {{Start date}} (and {{End date}} if required)
- time – optional – the time, if any, at which the operation was executed.
- time-begin and time-end – optional – as an alternative to the time field above, the start and end times, respectively.
- 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.
- outcome – optional – the outcome of the operation from the perspective of the planners with a very brief summary of defence if appropriate.
- 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.
- injuries – optional – 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 {{#if: |{{{type}}} |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.{{#if:{{#if:{{{hide_subtemplates}}} |}}
|
- Subtemplates
{{#if:{{{hide_subtemplates}}} |}}
Please do not remove instances of these subtemplates.
}}{{#if: |
{{{subsection1}}}
}}{{#if:attendee |
- Classes used
The HTML classes of this microformat include:
- Page Template:Flatlist/styles.css has no content.
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
{{#ifeq: Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | <div style="}}display: inline-block; line-height: 1.2em; padding: .1em 0; {{#ifeq: Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | line-height:1.3em">Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | width: 100%; }}{{#if:|}}}}{{#ifeq:doc|doc | |{{#ifeq:doc|sandbox | |}} }}
TemplateData
TemplateData for this template used by TemplateWizard, VisualEditor and other tools |
---|
<translate> The following is a closed debate.</translate> Template:Strong |
{{#switch:<translate></translate> |= {{#if:{{safesubst:#switch:
{{#ifeq:doc|sandbox||{{#if:{{#ifexpr: (
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes }}|{{#ifexpr:{{#if:|{{#ifeq:Template:Infobox military operation/doc|{{#switch: |#default = | = {{#ifeq: | | Template:{{{docpage}}} | }} }}|0|1}}|not{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:infobox military operation/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}| |#default = Infobox military operation/doc | = {{#ifeq: | | Template:Infobox military operation/doc | Infobox military operation/doc }} }}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch: |#default = Infobox military operation/doc | = {{#ifeq: | | Template:Infobox military operation/doc | Infobox military operation/doc }} }}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:y||<translate> This is the [[<tvar name=1>Special:MyLanguage/Help:TemplateData</tvar>|TemplateData]] documentation for this template used by [[<tvar name=2>Special:MyLanguage/VisualEditor</tvar>|VisualEditor]] and other tools.</translate>}} Infobox military operation {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:infobox military operation/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default= {{#switch: |= {{#if:{{safesubst:#switch:
{{#ifeq:doc|sandbox||{{#if:{{#ifexpr: (
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes }}|{{#ifexpr:{{#if:|{{#ifeq:Template:Infobox military operation/doc|{{#switch: |#default = | = {{#ifeq: | | Template:{{{docpage}}} | }} }}|0|1}}|not{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:infobox military operation/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}| |#default = Infobox military operation/doc | = {{#ifeq: | | Template:Infobox military operation/doc | Infobox military operation/doc }} }}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch: |#default = Infobox military operation/doc | = {{#ifeq: | | Template:Infobox military operation/doc | Infobox military operation/doc }} }}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:y||This is the TemplateData documentation for this template used by VisualEditor and other tools.}} Infobox military operation {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:infobox military operation/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default= Lua error: expandTemplate: template loop detected.
}} }} <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