Template:Include-USGov/doc
This is a documentation subpage for Template:Include-USGov
(see that page for the template itself). It contains usage information, categories, and other content that is not part of the original template page. |
This template is used on approximately 24,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is designed to be a meta-template, used to construct U.S. Government attribution message templates like {{USGS}} and {{Marine Corps}}. It could be used directly in an article.
Parameters
- agency (optional) - name of agency (or reference source) that produced material. This should not contain wikilinks.
- 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
- any parameter accepted by {{cite web}} (optional) - passed thru to cite web
- source (optional) - free field at end at shuts off most other arguments: if {{cite web}} is not appropriate
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 the United States Department | Url without article becomes external link |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from Reference document, United States Department | With article argument, template refers to specific document |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from Reference document, United States Department, http://www.agency.gov/doc.html | With article argument, url becomes external link to specific document |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from John Q. Public, Reference document, United States Department, http://www.agency.gov/doc.html | Author can be added for use in inline citation |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from Reference document, United States Department, http://www.agency.gov/doc.html, retrieved 2008-08-08 | Accessdate can be added, also |
{{Include-USGov |agency=United States Department |
This article incorporates public domain material from John Q. Public, Reference document, United States Department, http://www.agency.gov/doc.html, retrieved 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 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 Smith, John. Battle of Hastings. | Example of source usage |
See also
- Sandbox for experimental edits
- Test to see if experiments worked
- {{Cite USGov}} --- citation subtemplate
Templates created using Include-USGov
- Template documentation
- Wikipedia articles incorporating text from the Congressional Research Service
- Wikipedia articles incorporating text from the United States Department of Health and Human Services
- Wikipedia articles incorporating content from public domain material of the Library of Congress
- Wikipedia articles incorporating text from public domain works of the United States Government
- Wikipedia articles incorporating text from the United States Navy