Template talk:CIA World Factbook link

From Wikipedia, the free encyclopedia

Contents

[edit] Usage

{{CIA_World_Factbook_link|COUNTRY_CODE|COUNTRY}}

expands to this wiki code:

[[CIA World Factbook]] entry on [https://www.cia.gov/cia/publications/factbook/geos/COUNTRY_CODE.html COUNTRY]

which is rendered as:

CIA World Factbook entry on COUNTRY

[edit] Example

{{CIA_World_Factbook_link|ao|Angola}}

becomes:

Angola entry at The World Factbook

[edit] Shouldn't the _external_ link come first, like {imdb}, {gutenberg}, etc.?

Something like:

[https://www.cia.gov/cia/publications/factbook/geos/COUNTRY_CODE.html COUNTRY] entry from the [[CIA World Factbook]]

Since it is generally used in the External links sections like those other External link templates. 76.22.4.86 01:05, 24 April 2007 (UTC)

[edit] Notes on codes

The CIA builds the Factbook around the FIPS 10-4 two letter codes; a list of these codes can found at List of FIPS country codes. However, there are a few codes used in the Factbook not at the above link. They are:

  • xx - World
  • xq - Arctic Ocean
  • zh - Atlantic Ocean
  • xo - Indian Ocean
  • kv - Kosovo
  • zn - Pacific Ocean
  • oo - Southern Ocean
  • um - United States Pacific Island Wildlife Refuges
  • ee - European Union

When using these codes on this page or in the link, the codes have to be lowercase or you will get a 404 error.

I hope this helps. - Thanks, Hoshie 13:05, 26 May 2007 (UTC)