Template:Infobox military operation/doc: Difference between revisions
m (1 revision imported) |
(update) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{noheader|}}}|yes||{{Documentation subpage}} | {{#ifeq:{{{noheader|}}}|yes||{{Documentation subpage}} | ||
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | {{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| | 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. | ||
__TOC__ | |||
<pre style="overflow: auto;"> | === Usage === | ||
{{Infobox | {{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}} | ||
| name | <pre style="overflow:auto;"> | ||
| partof | {{Infobox military operation | ||
| image | |name = | ||
| | |partof = | ||
| alt | |image = | ||
| caption | |image_upright = | ||
| scope | |alt = | ||
| type | |caption = | ||
| location | |scope = | ||
| coordinates | |type = | ||
| map_type | |location = | ||
| map_size | |coordinates = | ||
| map_caption | |map_type = | ||
| map_label | |map_size = | ||
| planned | |map_caption = | ||
| planned_by | |map_label = | ||
| commanded_by = | |planned = | ||
| objective | |planned_by = | ||
| target | |commanded_by = | ||
| date | |objective = | ||
| time | |target = | ||
| time-begin | |date = <!-- {{start date|YYYY|MM|DD|df=y}} --> | ||
| time-end | |time = | ||
| timezone | |time-begin = | ||
| executed_by | |time-end = | ||
| outcome | |timezone = | ||
| casualties | |executed_by = | ||
| fatalities | |outcome = | ||
| injuries | |casualties = | ||
}} | |fatalities = | ||
</pre> | |injuries = | ||
}}</pre> | |||
=== Example === | === Example === | ||
{{Infobox | {{Infobox military operation | ||
| name | |name = Case Blue | ||
| scope | |scope = Strategic offensive | ||
|planned_by = ''[[Wehrmacht]]'' | |||
| planned_by | |objective = Capture of [[Caucasus]] oil fields | ||
|executed = Began {{start date|1942|06|28|df=y}} | |||
|executed_by = [[Army Group South]] | |||
| | |||
| executed | |||
| executed_by | |||
}} | }} | ||
</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 76: | Line 66: | ||
* '''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 for the warbox. Given in the form <code>File:Example.jpg</code> | * '''image''' – ''optional'' – an image for the warbox. Given 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]] | * '''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. | ||
Line 102: | Line 92: | ||
* '''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}} | ||
== | === See also === | ||
* {{ | * {{tl|Infobox civil conflict}} | ||
* {{tl|Infobox civilian attack}} | |||
<noinclude | * {{tl|Infobox military conflict}}<noinclude> | ||
[[Category:WikiProject Military history template instructions|Military operation]] | |||
[[Category:WikiProject Military history template instructions| | |||
</noinclude><includeonly>{{#ifeq:{{{noheader|}}}|yes|| | </noinclude><includeonly>{{#ifeq:{{{noheader|}}}|yes|| | ||
[[Category:Military auxiliary infobox templates| | [[Category:Military auxiliary infobox templates|Military operation]] | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> |
Revision as of 19:58, 19 March 2019
This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
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}}} | |
---|---|
Part of {{{conflict}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]] | |
Operational scope | {{{scope}}} |
Location | {{{location}}} Lua error: callParserFunction: function "#coordinates" was not found. |
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}}} |
Lua error in Module:Location_map at line 410: Malformed coordinates value. |
{{Infobox military operation |name = |partof = |image = |image_upright = |alt = |caption = |scope = |type = |location = |coordinates = |map_type = |map_size = |map_caption = |map_label = |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 scope | Strategic offensive |
Planned by | Wehrmacht |
Objective | Capture of Caucasus oil fields |
Date | Began 28 June 1942 |
Executed by | Army 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.
- 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. - 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.
- 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 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
nor collapse nested elements which use them.