Jump to content

Template:Cite USGov/testcases

From Wikipedia, the free encyclopedia


Standard[edit]

{{Cite USGov}}
{{Cite USGov}} Federal government of the United States.
{{Cite USGov/sandbox}} Federal government of the United States.
{{Cite USGov |agency=United States Department}}
{{Cite USGov}} United States Department.
{{Cite USGov/sandbox}} United States Department.
{{Cite USGov |agency=United States Department |url=http://www.agency.gov/}}
{{Cite USGov |agency=United States Department |article=Reference document}}
{{Cite USGov}} Reference document. United States Department.
{{Cite USGov/sandbox}} Reference document. United States Department.
{{Cite USGov |agency=United States Department |title=Reference document}}
{{Cite USGov}} Reference document. United States Department.
{{Cite USGov/sandbox}} Reference document. United States Department.
{{Cite USGov |agency=United States Department |article=Reference document |author=John Q. Public |url=http://www.agency.gov/doc.html}}
{{Cite USGov |accessdate=2008-08-08 |agency=United States Department |article=Reference document |url=http://www.agency.gov/doc.html}}
{{Cite USGov |accessdate=2008-08-08 |agency=United States Department |article=Reference document |author=John Q. Public |url=http://www.agency.gov/doc.html}}
{{Cite USGov}} John Q. Public. Reference document. United States Department. Retrieved 2008-08-08.
{{Cite USGov/sandbox}} John Q. Public. Reference document. United States Department. Retrieved 2008-08-08.

Corner cases[edit]

Test 1
{{Cite USGov |agency=[[Government agency]] |url=https://www.example.gov}}
{{Cite USGov}} Government agency.
{{Cite USGov/sandbox}} Government agency.
Test 2
{{Cite USGov |agency=[[CIA|Agency]] |url=https://www.example.gov}}
{{Cite USGov}} Agency.
{{Cite USGov/sandbox}} Agency.
Test 3
{{Cite USGov |agency=USGS |archive-date=2007-10-31 |archive-url=https://web.archive.org/web/20071031053605/http://www.cs.indiana.edu/sudoc/image_30000078909581/30000078909581/olrdocs/interior.pdf |chapter=Bighorn Sheep in the Rocky Mountain National Parks |chapter-url=http://www.cs.indiana.edu/sudoc/image_30000078909581/30000078909581/olrdocs/interior.pdf |editor=Stohlgren, T.J. |first=Francis |last=Singer |location=Washington, D.C. |publisher=U.S. Geological Survey |title=The Interior West. In: Our Living Resources: A report to the nation on the distribution, abundance, and health of U.S. plants, animals, and ecosystems |year=1995}}
{{Cite USGov}} Singer, Francis (1995). "Bighorn Sheep in the Rocky Mountain National Parks" (PDF). In Stohlgren, T.J. (ed.). The Interior West. In: Our Living Resources: A report to the nation on the distribution, abundance, and health of U.S. plants, animals, and ecosystems. Washington, D.C.: U.S. Geological Survey. Archived from the original (PDF) on 2007-10-31.
{{Cite USGov/sandbox}} Singer, Francis (1995). "Bighorn Sheep in the Rocky Mountain National Parks" (PDF). In Stohlgren, T.J. (ed.). The Interior West. In: Our Living Resources: A report to the nation on the distribution, abundance, and health of U.S. plants, animals, and ecosystems. Washington, D.C.: U.S. Geological Survey. Archived from the original (PDF) on 2007-10-31.
Test 4
{{Cite USGov |access-date=24 September 2012 |agency=Overseas Security Advisory Council |date=14 March 2012 |publisher=Bureau of Diplomatic Security, U.S. Department of State |title=Thailand 2012 Crime and Safety Report: Bangkok |url=https://www.osac.gov/Pages/ContentReportDetails.aspx?cid=12189 |website=Overseas Security Advisory Council website}}
{{Cite USGov}} "Thailand 2012 Crime and Safety Report: Bangkok". Overseas Security Advisory Council website. Bureau of Diplomatic Security, U.S. Department of State. 14 March 2012. Retrieved 24 September 2012.
{{Cite USGov/sandbox}} "Thailand 2012 Crime and Safety Report: Bangkok". Overseas Security Advisory Council website. Bureau of Diplomatic Security, U.S. Department of State. 14 March 2012. Retrieved 24 September 2012.
Test 5
{{Cite USGov |access-date=2019-05-26 |agency=United States Department of State |author=Bureau of Democracy, Human Rights, and Labor |issn=1936-4156 |journal=International Religious Freedom Report |location=Washington, DC |policy=https://2009-2017.state.gov/misc/87529.htm |publisher=Department of State |title=Russia |url=https://2009-2017.state.gov/j/drl/rls/irf/2005/51576.htm |year=2005}}
{{Cite USGov}} Bureau of Democracy, Human Rights, and Labor (2005). "Russia". International Religious Freedom Report. Washington, DC: Department of State. ISSN 1936-4156. Retrieved 2019-05-26.{{citation}}: CS1 maint: multiple names: authors list (link)
{{Cite USGov/sandbox}} Bureau of Democracy, Human Rights, and Labor (2005). "Russia". International Religious Freedom Report. Washington, DC: Department of State. ISSN 1936-4156. Retrieved 2019-05-26.{{citation}}: CS1 maint: multiple names: authors list (link)