Difference between revisions of "Template:Include-USGov/doc"
imported>Mr. Guye |
imported>Hike395 (update doc) |
||
| Line 5: | Line 5: | ||
==Parameters== | ==Parameters== | ||
* agency (required) - name of agency (or reference source) that produced material | * agency (required) - name of agency (or reference source) that produced material | ||
| − | |||
* policy (optional) - URL of re-use policy of agency or reference source | * policy (optional) - URL of re-use policy of agency or reference source | ||
* comment (optional) - free field that produces parenthesized comment at end | * comment (optional) - free field that produces parenthesized comment at end | ||
* article (optional) - the title of the reference | * article (optional) - the title of the reference | ||
| − | * | + | * any parameter accepted by {{tl|cite web}} (optional) - passed thru to cite web |
| − | + | * source (optional) - free field at end at shuts off most other arguments: if {{tl|cite web}} is not appropriate | |
| − | * source (optional) - free field at end at shuts off most other arguments: | ||
==Usage== | ==Usage== | ||
Latest revision as of 04:46, 9 March 2020
| 40px | 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
- 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}} |
12px 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 |
12px 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 |
12px 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 |
12px This article incorporates public domain material from the United States Department website http://www.agency.gov. | Url without article becomes bare link |
| {{Include-USGov |agency=United States Department |
12px This article incorporates public domain material from the United States Department document: "Script error: No such module "If empty".". | With article argument, template refers to specific document |
| {{Include-USGov |agency=United States Department |
12px 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 |
12px This article incorporates public domain material from the United States Department document: John Q. Public. "Reference document". | Author can be added for use in inline citation |
| {{Include-USGov |agency=United States Department |
12px This article incorporates public domain material from the United States Department document: "Reference document". Retrieved 2008-08-08. | Accessdate can be added, also |
| {{Include-USGov |agency=United States Department |
12px This article incorporates public domain material from the United States Department document: John Q. Public. "Reference document". Retrieved 2008-08-08. (comment can have links) | All parameters can work together |
| {{Include-USGov |agency=United States government |
12px 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 |
12px This article incorporates public domain material from the United States Department document: Smith, John. Battle of Hastings. | Example of source usage |
See also
Templates created using Include-USGov
- Pages with script errors
- Pages with broken file links
- 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