該模板用於連結至美國地質調查局地理名稱信息系統

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:

Template:Gnis2

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:

Template:Gnis2

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

編輯
  1. Go to http://geonames.usgs.gov/pls/gnispublic/
  2. 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.
  3. Copy the 'ID' and insert it into:
    • {{gnis|...}} or {{gnis2|...}}
  4. 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

編輯