Template:Infobox military attack/doc
From Wikipedia, the free encyclopedia
Contents |
[edit] Usage
{{Infobox military attack | title = | image = | caption = | location = | coordinates = | target = | date = | time = | timezone = | type = | fatalities = | injuries = | instigator = | means = | conflict = }}
[edit] Example
{{Infobox military attack
For all fields, no wikilinks are automatically incorporated into the infobox. Therefore, if you want anything to be linked to something else, they must be added when including the template.
[edit] Required fields
- title - A title for the attack; most likely this will match the article title, but you can change it to something slightly different if the title is a little over-descriptive
- location - The city where the attack occurred; including the country is preferred for cities; including the province or state is discouraged unless necessary or well-known:
-
- Major, international cities: Tokyo is okay, but Tokyo, Japan is preferred unless it comprimises stylistic appearance
- Major cities in well-known provinces: Toronto, Ontario, Canada is unnecessarily specific; Toronto, Ontario or Toronto, Canada preferred (although Toronto is okay)
- Cities with relative international anonymity: Beslan is not good due to the city's relative anonymity; Beslan, Russia is preferred, Beslan, North Ossetia-Alania discouraged, Beslan, Russia, North Ossetia-Alania unnecessarily specific
- Cities with common names: Portland is not good; Portland, USA is not good either; Portland, Oregon (well-known state) or Portland, Oregon, USA preferred
- date - The date of the attack; use {{Start date}} to allow for users' date preferences to go into effect and include the date in the hCalendar microformat (see below; end-date and time parameters will be added to the microformat, later).
[edit] Optional fields
- image - An image associated with the event; do not precede the image name with Image:
- caption - A caption for the image
- coordinates - geographical coordinates. Use {{coord}} with |display=inline,title
- target - A specific target, if applicable (perhaps a specific airplane or building); multiple targets are allowed, of course
- time - The time of the attack(s), if all targets occurred at the same time (do not use this along with time-begin and time-end)
- time-begin and time-end - The start and end times, respectively, if the series of attacks (do not use this along with time)
- timezone - The timezone of the location of the attack(s); UTC+X, UTC-X, or UTC (i.e. offset from UTC) preferred
- type - The type of attack
- means - Means used in attack (this field should not be over-used)
- fatalities - Number of people killed during attack(s)
- injuries - Number of people injured (excludes those killed) during attack(s)
- instigator - The instigator of the attack
- conflict - The conflict during which the attack took place
[edit] Coordinates
For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.
[edit] Microformat
The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary applciation. Within the hCalendar is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Dates will only appear if you use {{Start date}} or {{End date}} (use the former for single dates).
hCalendar uses HTML classes including:
- "dtend"
- "dtstart"
- "location"
- "summary"
- "vevent"
Geo is produced by calling {{coord}}, and uses HTML classes:
- "geo"
- "latitude"
- "longitude"
Please do not rename or remove these classes.
When giving coordinates, please don't be overly precise.