Template:Warningbox

From Wikivoyage
Jump to navigation Jump to search
[view] [edit] [history] [purge] Template documentation

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"
  • "military launched coup d'état"
  • "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 today", "50-car accident on the freeway this afternoon").

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:

Travel Warning WARNING: Stop trains. Munitions ship on fire. Approaching Pier 6. Goodbye.
(Information last updated 06 Dec 1917)
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.

Usage

Article placement

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".

Template usage

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:

{{warningbox
| '''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.
| us=http://travel.state.gov/content/passports/english/alertswarnings/mexico-travel-warning.html
| lastedit=2015-08-26
}}

...which produces the following warning box:

Travel Warning 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:

  • Australia: australia
  • Belgium: be
  • Canada: canada
  • Germany: de
  • France: fr
  • Hong Kong: hk
  • Ireland: ie
  • India: india
  • Netherlands: nl
  • New Zealand: nz
  • China: prc
  • Singapore: sg
  • South Africa: southafrica
  • United Kingdom: uk
  • United States: us

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.

Travel advisories

The template allows the addition of government travel advisories. Use the following links to help find URLs of official advisories on government websites.

See also

Before using this template, consider whether one of the alternatives might be more appropriate for the specific application.

Non-obvious dangers to life and limb.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Warning text1

no description

Stringrequired
australiaaustralia au

no description

URLoptional
bebe

no description

URLoptional
canadacanada ca

no description

URLoptional
dede

no description

URLoptional
frfr

no description

URLoptional
indiaindia in

no description

URLoptional
nznz

no description

URLoptional
nlnl

no description

URLoptional
southafricasouthafrica za

no description

URLoptional
ukuk

no description

URLoptional
usus

no description

URLoptional
ieie

no description

URLoptional
prcprc

no description

URLoptional
hkhk

no description

URLoptional
Lasteditlastedit

Date the information was last updated in YYYY-MM-DD format

Datesuggested