模板:Gnis/doc
此頁面是Template: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 |
See also
編輯- Template:Cite gnis
- Template:Mountain index row
- Template:Mountain index row ft
- Template:CGNDB (Canada)
- Template:BCGNIS (British Columbia)
- Special:Linksearch/geonames.usgs.gov