Difference between revisions of "Template:Cite ngs/sandbox"
Jump to navigation
Jump to search
imported>Droll (test) |
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{{1|{{{id|{{{pid|}}}}}}}}}| | <includeonly>{{#ifeq: {{{1|{{{id|{{{pid|}}}}}}}}}| | ||
− | | {{citation error|no < | + | | {{citation error|no <kbd>id</kbd> specified|cite ngs|nocat={{{template doc demo|}}}}} |
| {{#ifeq: {{{2|{{{designation|{{{name|}}}}}}}}}| | | {{#ifeq: {{{2|{{{designation|{{{name|}}}}}}}}}| | ||
− | | {{citation error|no < | + | | {{citation error|no <kbd>name</kbd> specified|cite ngs|nocat={{{template doc demo|}}}}} |
| {{cite web | | {{cite web | ||
| url = http://www.ngs.noaa.gov/cgi-bin/ds_mark.prl?PidBox={{urlencode:{{{1|{{{id|{{{pid|}}}}}}}}}}} | | url = http://www.ngs.noaa.gov/cgi-bin/ds_mark.prl?PidBox={{urlencode:{{{1|{{{id|{{{pid|}}}}}}}}}}} |
Latest revision as of 06:26, 5 August 2018
![]() | This is the template sandbox page for Template:Cite ngs (diff). See also the companion subpage for test cases. |
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.
- with unnamed parameters
{{cite ngs|GT1811|Whitney|2008-10-31}} → "Whitney". NGS data sheet. U.S. National Geodetic Survey. 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. |