Template:Include-USGov/doc
This is a documentation subpage for Template:Include-USGov. It contains usage information, categories and other content that is not part of the original template page. |
This template is designed to be a meta-template, used to construct U.S. Government attribution message templates. It could be used directly in an article.
Parameters
- 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
- author (optional) - author of reference
- accessdate (optional) - date page last checked
- source (optional) - free field at end at shuts off most other arguments: useful for inline use of {{cite web}}
Usage
Code | Produces | Comments |
---|---|---|
{{Include-USGov |agency=United States Department}} |
This article incorporates public domain material from websites or documents of the United States Department. | Minimal usage: templates that call this one should pass in optional arguments. |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from websites or documents of the United States Department. | Replace internal wikilink about generic re-use to specific agency policy |
{{Include-USGov |agency=United States government |
This article incorporates public domain material from websites or documents of the United States government (comment can have links). | comment is a free field that produces a parenthesized comment at end, agency should auto-wikilink |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from websites or documents of the United States Department. | Agency name becomes external link |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from the United States Department document "Reference document". | With article argument, template refers to specific document |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from the United States Department document "Reference document". | With article argument, url becomes external link to specific document |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from the United States Department document "Reference document" by John Q. Public. | Author can be added for use in inline citation |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from the United States Department document "Reference document" (retrieved on 2008-08-08). | Accessdate can be added, also |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from the United States Department document "Reference document" by John Q. Public (retrieved on 2008-08-08) (comment can have links). | All parameters can work together |
{{Include-USGov |agency=United States government |
This article incorporates public domain material from the United States government document: Use cite template here | Source parameter shuts down most arguments, leaves free field at end for citation template |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from the United States Department document: Smith, John. Battle of Hastings. | Example of source usage |
Related pages
Templates created using Include-USGov
- {{AFHRA}} – This article incorporates public domain material from websites or documents of the Air Force Historical Research Agency.
- {{Bioguide}} – This article incorporates facts obtained from the public domain Biographical Directory of the United States Congress.