Template:Asia topic/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search


Additional documentation for Template:Asia topic

Removing the article "the"

By default all links for the entries for the Philippines, the Maldives, etc. include the article "the". In some cases this is not wanted. To remove the leading article, set the parameter |article= to anything except "yes".

Code {{Asia topic|prefix=Roads in|title=Roads in Asia|state=expanded}} Result

Note that {{Asia topic}}, together with {{Europe topic}}, is the only continent-topic template to have an "article" parameter. In most other templates "the" is automatically included if there is no suffix and cannot be manually added or suppressed.

Adding or suppressing "(country)" for Georgia

In the link for Georgia, the disambiguator "(country)" is included unless a suffix is defined using either |suffix= or the second unnamed parameter. The |template= parameter overrides this behavior; set it to "yes" to explicitly include the disambiguator, or to anything else to suppress it.

The previously mentioned default behavior is different from that in {{Europe topic}}; in that template "(country)" is always included by default, regardless of whether a suffix is defined.

Altering the link used for a specific entity

To change the link used for a single state or dependency, the following entity-specific parameters are available. Most parameters are named after each entity's ISO 3166-1 alpha-2 code; some states with limited recognition are not included in that standard and have parameters consisting of nonofficial two-letter codes preceded by the letter "X" (ISO 3166-1 alpha-3 user-assigned codes).

Sovereign states

  • |AF= Afghanistan
  • |AM= Armenia
  • |AZ= Azerbaijan
  • |BH= Bahrain
  • |BD= Bangladesh
  • |BT= Bhutan
  • |BN= Brunei
  • |MM= Burma (Myanmar)
  • |KH= Cambodia
  • |CN= China
  • |CY= Cyprus
  • |TL= East Timor (Timor-Leste)
  • |EG= Egypt
  • |GE= Georgia
  • |IN= India
  • |ID= Indonesia
  • |IR= Iran
  • |IQ= Iraq
  • |IL= Israel
  • |JP= Japan
  • |JO= Jordan
  • |KZ= Kazakhstan
  • |KP= North Korea
  • |KR= South Korea
  • |KW= Kuwait
  • |KG= Kyrgyzstan
  • |LA= Laos
  • |LB= Lebanon
  • |MY= Malaysia
  • |MV= Maldives
  • |MN= Mongolia
  • |NP= Nepal
  • |OM= Oman
  • |PK= Pakistan
  • |PH= Philippines
  • |QA= Qatar
  • |RU= Russia
  • |SA= Saudi Arabia
  • |SG= Singapore
  • |LK= Sri Lanka
  • |SY= Syria
  • |TJ= Tajikistan
  • |TH= Thailand
  • |TR= Turkey
  • |TM= Turkmenistan
  • |AE= United Arab Emirates
  • |UZ= Uzbekistan
  • |VN= Vietnam
  • |YE= Yemen

States with limited recognition

  • |XAB= Abkhazia
  • |XNK= Nagorno-Karabakh
  • |XNC= Northern Cyprus
  • |PS= Palestine (UN observer state)
  • |XSO= South Ossetia
  • |TW= Taiwan

Dependencies and other territories

  • |IO= British Indian Ocean Territory
  • |CX= Christmas Island
  • |CC= Cocos (Keeling) Islands
  • |HK= Hong Kong
  • |MO= Macau

If a parameter is specified, but left blank, the respective entity will be omitted from the list. If set to anything else, it changes the link for the entity to the specified title. This can be used to correct an otherwise red link, or to bypass a redirect link.

To omit all dependencies if not applicable for the topic in question, set the parameter |countries_only= to any non-null value.

List of wrapper templates using Template:Asia topic

See also