模板:Gnis
Template:Gnis
该类模板所要求的参数仅为文章编号(ID),模板将会以文章原标题作为显示标题:
{{gnis|文章编号}}
如要求显示标题非文章原标题,则使用第二参数文章标题(Name):
{{gnis|文章编号|文章标题}}
Antarctica
For GNIS pages in Antarctica, use the type=antarid
parameter and the corresponding Antarctic GNIS ID:
{{gnis|ID|Name|type=antarid}}
This template works the same as {{gnis}}
, but simply produces a footnote-type link, without any anchor text. The required parameter is just the ID number (optionally, the parameter can be named id
):
{{gnis2|ID}}
Sample:
{{gnis2|871352}}
Result:
Antarctica
For GNIS pages in Antarctica, use the type=antarid
parameter and the corresponding Antarctic GNIS ID:
{{gnis2|ID|type=antarid}}
Sample:
{{gnis2|9763|type=antarid}}
Result:
The required parameter is just the ID number (optionally, the parameter can be named id
):
{{gnis3|ID}}
It's meant to be used mainly within other templates (see sample 2).
For GNIS pages in Antarctica, use the type=antarid
parameter and the corresponding Antarctic GNIS ID.
Sample 1
* {{gnis3|871352}}
Result:
Sample 2
* {{cite web |url= {{Gnis3|112837}} |title= Wheeler Lake |work= [[Geographic Names Information System]] |publisher= [[United States Geological Survey]] |accessdate= 2009-07-05 }}
Result:
Sample 3
* {{gnis3|type=antarid|9763}}
Result:
Instructions
- Go to http://geonames.usgs.gov/pls/gnispublic/
- Search for the name, location, and / or type of the feature desired, e.g., to find a mountain called 'Mt. Foo', put '
mount foo
' in the Feature Name and select 'Summit' for the Feature Class. - Copy the 'ID' and insert it into:
- {{
gnis|...}}
or {{gnis2|...}}
- {{
- You can also copy the latitude and longitude and use them in the
{{coord}}
template, inserting the '|
' vertical bar in-between, e.g.: 44_16_13_N 071_18_12_W →{{coord|44|16|13|N|071|18|12|W|region:US}}
Parameters
Parameter | Mandatory or Optional | Default | Description |
---|---|---|---|
{1} | Required | Undefined | GNIS Feature ID |
type= | Optional |