Difference between revisions of "Template:Cite ngs"
Jump to navigation
Jump to search
(option for template doc demo) |
imported>Droll (updated error message) |
||
| Line 2: | Line 2: | ||
| {{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|}}}}}}}}}| | ||
| − | | {{citation error|no <tt> | + | | {{citation error|no <tt>name</tt> specified|cite ngs|nocat={{{template doc demo|}}}}} |
| {{citation/core | | {{citation/core | ||
| Sep = . | | Sep = . | ||
Revision as of 02:06, 11 June 2011
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
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. |