Difference between revisions of "Template:Cite ngs/sandbox"
Jump to navigation
Jump to search
imported>Droll (added pid) |
imported>Fryed-peach |
||
Line 3: | Line 3: | ||
| {{#ifeq: {{{2|{{{designation|{{{name|}}}}}}}}}| | | {{#ifeq: {{{2|{{{designation|{{{name|}}}}}}}}}| | ||
| {{citation error|no <tt>name</tt> specified|cite ngs|nocat={{{template doc demo|}}}}} | | {{citation error|no <tt>name</tt> specified|cite ngs|nocat={{{template doc demo|}}}}} | ||
− | | {{ | + | | {{cite web |
− | | | + | | url = http://www.ngs.noaa.gov/cgi-bin/ds_mark.prl?PidBox={{urlencode:{{{1|{{{id|{{{pid|}}}}}}}}}}} |
− | + | | title = {{{2|{{{designation|{{{name|}}}}}}}}} | |
− | | | + | | publisher = NGS data sheet. [[U.S. National Geodetic Survey]] |
− | | | + | | accessdate = {{{3|{{{accessdate|}}}}}} |
− | + | | ref = {{{ref|}}} | |
− | | | ||
− | | | ||
− | |||
}} | }} | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
− | {{ | + | {{documentation}} |
<!-- | <!-- | ||
PLEASE ADD CATEGORIES AND INTERWIKIS | PLEASE ADD CATEGORIES AND INTERWIKIS |
Revision as of 02:29, 22 April 2013
![]() | 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. |