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

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(remove {{intricate template}} - it's not really that complicated)
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
Line 7: Line 7:
 
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.
 
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}}
+
* <kbd><nowiki>{{CIA World Factbook}}</nowiki></kbd> results in:<br />{{CIA World Factbook}}
  
* <tt><nowiki>{{CIA World Factbook|year=2004}}</nowiki></tt> results in:<br />{{CIA World Factbook|year=2004}}
+
* <kbd><nowiki>{{CIA World Factbook|year=2004}}</nowiki></kbd> 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}}
+
* <kbd><nowiki>{{CIA World Factbook |url=https://www.cia.gov/library/publications/the-world-factbook/geos/ao.html |article=Angola}}</nowiki></kbd> 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}}
+
* <kbd><nowiki>{{CIA World Factbook |url=https://www.cia.gov/library/publications/the-world-factbook/geos/ao.html |article=Angola |author=John Q. Public}}</nowiki></kbd> 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}}
+
* <kbd><nowiki>{{CIA World Factbook |url=https://www.cia.gov/library/publications/the-world-factbook/geos/ao.html |article=Angola |accessdate=2006-06-06}}</nowiki></kbd> 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 05:39, 5 August 2018

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:
    12px This article incorporates public domain material from the CIA World Factbook document: "2004 edition".
  • {{CIA World Factbook |url=https://www.cia.gov/library/publications/the-world-factbook/geos/ao.html |article=Angola |author=John Q. Public}} results in:
    12px This article incorporates public domain material from the CIA World Factbook document: John Q. Public. "Angola".
  • {{CIA World Factbook |url=https://www.cia.gov/library/publications/the-world-factbook/geos/ao.html |article=Angola |accessdate=2006-06-06}} results in:
    12px This article incorporates public domain material from the CIA World Factbook document: "Angola". Retrieved 2006-06-06.

See also