This documentation is transcluded from Template:Warningbox/doc
. (edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
This template has a sandbox (edit)
for editors to experiment.
When to use
This template is meant for non-obvious dangers to life and limb, and should be used sparingly. If a government agency has listed a travel warning for an area (see #Travel advisories), a warning box is appropriate. Other appropriate uses include:
- "civil war in this region"
- "devastated by earthquake last week"
- "Ebola virus outbreak"
- "death penalty for marijuana possession"
Warningboxes can be used in the immediate aftermath of natural disasters, but should be removed as soon as the destination becomes reachable again (airports open, hotels available, no more plague victims). Be sure to use the warningbox to provide specific information relevant to travellers rather than a generic warning: "Area damaged by earthquakes" is less helpful than "Hotels and transportation infrastructure in the downtown area have been damaged by the November 2012 earthquake and may not be available, although the suburbs remain mostly unaffected".
Do not use this for minor announcements ("closed for repairs"), minor dangers ("fine for littering", "do not feed the monkeys"), obvious dangers ("do not walk on expressways", "do not wander down dark alleys while intoxicated"), or for news events that have short-term impact and will not affect those planning travel ("hostage situation in the town hall", "50 car accident on the freeway").
Warnings should be dated as, in times of natural or man-made disaster, the situation on the ground and available information change rapidly. For instance, an initial:
will attract multiple updates from other editors as the extent of the devastation becomes known and aid is urgently dispatched to rebuild the shattered city.
If the danger affects the entire region, the warning box can be placed at the very top of the article. If the danger is localized or avoidable, place it under "Stay safe".
This template adds mainspace pages with warnings to Category:Has warning box.
- If no lastedit entered will also add page to Category:Has warning box with no date.
- lastedit=permanent can be used if warning not time limited.
- If lastedit older than 6 months will also add page to Category:Has warning box with out of date warning
The template can be invoked as follows:
| '''Regions affected:''' Northern [[Baja California]], [[Sonora]], [[Chihuahua]], [[Nuevo Leon]], and [[Tamaulipas]]<br>A travel advisory was issued April 22, 2011 due to more than 15,000 narcotics-related homicides that occurred in 2010. Most of those killed in narcotics-related violence since 2006 have been members of transnational criminal organizations. The Mexican government makes a considerable effort to protect visitors to major tourist destinations, and resort areas and tourist destinations in Mexico generally do not see the levels of drug-related violence and crime reported in the border region and in areas along major trafficking routes. Nevertheless, crime and violence are serious problems and can occur anywhere.
...which produces the following warning box:
||WARNING: Regions affected: Northern Baja California, Sonora, Chihuahua, Nuevo Leon, and Tamaulipas|
A travel advisory was issued April 22, 2011 due to more than 15,000 narcotics-related homicides that occurred in 2010. Most of those killed in narcotics-related violence since 2006 have been members of transnational criminal organizations. The Mexican government makes a considerable effort to protect visitors to major tourist destinations, and resort areas and tourist destinations in Mexico generally do not see the levels of drug-related violence and crime reported in the border region and in areas along major trafficking routes. Nevertheless, crime and violence are serious problems and can occur anywhere.
Government travel advisories
|(Information last updated 26 Aug 2015)
To add advisories, insert full, direct URLs of a government's country specific information using one or more of the following template parameters:
- Hong Kong:
- New Zealand:
- South Africa:
- United Kingdom:
- United States:
To add last updated dates, insert a date in the YYYY-MM-DD format after adding a
lastedit template parameter. You should update the
lastedit date every time you change the information in the warning or check the information and it is still accurate.
Only add a
lastedit parameter on warning boxes with information likely to change or go out of date quickly. For example, a destination with a war currently ongoing, like Syria or where there has been a natural disaster recently, like a major flood or hurricane.
The template allows the addition of government travel advisories. Use the following links to help find URLs of official advisories on government websites.
Before using this template, consider whether one of the alternatives might be more appropriate for the specific application.