Difference between revisions of "Template:Cite ngs"
Jump to navigation
Jump to search
imported>Droll (tidied up a bit) |
imported>Droll (rewrite) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{# | + | <includeonly>{{#ifeq: {{{1|{{{id|}}}}}}| |
| − | {{# | + | | {{citation error|no <tt>id</tt> specified|cite ngs}} |
| − | {{ | + | | {{#ifeq: {{{2|{{{designation|{{{name|}}}}}}}}}| |
| − | | | + | | {{citation error|no <tt>designation</tt> specified|cite ngs}} |
| − | | | + | | {{citation/core |
| − | | | + | | Sep = . |
| − | + | | IncludedWorkURL = http://www.ngs.noaa.gov/cgi-bin/ds_mark.prl?PidBox={{urlencode:{{{1{{{id||}}}}}}}} | |
| − | | | + | | IncludedWorkTitle = {{{2|{{{designation|{{{name|}}}}}}}}} |
| − | | | + | | Title = NGS data sheet |
| − | + | | Publisher = [[U.S. National Geodetic Survey]] | |
| − | | | + | | AccessDate = {{{3|{{{accessdate|}}}}}} |
| + | | Ref = {{{ref|}}} | ||
| + | | PS = . | ||
| + | }} | ||
| + | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
| − | {{ | + | {{documentation}} |
<!-- | <!-- | ||
PLEASE ADD CATEGORIES AND INTERWIKIS | PLEASE ADD CATEGORIES AND INTERWIKIS | ||
Revision as of 06:05, 23 September 2010
This citation template can be used to cite a U.S. National Geodetic Survey (NGS) data sheet.
Usage
A search engine can be found here. It requires the approximate coordinates of the benchmark.
| Parameter | Value |
|---|---|
{{cite ngs
| pid =
| name =
| accessdate =
}}
|
PID from the data sheet DESIGNATION from the data sheet Current date |
The values for pid and name must be specified. Unnamed parameters are allowed. The parameter designation is an alias for name and id is an alias for pid.
Examples
- with named parameters
{{cite ngs |pid=GT1811 |name=Whitney}} → Error: no id specified when using {{cite ngs}}Template:Namespace detect showall
- with unnamed parameters
{{cite ngs|GT1811|Whitney|2008-10-31}} → "Whitney". NGS data sheet. U.S. National Geodetic Survey. http://www.ngs.noaa.gov/cgi-bin/ds_mark.prl?PidBox=GT1811. Retrieved 2008-10-31.
See also
| The above documentation is transcluded from Template:Cite ngs/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |