Module:CIA World Factbook/doc

Used by CIA World Factbook and Cite CIA World Factbook

Country

 * Generates the URL for a country entry in the CIA World Factbook.


 * country is the topic country (optional)
 * section is the section anchor to link to (e.g., "People and Society") (optional)

Archive

 * Generates a link to the annual archives of the CIA World Factbook.


 * year the year of the archive
 * date the date of the article in the Factbook (either on the article itself, or the access date of the article)
 * archive the url or date of the archive of the article.

If archive is non-empty, then nothing is produced. Else, if year is non-empty, then the link to that year's archive is produced. Else, if date is non-empty, it is parsed for a year and that year's archive is produced.

If the year is either the current year or the previous year, no archive is returned.