Template:Include-USGov/testcases
Appearance
This is the template test cases page for the sandbox of Template:Include-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: |
- agency (required) - name of agency (or reference source) that produced material
- url (optional) - URL of reference
- policy (optional) - URL of re-use policy of agency or reference source
- comment (optional) - free field that produces parenthesized comment at end
- article (optional) - the title of the reference
- source (optional) - free field at end at shuts off most other arguments: useful for inline use of {{cite web}}
Template takes any parameter specified by {{cite web}} as long as article and url are specified (article gets mapped to cite web title)
Tests
[edit]{{Include-USGov}}
{{Include-USGov}} | → | This article incorporates public domain material from websites or documents of the Federal government of the United States. |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from websites or documents of the Federal government of the United States. |
{{Include-USGov|url=http://www.agency.gov/doc.html}}
{{Include-USGov}} | → | This article incorporates public domain material from [1] |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from [2] |
{{Include-USGov|article=Reference document |author=John Q. Public |url=http://www.agency.gov/doc.html}}
{{Include-USGov}} | → | This article incorporates public domain material from John Q. Public. Reference document. Federal government of the United States. |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from John Q. Public. Reference document. Federal government of the United States. |
{{Include-USGov|agency=United States Department}}
{{Include-USGov}} | → | This article incorporates public domain material from websites or documents of the United States Department. |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from websites or documents of the United States Department. |
{{Include-USGov|agency=United States Department |policy=http://www.agency.gov/policy.html}}
{{Include-USGov}} | → | This article incorporates public domain material from websites or documents of the United States Department. |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from websites or documents of the United States Department. |
{{Include-USGov|agency=United States government |comment=comment can have [[Wikilink|link]]s}}
{{Include-USGov}} | → | This article incorporates public domain material from websites or documents of the United States government (comment can have links). |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from websites or documents of the United States government (comment can have links). |
{{Include-USGov|agency=United States Department |url=http://www.agency.gov/}}
{{Include-USGov}} | → | This article incorporates public domain material from the United States Department |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from the United States Department |
{{Include-USGov|agency=United States Department |comment=comment |url=http://www.agency.gov/}}
{{Include-USGov}} | → | This article incorporates public domain material from the United States Department (comment). |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from the United States Department (comment). |
{{Include-USGov|agency=United States Department |article=Reference document}}
{{Include-USGov}} | → | This article incorporates public domain material from Reference document. United States Department. |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from Reference document. United States Department. |
{{Include-USGov|agency=United States Department |title=Reference document}}
{{Include-USGov}} | → | This article incorporates public domain material from Reference document. United States Department. |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from Reference document. United States Department. |
{{Include-USGov|agency=United States Department |article=Reference document |author=John Q. Public |url=http://www.agency.gov/doc.html}}
{{Include-USGov}} | → | This article incorporates public domain material from John Q. Public. Reference document. United States Department. |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from John Q. Public. Reference document. United States Department. |
{{Include-USGov|accessdate=2008-08-08 |agency=United States Department |article=Reference document |url=http://www.agency.gov/doc.html}}
{{Include-USGov}} | → | This article incorporates public domain material from Reference document. United States Department. Retrieved 2008-08-08. |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from Reference document. United States Department. Retrieved 2008-08-08. |
{{Include-USGov|accessdate=2008-08-08 |agency=United States Department |article=Reference document |author=John Q. Public |comment=comment can have [[Wikilink|link]]s |policy=http://www.agency.gov/policy.html |url=http://www.agency.gov/doc.html}}
{{Include-USGov}} | → | This article incorporates public domain material from John Q. Public. Reference document. United States Department. Retrieved 2008-08-08. (comment can have links). |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from John Q. Public. Reference document. United States Department. Retrieved 2008-08-08. (comment can have links). |
{{Include-USGov|accessdate=Third Age |agency=United States government |article=On Boggies |author=Arglebargle IV |policy=http://www.whitehouse.gov |source=Use cite template here}}
{{Include-USGov}} | → | This article incorporates public domain material from Use cite template here |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from Use cite template here |
{{Include-USGov|agency=United States Department|source={{cite book|first=John |last=Smith |title=Battle of Hastings}}}}
{{Include-USGov}} | → | This article incorporates public domain material from Smith, John. Battle of Hastings. |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from Smith, John. Battle of Hastings. |
{{Include-USGov|agency=United States Department|source={{cite book|first=John |last=Smith |title=Battle of Hastings}}|comment=1066}}
{{Include-USGov}} | → | This article incorporates public domain material from Smith, John. Battle of Hastings. (1066). |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from Smith, John. Battle of Hastings. (1066). |
{{Include-USGov|agency=United States Department |article=Reference document |source= |url=http://www.agency.gov/doc.html}}
{{Include-USGov}} | → | This article incorporates public domain material from Reference document. United States Department. |
---|---|---|
{{Include-USGov/sandbox}} | → | This article incorporates public domain material from Reference document. United States Department. |