Difference between revisions of "Template:Include-USGov/doc"
imported>Senator2029 ({{DEFAULTSORT:τ}} as the template shows up in many "article" categories) |
imported>Mr. Guye |
||
| Line 331: | Line 331: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| + | {{Sandbox only|| | ||
{{DEFAULTSORT:τ}} | {{DEFAULTSORT:τ}} | ||
[[Category:United States government attribution templates|Include Usgov]] | [[Category:United States government attribution templates|Include Usgov]] | ||
| + | }} | ||
</includeonly> | </includeonly> | ||
Revision as of 06:28, 30 November 2019
| 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 like {{USGS}} and {{Marine Corps}}. 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}} |
Minimal usage: templates that call this one should pass in optional arguments. | |
| {{Include-USGov |agency=United States Department |
Replace internal wikilink about generic re-use to specific agency policy | |
| {{Include-USGov |agency=United States government |
comment is a free field that produces a parenthesized comment at end, agency should auto-wikilink | |
| {{Include-USGov |agency=United States Department |
Url without article becomes bare link | |
| {{Include-USGov |agency=United States Department |
With article argument, template refers to specific document | |
| {{Include-USGov |agency=United States Department |
With article argument, url becomes external link to specific document | |
| {{Include-USGov |agency=United States Department |
Author can be added for use in inline citation | |
| {{Include-USGov |agency=United States Department |
Accessdate can be added, also | |
| {{Include-USGov |agency=United States Department |
All parameters can work together | |
| {{Include-USGov |agency=United States government |
Source parameter shuts down most arguments, leaves free field at end for citation template | |
| {{Include-USGov |agency=United States Department |
Example of source usage |
See also
Templates created using Include-USGov
- Pages with script errors
- Template documentation pages
- Wikipedia articles incorporating text from the Air Force Historical Research Agency
- Wikipedia articles incorporating text from the United States Army Center of Military History
- Wikipedia articles incorporating text from the United States Army Institute of Heraldry
- Wikipedia articles incorporating text from the Biographical Directory of the United States Congress
- Wikipedia articles incorporating text from the World Factbook
- Wikipedia articles incorporating text from the Congressional Research Service
- Wikipedia articles incorporating material from the United States Department of Energy
- Wikipedia articles incorporating text from the Department of Defense Dictionary of Military and Associated Terms
- Wikipedia articles incorporating text from the United States Attorneys' Manual
- Pages with URL errors
- Wikipedia articles incorporating text from public domain works of the United States Department of Labor
- Wikipedia articles incorporating text from the United States Environmental Protection Agency
- Wikipedia articles incorporating text from the Federal Aviation Administration
- Wikipedia articles incorporating text from the Federal Standard 1037C
- Wikipedia articles incorporating text from MIL-STD-188
- Wikipedia articles incorporating text from the United States National Library of Medicine
- Wikipedia articles incorporating text from the United States Department of Health and Human Services
- Wikipedia articles incorporating text from NOAA
- Wikipedia articles incorporating text from public domain works of the U.S. Department of Transportation
- Wikipedia articles incorporating content from public domain material of the Library of Congress
- Wikipedia articles incorporating text from the United States Marine Corps