跳转到内容

Template:GNIS URL/doc

本页使用了标题或全文手工转换
维基百科,自由的百科全书

Generate the URL for a GNIS query

使用方法

[编辑]

The only required parameter is the GNIS Feature ID number (optionally, this parameter can be named id).

{{GNIS URL|ID}}
{{GNIS URL|id=ID}}

For GNIS features in Antarctica, add |type=antarid.

{{GNIS URL|ID|type=antarid}}
{{GNIS URL|id=ID|type=antarid}}

For types of features retired from GNIS in 2021, add |type=retired.

{{GNIS URL|ID|type=retired}}
{{GNIS URL|id=ID|type=retired}}

模板数据

[编辑]
以下是该模板的模板数据,适用于可视化编辑器等工具。

GNIS URL模板数据

This template generates an external link to a Feature Detail Report from the Geographic Names Information System (GNIS), published by the United States Geological Survey (USGS). The external link is displayed as a footnote style link ( [1] ) or with an optionally specified name as the anchor text.

模板参数

参数描述类型状态
ID1 id

GNIS Feature ID, a number without leading zeros.

默认值
数字必需
Typetype

Use the value 'antarid' for features in Antarctica. Use the value 'retired' for features retired in 2021

默认值
字符串可选