الگو:GNIS/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

These are templates that generate links to the سازمان زمین‌شناسی آمریکا's Geographic Names Information System.

Template:GNIS[ویرایش]

The required parameter is just the ID number (optionally, the parameter can be named id) and the template then uses the article title as the anchor text:

{{GNIS|ID}}

To have the link text be other than the article name, use a second parameter (optionally, it can be named name):

{{GNIS|ID|Name}}

This can be used when the Wikipedia page name contains disambiguation brackets; for example, at the page: Mount Washington (New Hampshire), use {{GNIS|871352|Mount Washington}} to have "سامانه اطلاعات نام‌های جغرافیایی ایالات متحده آمریکا: Mount Washington" rather than "سامانه اطلاعات نام‌های جغرافیایی ایالات متحده آمریکا: Mount Washington (New Hampshire)". This is also necessary should you need to add a link to an article about somebody or something other than the linked feature.

Antarctica[ویرایش]

For GNIS pages in Antarctica, use the type=antarid parameter and the corresponding Antarctic GNIS ID:

{{GNIS|ID|Name|type=antarid}}

Template:GNIS 2[ویرایش]

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):

{{GNIS 2|ID}}

Sample:

{{GNIS 2|871352}}

Result:

[۱]

Antarctica[ویرایش]

For GNIS pages in Antarctica, use the type=antarid parameter and the corresponding Antarctic GNIS ID:

{{GNIS 2|ID|type=antarid}}

Sample:

{{GNIS 2|2828|type=antarid}}

Result:

[۲]

Template:GNIS 3[ویرایش]

The required parameter is just the ID number (optionally, the parameter can be named id):

{{GNIS 3|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[ویرایش]

* {{GNIS 3|871352}}

Result:

Sample 2[ویرایش]

* {{cite web 
   |url= {{GNIS 3|112837}} 
   |title= Wheeler Lake 
   |work= [[سامانه اطلاعات نام‌های جغرافیایی]] 
   |publisher= [[سازمان زمین‌شناسی آمریکا]] 
   |accessdate= 2009-07-05
  }}

Result:

  • "Wheeler Lake". Geographic Names Information System. سازمان زمین‌شناسی آمریکا. Retrieved 2009-07-05.

Sample 3[ویرایش]

* {{GNIS 3|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 {{GNIS 2|...}}
  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[ویرایش]