Difference between revisions of "Template:CIA World Factbook/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(update to reflect new meta-template)
imported>Hike395
(→‎Usage: expanded usage)
Line 6: Line 6:
  
 
=== Usage ===
 
=== Usage ===
This template accepts one parameter, ''year''. The parameter is optional, and may be omitted.
+
This template accepts five parameters: ''year'', ''url'', ''article'', ''author'', ''accessdate''. The parameters ''url'' and ''article'' should be used together. The parameters are optional, and may be omitted.
  
 
* <tt><nowiki>{{CIA World Factbook}}</nowiki></tt> results in:<br />{{CIA World Factbook}}
 
* <tt><nowiki>{{CIA World Factbook}}</nowiki></tt> results in:<br />{{CIA World Factbook}}
  
 
* <tt><nowiki>{{CIA World Factbook|year=2004}}</nowiki></tt> results in:<br />{{CIA World Factbook|year=2004}}
 
* <tt><nowiki>{{CIA World Factbook|year=2004}}</nowiki></tt> results in:<br />{{CIA World Factbook|year=2004}}
 +
 +
* <tt><nowiki>{{CIA World Factbook|url=https://www.cia.gov/library/publications/the-world-factbook/geos/ao.html|article=Angola}}</nowiki></tt> results in:<br />{{CIA World Factbook|url=https://www.cia.gov/library/publications/the-world-factbook/geos/ao.html|article=Angola}}
 +
 +
* <tt><nowiki>{{CIA World Factbook|url=https://www.cia.gov/library/publications/the-world-factbook/geos/ao.html|article=Angola|author=John Q. Public}}</nowiki></tt> results in:<br />{{CIA World Factbook|url=https://www.cia.gov/library/publications/the-world-factbook/geos/ao.html|article=Angola|author=John Q. Public}}
 +
 +
* <tt><nowiki>{{CIA World Factbook|url=https://www.cia.gov/library/publications/the-world-factbook/geos/ao.html|article=Angola|accessdate=2006-06-06}}</nowiki></tt> results in:<br />{{CIA World Factbook|url=https://www.cia.gov/library/publications/the-world-factbook/geos/ao.html|article=Angola|accessdate=2006-06-06}}
  
 
=== See also ===
 
=== See also ===

Revision as of 12:36, 11 April 2009

This template attributes content to The World Factbook, which is a publication of the Central Intelligence Agency. This is a public domain publication of the U.S. government. This template will include the articles which transclude it into the hidden category Category:Wikipedia articles incorporating text from the World Factbook.

Usage

This template accepts five parameters: year, url, article, author, accessdate. The parameters url and article should be used together. The parameters are optional, and may be omitted.

  • {{CIA World Factbook|year=2004}} results in:
    File:PD-icon.svg This article incorporates public domain material from the CIA World Factbook document: "2004 edition".

See also