Template:Cite USGov/testcases
Jump to navigation
Jump to search
| This is the template test cases page for the sandbox of Template:Cite USGov. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Standard
[edit source]{{Cite USGov}}
| {{Cite USGov}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
{{Cite USGov|agency=United States Department}}
| {{Cite USGov}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
{{Cite USGov|agency=United States Department |url=http://www.agency.gov/}}
| {{Cite USGov}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
{{Cite USGov|agency=United States Department |article=Reference document}}
| {{Cite USGov}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
{{Cite USGov|agency=United States Department |title=Reference document}}
| {{Cite USGov}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
{{Cite USGov|agency=United States Department |article=Reference document |author=John Q. Public |url=http://www.agency.gov/doc.html}}
| {{Cite USGov}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
{{Cite USGov|accessdate=2008-08-08 |agency=United States Department |article=Reference document |url=http://www.agency.gov/doc.html}}
| {{Cite USGov}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
{{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}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
Corner cases
[edit source]Test 1
{{Cite USGov|agency=[[Government agency]] |url=https://www.example.gov}}
| {{Cite USGov}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
Test 2
{{Cite USGov|agency=[[CIA|Agency]] |url=https://www.example.gov}}
| {{Cite USGov}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
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}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
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}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
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}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |
|---|---|---|
| {{Cite USGov/sandbox}} | → | Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). |