Difference between revisions of "Template:Cite ngs"
Jump to navigation
Jump to search
imported>Droll (updated error message) |
imported>Droll (added pid) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#ifeq: {{{1|{{{id|}}}}}}| | + | <includeonly>{{#ifeq: {{{1|{{{id|{{{pid|}}}}}}}}}| |
| {{citation error|no <tt>id</tt> specified|cite ngs|nocat={{{template doc demo|}}}}} | | {{citation error|no <tt>id</tt> specified|cite ngs|nocat={{{template doc demo|}}}}} | ||
| {{#ifeq: {{{2|{{{designation|{{{name|}}}}}}}}}| | | {{#ifeq: {{{2|{{{designation|{{{name|}}}}}}}}}| | ||
| Line 5: | Line 5: | ||
| {{citation/core | | {{citation/core | ||
| Sep = . | | Sep = . | ||
| − | | IncludedWorkURL = http://www.ngs.noaa.gov/cgi-bin/ds_mark.prl?PidBox={{urlencode:{{{1|{{{id|}}}}}}}} | + | | IncludedWorkURL = http://www.ngs.noaa.gov/cgi-bin/ds_mark.prl?PidBox={{urlencode:{{{1|{{{id|{{{pid|}}}}}}}}}}} |
| IncludedWorkTitle = {{{2|{{{designation|{{{name|}}}}}}}}} | | IncludedWorkTitle = {{{2|{{{designation|{{{name|}}}}}}}}} | ||
| Title = NGS data sheet | | Title = NGS data sheet | ||
Revision as of 05:16, 6 May 2012
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}} → "Whitney". NGS data sheet. U.S. National Geodetic Survey. http://www.ngs.noaa.gov/cgi-bin/ds_mark.prl?PidBox=GT1811.
- 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. |