Template:USGS/sandbox
This article incorporates public domain material from websites or documents of the United States Geological Survey.
This is the template sandbox page for Template:USGS (diff). |
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
Usage
This template accepts five standard parameters: article, url, author, accessdate, and comment. It also accepts a source parameter for more flexibility.
- No parameters: {{USGS}}
- This article incorporates public domain material from websites or documents of the United States Geological Survey.
- Two parameters: article and url (you must use both together): {{USGS|article=Earthquake Hazards Program|url=https://earthquake.usgs.gov/}}
- This article incorporates public domain material from the United States Geological Survey document: "Earthquake Hazards Program".<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- Article, url, author: {{USGS|article=Earthquake Hazards Program|url=https://earthquake.usgs.gov/|author=John Q. Public}}
- This article incorporates public domain material from the United States Geological Survey document: John Q. Public. "Earthquake Hazards Program".<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- Article, url, author (as first/last): {{USGS|article=Earthquake Hazards Program|url=https://earthquake.usgs.gov/|first=John Q. |last=Public}}
- This article incorporates public domain material from the United States Geological Survey document: Public, John Q. "Earthquake Hazards Program".<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- All standard parameters: {{USGS|article=Earthquake Hazards Program|url=https://earthquake.usgs.gov/|first=John Q. |last=Public|accessdate=2006-06-06|comment=a comment}}
- This article incorporates public domain material from the United States Geological Survey document: Public, John Q. "Earthquake Hazards Program". Retrieved 2006-06-06. (a comment).<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
- Source parameter: {{USGS|source={{cite web|title=Earthquake Hazards Program|url=https://earthquake.usgs.gov/|first=John Q.|last=Public|accessdate=2006-06-06}} }}
- This article incorporates public domain material from the United States Geological Survey document: Public, John Q. "Earthquake Hazards Program". Retrieved 2006-06-06.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
Automatic categorization
Articles that transclude this template will be categorized automatically into Category:Wikipedia articles incorporating text from public domain works of the United States Government.
See also
- Template:Usgs-gazetteer
- {{USDA}}
- {{DoE}}
The above documentation is transcluded from Template:USGS/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |