Template:Infobox road
| 此Template被引用於約4,500個頁面。 為了避免造成大規模的影響,所有對此Template的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此Template中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
| 本模板含有複雜而精密的扩展语法。 編輯本模板前,建議您先熟悉解析器函數与本模板的设计思路、运作原理等。若您的編輯引發了意外的問題,請儘快撤銷編輯,因為本模板可能被大量頁面使用。 您所作的编辑可先在本模板的沙盒或您的个人页面中进行測試。 |
| 此模板使用Lua语言: |
用法
本模板用于生成道路信息框,适用于编号或未编号道路。以下是为条目创建完整信息框所需的基础语法结构,请将模板置于顶注之后、正文内容之前,并填写相应参数。若某项参数无内容,则应直接省略该参数。更多具体参数详见后续详细说明。
编号道路
这是创建编号道路信息框所需的基础代码。
{{Infobox road
| country =
| type =
| route =
| map =
| length_mi =
| length_km =
| length_round =
| length_ref =
| established =
| direction_a =
| terminus_a =
| junction =
| direction_b =
| terminus_b =
| previous_type =
| previous_route =
| next_type =
| next_route =
}}
未编号道路
这是创建未编号道路信息框所需的基础代码。另请参阅{{infobox street}}。
{{Infobox road
| name =
| marker_image =
| map =
| length_mi =
| length_km =
| length_round =
| length_ref =
| established =
| allocation =
| direction_a =
| terminus_a =
| junction =
| direction_b =
| terminus_b =
}}
完整参数
{{{marker_image}}} {{{name}}} | |
|---|---|
| {{{translation}}} | |
| {{{alternate_name}}} | |
| [[File:{{{map}}}|290px]] {{{map_notes}}} | |
| [[File:{{{image}}}|{{{image_width}}}|alt={{{image_alt}}}|{{{image_alt}}}]] {{{image_notes}}} | |
| 道路信息 | |
| {{{e-road-shield}}} {{{e-road}}}的一部分 | |
| {{{ahn}}}的一部分 | |
| {{{tahn-shield}}} {{{tahn}}}的一部分 | |
| {{{mrn-shield}}} {{{mrn}}}的一部分 | |
| 由{{{maint}}}管理 | |
| 由{{{established_by}}}設立 | |
| 長度 | Formatting error: invalid input when rounding英里{{{length_ref}}}(1公里) {{{length_notes}}} |
| 狀態 | {{{status}}} |
| 存續 | {{{established}}}—{{{decommissioned}}} |
| 歷史 | {{{history}}} |
| 時間周期 | {{{time_period}}} |
| 文化意義 | {{{significance}}} |
| 重要地標 | {{{known_for}}} |
| 相關道路 | {{{related}}} |
| 組成路段 | {{{allocation}}} |
| 旅遊路線 | {{{tourist}}} |
| 限制 | {{{restrictions}}} |
| 馬嘉理編號 | {{{margary}}} |
| 主要連接道路 | |
| 環繞{{{ring_road}}} | |
| {{{direction_a}}}端 | {{{terminus_a}}} |
| {{{junction}}} | |
| {{{direction_b}}}端 | {{{terminus_b}}} |
| Module:Math第181行Lua错误:attempt to perform arithmetic on a nil value | |
| 位置 | |
| 國家 | 阿富汗 |
| 島 | {{{island}}} |
| 社區 | {{{communities}}} |
| 地區 | {{{regions}}} |
| 省 | {{{provinces}}} |
| 州 | {{{states}}} |
| 省 | {{{governorates}}} |
| 縣 | {{{counties}}} |
| 省 | {{{departments}}} |
| 州 | {{{cantons}}} |
| 都道府縣 | {{{prefectures}}} |
| 分區 | {{{divisions}}} |
| 州 | {{{oblasts}}} |
| 區 | {{{districts}}} |
| 堂區 | {{{parishes}}} |
| 市鎮 | {{{communes}}} |
| 領地 | {{{territories}}} |
| {{{label1}}} | {{{location1}}} |
| {{{label2}}} | {{{location2}}} |
| {{{label3}}} | {{{location3}}} |
| {{{label4}}} | {{{location4}}} |
| {{{label5}}} | {{{location5}}} |
| 次級地方 | {{{subregions}}} |
| 副縣 | {{{subcounties}}} |
| 支廳 | {{{subprefectures}}} |
| 公路系統 | |
| {{{system}}} | |
| {{{system1}}} | |
| {{{system2}}} | |
| {{{system3}}} | |
| {{{system4}}} | |
| {{{system5}}} | |
| {{{system6}}} | |
| {{{system7}}} | |
| {{{system8}}} | |
| {{{system9}}} | |
| {{{system10}}} | |
| {{{browse}}} | |
| {{{nrhp}}} | |
注释
|country=AFG参数为便于演示而设置。
参数说明
编号道路
这些参数通常仅用于编号路线。
- country:路线所在国家的ISO 3166-1三位字母代码(不要与位置参数中的countries混淆)。这些国家已完成必要子模板的设置;如需为新国家设置模板,请参阅该页面说明。
- 若路线位于澳大利亚、美国、加拿大或墨西哥,且路线仅位于一个州或省内,请改用state(澳大利亚、美国和墨西哥)或province(加拿大)(不要与位置参数中的states和provinces混淆)。“state”和“province”参数不可互换。这两个参数的可接受值如下:
- 澳大利亚州份:该州的两字母或三字母缩写。注意:若州名为NT或WA,必须同时设置
|country=AUS以避免与其他国家冲突。 - 美国州份:该州的两字母邮政缩写。
- 加拿大省份:该省的两字母邮政缩写。
- 墨西哥州份:该州的ISO 3166-2:MX三位字母代码,需去掉“MX-”前缀。
- 澳大利亚州份:该州的两字母或三字母缩写。注意:若州名为NT或WA,必须同时设置
- 若路线位于澳大利亚、美国、加拿大或墨西哥,且路线仅位于一个州或省内,请改用state(澳大利亚、美国和墨西哥)或province(加拿大)(不要与位置参数中的states和provinces混淆)。“state”和“province”参数不可互换。这两个参数的可接受值如下:
- type:路线的类型。类型代码可用于自动显示路徽图像。可用类型列表请参见此页面。
- subtype:若适用,表示路线所属的特殊路线类型。
- county:路线关联的县(不要与位置参数中的counties混淆)。仅用于县级路线。
- route:路线的编号。
- section:定义此路线的法律条文章节。极少地区使用此参数,且必须设置相应的子页面(例如[[/law/USA]])该参数才能生效。明尼苏达州还使用subsection参数来指定法律条文定义的具体章节。
- spur_type:定义该路线作为支线所属的干线类型。用于支线道路,例如环线、绕行道、替代路线、商业专线、货运专线等。如en:West Virginia Route 10 Alternate应标注为WV。
- spur_of:定义干线路线,如Highway 7A的干线是Highway 7,或Interstate 110的干线是en:Interstate 10。此处通常填写道路编号,如“7”、“10”或“500”。
- previous_type:道路系统中当前路线前一条路线的类型。
- previous_route:前一条路线的编号
- previous_dab:生成正确的前一条路线链接所需的消歧义信息
- browse_route:与当前导航行关联的路线。通常仅在导航的路线与信息框其余部分描述的不是同一条路线时使用。
- next_type:与“previous_type”类似,用于当前路线的下一条路线
- next_route:下一条路线的编号
- next_dab:与“previous_dab”类似,用于当前路线的下一条路线
- browse:用于添加额外的导航行,这些行由类似于en:Template:Ny_browse的模板生成。这些模板接受上述七个参数加上“county”;但是,使用“route”而非“browse_route”。请参阅en:Category:Browse templates。
历史道路
这些参数通常仅用于具有历史性质的道路,例如丝绸之路。
- time_period:道路存在的历史时期。
- established_by:修建或设立该道路的机构。仅与“time_period”参数配合使用。
- significance:路线的历史/文化意义。仅与“time_period”参数配合使用。
- related:与历史道路相关的其他道路。仅与“time_period”参数配合使用。
- margary:英国罗马道路的Margary number。
道路信息
- marker_image:要显示的路徽图像。需要完整的wikitext。对于编号路线通常不需要。可设置为“none”以不显示路徽。
- name:要显示的道路名称。对于编号路线可能不需要。
- maint:维护该公路的机构。如果存在相应的子页面(例如[[/maint/USA]])且指定了特定管辖区域(如“state=AZ”),此参数将自动填充为该管辖区域的交通部门。但如果需要覆盖默认机构(例如路线由其他机构维护时),“maint”参数仍然有效。
- alternate_name:在整条路线有另一个名称时使用。例如en:New York State Route 590全线被称为“Sea Breeze Expressway”。
- map:路线地图的图像名称,不需要
File:命名空间前缀。注意:如果留空且条目在维基数据中有地图,将从维基数据中获取文件名。- map_alt:地图的替代文本,供视障读者使用。参见WP:ALT。
- map_notes:地图的说明文本。
- map_custom:如果需要在map参数填写自定义内容,而不只是图像名称,可设置为
yes;然后可以自定义地图部分显示的内容,如map=[[File:地图名称|...]] - 为获得最佳效果,地图图像宽度建议为290px。
- mapframe:如果地图数据可用,则显示{{infobox mapframe}}。更多参数请参见#地图框架。
- photo或image:路线照片的图像名称,不需要
File:命名空间前缀。- photo_width或image_width:照片图像的宽度(以像素为单位)。默认值为290。
- photo_alt或image_alt:照片的替代文本,供视障读者使用。参见WP:ALT。
- photo_notes或image_notes:照片的说明文本。
- length_km或length_mi:路线的长度,以公里(使用公制单位的国家)或英里(使用英制单位的国家)为单位。一篇条目中只能使用其中一个参数。定义的参数值将首先显示,另一个值会被计算并四舍五入到与指定值相同的精度。如果既没有“length_mi”也没有“length_km”,则不显示长度。
- length_ref(如果定义)会出现在第一个长度值之后。填写长度的参考来源(用
<ref>...</ref>标签包裹)。 - length_notes(如果定义)会作为注释显示在长度值下方。可用于显示历史长度、未来长度等。
- length_ref(如果定义)会出现在第一个长度值之后。填写长度的参考来源(用
- status:已取消或在建道路的状态;除非信息框使用
|header_type=参数并设置为historic、former或under construction(或其替代值),否则不会显示。 - established:路线投入运营或确定现行走向的日期或年份。(参数别名:formed)
- decommissioned:路线停用的日期或年份。(参数别名:deleted)
- history:路线历史的简要概述。通常用于替代上述两个参数。
- known_for:如果定义,将显示道路上具有独立条目的著名地标;例如:巨石阵、北方天使
- allocation:分配给道路的公路命名列表。标签在澳大利亚显示为“分配編號”,而在其他国家将显示“組成路段”。
- tourist:沿该路线的旅游路线列表;目前仅适用于澳大利亚、新西兰、加拿大和美国。
- restrictions:道路限制的简要说明。例如季节性封闭或驾驶员所需的许可证要求。
地图框架
- 基本参数:
- mapframe — 指定
yes或no以显示或隐藏地图,覆盖默认值。默认:no - mapframe-caption — 地图说明。默认: 空白(或如果设置了
|mapframe-geomask=,则:“在<遮罩标签>的位置”) - mapframe-custom — 使用自定义地图代替自动地图框架。请使用
{{maplink}}模板(或其他可生成地图框架的模板)或图像文件名称。如果使用,后续的mapframe参数将被忽略。默认:未指定 - mapframe-id或id或qid — 要使用的维基数据项QID。默认:当前页面对应数据项
- mapframe-coordinates或mapframe-coord或coordinates或coord — 指定的坐标,而不是维基数据上的坐标。使用{{Coord}}模板,例如:
|coord=。默认:来自维基数据的坐标{{Coord|12.34|N|56.78}} - mapframe-wikidata — 当设置了
|coord=时,设为yes以显示维基数据中的面/线特征(如果有)。默认:yes
- mapframe — 指定
- 自定义显示哪些特征:
- mapframe-point — 设为
none时关闭点标记的显示。设为on时强制显示点标记。默认:none - mapframe-line — 设为
none时关闭线特征的显示。默认: 未指定 - mapframe-shape — 设为
none时关闭面特征的显示。设为inverse时使用反转形状(geomask)代替常规形状。默认: 未指定 - mapframe-geomask — 用作遮罩的维基数据项(遮罩边界外的区域变暗)。可以是特定的维基数据项(QID),或数据项的属性(例如,
P17表示国家 (P17),P131表示所在行政领土实体 (P131))。默认: 未指定 - mapframe-switcher — 设置为
auto或geomasks或zooms,以启用切换多个地图框架的功能(以Template:Switcher的风格)。默认: 未指定auto— 以维基数据项的位置 (P276)和所在行政领土实体 (P131)声称为遮罩进行切换,递归搜索。例如,数据项的城市、该城市的州以及该州的国家。geomasks— 在mapframe-geomask参数中的维基数据项(QID)列表(以逗号分隔)指定的遮罩之间切换。zooms— 在“zoomed in”/“zoomed midway”/“zoomed out”之间切换,其中“zoomed in”为默认缩放(最小值为3),“zoomed out”为1,而“zoomed midway”为平均值。
- mapframe-point — 设为
- 其他可选参数:
- mapframe-frame-width或mapframe-width — 框架宽度。默认:290
- mapframe-frame-height或mapframe-height — 框架高度。默认:200
- mapframe-shape-fill — 面特征的填充颜色。默认:#606060
- mapframe-shape-fill-opacity — 面特征填充的不透明度,数值介于0和1之间。默认:0.5
- mapframe-stroke-color或mapframe-stroke-colour — 线特征、面特征轮廓的颜色。默认:#ff0000
- mapframe-stroke-width — 线特征、面特征轮廓的粗细。默认:5
- mapframe-marker — 用于坐标点标记的符号;具体选项参见mw:Help:Extension:Kartographer/Icons。默认: 未指定(即blank)
- 也可以设置为
blank以覆盖默认标记符号。
- 也可以设置为
- mapframe-marker-color或mapframe-marker-colour — 点标记的背景颜色。默认:#5E74F3
- mapframe-geomask-stroke-color或mapframe-geomask-stroke-colour — 遮罩轮廓的颜色。默认:#555555
- mapframe-geomask-stroke-width — 遮罩轮廓的粗细。默认:2
- mapframe-geomask-fill — 遮罩外部区域的填充颜色。默认:#606060
- mapframe-geomask-fill-opacity — 遮罩外部区域填充的不透明度,数值介于0和1之间。默认:0.5
- mapframe-zoom — 设置缩放级别,从“1”(全球地图)到 “18”(最大级别),用于无法根据对象长度或面积自动确定缩放级别的情况。默认:10
- mapframe-length_km或mapframe-length_mi或mapframe-area_km2或mapframe-area_mi2 — 通过输入对象的长度(以公里或英里为单位)或面积(以平方公里或平方英里为单位)来确定缩放级别。默认:未指定
- mapframe-frame-coordinates或mapframe-frame-coord — 地图初始位置的备用坐标,使用使用{{coord}}模板。默认:衍生自项目坐标
主要连接道路
- beltway_city、orbital、loop或tloop:仅适用于绕城公路、环路或旅游环路等。这是绕城公路/环路所环绕的城市。对于旅游环路,使用
|tloop=none将省略道路所环绕的位置信息。 - direction_a:对于美国道路,此参数应为“南”或“西”。
- terminus_a或end_a:路线的起点。对于美国道路,为南端或西端。
- junction:主要连接道路列表。自带plainlist类,因此不需要
{{Plainlist}}模板,只需输入无序列表即可。 - direction_b:与“direction_a”相反的方向。
- terminus_b或end_b:路线的终点。
模板能够为分割成2到4个路段的路线的各个分段创建独立的“主要连接道路”部分。与此功能相关的参数包括:
- section#,其中#是分段编号(1表示第一个输入到信息框的分段,2表示下一个,依此类推)。默认情况下,标题中的文本“主要连接道路”会被替换为“分段#”;此参数允许使用自定义标题。
- length_km#或length_mi#:第#个分段的“length_km”或“length_mi”
- length_ref#:第#个分段的“length_ref”
- length_notes#:第#个分段的“length_notes”
- direction_a:见上方说明,将为所有分段的起点提供默认方向。如果某个端点的方向不同,请使用direction_a#来指定该端点。
- terminus_a#或end_a#:第#个分段的“terminus_a”/“end_a”
- junction#:第#个分段的“junction”
- direction_b:见上方说明,将为所有分段的终点提供默认方向。如果某个端点的方向不同,请使用direction_b#来指定该端点。
- terminus_b#或end_b#:第#个分段的“terminus_b”/“end_b”
位置
此信息框有多个用于列出位置的参数,但许多参数仅限于在特定区域或国家使用。
特定国家/地区
| 国家/地区 | 行政区划 | 参数 | 位置描述 |
|---|---|---|---|
| Asian Highway Network ASIA |
|countries=
|
Countries, only wikilinks | |
| Australia AUS |
|state=
|
State, two-letter abbreviation; |country=AUS is required for |state=WA
| |
Territory, two-letter abbreviation (ACT, JBT, or NT); |country=AUS is required for |state=NT
| |||
|states=
|
States, will not display if |state= is used
| ||
|lga=
|
Local government areas; links based on state | ||
|locations=
|
Major settlements, Major suburbs, or Suburb based on type | ||
| Brazil BRA |
|state=
|
State; two-letter abbreviation | |
| Federal district; two-letter abbreviation (DF) | |||
|states=
|
States, will not display if |state= is used
| ||
| Canada CAN |
All locations | |province=
|
Province, two-letter abbreviation |
| Territory, two-letter abbreviation (NT, NU, or YK) | |||
|provinces=
|
Provinces, will not display if |province= is used
| ||
| Alberta AB |
|rural_municipalities=
|
Specialized and rural municipalities | |
|areas=
|
Special areas | ||
|districts=
|
Improvement districts | ||
| British Columbia BC |
|districts=|rural_municipalities=
|
Regional districts | |
| Manitoba MB |
|rural_municipalities=
|
Rural municipalities | |
| New Brunswick NB |
|counties=
|
Counties | |
|parishes=
|
Parishes | ||
| Northwest Territories NT |
|regions=
|
Regions | |
| Nova Scotia NS |
|counties=
|
Counties | |
| Nunavut NU |
|regions=
|
Regions | |
| Ontario ON |
|rural_municipalities=
|
Municipalities | |
|counties=
|
Counties | ||
|regions=
|
Regions | ||
|districts=
|
Districts | ||
|divisions=
|
Divisions | ||
| Prince Edward Island PE |
|counties=
|
Counties | |
|parishes=
|
Parishes | ||
| Québec QC |
|rural_municipalities=
|
Regional county municipalities | |
|territories=
|
Equivalent territories | ||
| Saskatchewan SK |
|rural_municipalities=
|
Rural municipalities | |
| Yukon YK |
不適用 | ||
| China CHN |
Hong Kong SAR HKG |
|districts=
|
Districts |
| Macau SAR MAC |
不適用 | ||
| All other locations | |province=
|
Province; two-letter abbreviation | |
|provinces=
|
Provinces; two-letter abbreviation, will not display if |province= is used
| ||
|regions=
|
Autonomous regions | ||
| International E-road Network EUR |
|countries=
|
Countries, only wikilinks | |
| France FRA |
French Guiana GUF |
不適用 | |
| Guadaloupe GLP |
不適用 | ||
| Martinique MTQ |
不適用 | ||
| Mayotte MYT |
不適用 | ||
| Reunion REU |
不適用 | ||
| All other locations | |regions=
|
Regions | |
|departments=
|
Departments | ||
| India IND |
|state=
|
State; two-letter abbreviation | |
| Union territory; two-letter abbreviation (AN, CH, DH, DL, JK, LA, LD, PY) | |||
|states=
|
States, will not display if |state= is used
| ||
|territories=
|
Union territories | ||
|districts=
|
Districts | ||
| Mexico MEX |
|state=
|
State; three-letter abbreviation | |
| Autonomous city; three-letter abbreviation (CMX) | |||
|states=
|
States, will not display if |state= is used
| ||
| Kingdom of the Netherlands |
Netherlands NLD |
|provinces=
|
Provinces |
| Aruba ABW |
不適用 | ||
| Curaçao CUW |
不適用 | ||
| Sint Maarten SXM |
不適用 | ||
| Russia RUS |
|oblasts=
|
Oblasts | |
|republics=
|
Republics | ||
|okrugs=
|
Autonomous okrugs | ||
|krais=
|
Krais | ||
|federal_cities=
|
Federal cities | ||
| Spain ESP |
|province=
|
Province, one- or two-letter abbreviation; will display the appropriate autonomous community automatically | |
|provinces=
|
Provinces, will not display if |province= is used
| ||
|community=
|
Autonomous community, two-letter abbreviation; only use for inter-provincial routes | ||
|communities=
|
Autonomous communities; will not display if |community= is used
| ||
| United Kingdom | Generic usage GBR |
|counties=
|
Counties |
| England ENG |
|counties=
|
Counties | |
|boroughs=
|
Boroughs | ||
| Northern Ireland NIR |
|districts=
|
Districts | |
| Scotland SCT |
|areas=
|
Council areas | |
| Wales WLS |
|counties=
|
Counties | |
|boroughs=
|
County boroughs | ||
| Guernsey GGY |
|parishes=
|
Parishes | |
| Isle of Man IMN |
|sheadings=
|
Sheadings | |
| Jersey JEY |
|parishes=
|
Parishes | |
| Anguilla AIA |
|districts=
|
Districts | |
| Bermuda BMU |
|parishes=
|
Parishes | |
| British Indian Ocean Territory IOT |
不適用 | ||
| British Virgin Islands VGB |
|districts=
|
Districts | |
| Cayman Islands CYM |
|districts=
|
Districts | |
| Falkland Islands FLK |
不適用 | ||
| Gibraltar GIB |
不適用 | ||
| Montserrat MSR |
|parishes=
|
Parishes | |
| Pitcairn Islands PCN |
不適用 | ||
| Saint Helena, Ascension and Tristan da Cunha SHN |
|island=
|
Island | |
| South Georgia and the South Sandwich Islands SGS |
不適用 | ||
| Turks and Caicos Islands TCA |
|districts=
|
Districts | |
| All locations | |destinations=
|
Primary destinations | |
| United States USA |
All locations | |state=
|
State, two-letter abbreviation |
| Territory, two-letter abbreviation (AS, GU, MP, PR, or VI) | |||
| Federal district, two-letter abbreviation (DC) | |||
|states=
|
States, will not display if |state= is used
| ||
|indep_city=
|
Independent city | ||
|indep_cities=
|
Independent cities, will not display if |indep_city= is used
| ||
| Alaska AK |
|borough=
|
Borough | |
|boroughs=
|
Boroughs, will not display if |borough= is used
| ||
| Louisiana LA |
|parish=
|
Parish | |
|parishes=
|
Parishes, will not display if |parish= is used
| ||
| Puerto Rico PR |
|municipality=
|
Municipality | |
|municipalities=
|
Municipalities, will not display if |municipality= is used
| ||
| All other locations | |county=
|
County | |
|counties=
|
Counties, will not display if |county= is used
| ||
其他所有国家
| 参数 | 位置描述 |
|---|---|
|country=
|
Country |
|countries=
|
Countries, will not display if |country= is used
|
|island=
|
Island |
|communities=
|
Communities |
|regions=
|
Regions |
|provinces=
|
Provinces |
|states=
|
States |
|governorates=
|
Governorates |
|counties=
|
Counties |
|departments=
|
Departments |
|cantons=
|
Cantons |
|prefectures=
|
Prefectures |
|divisions=
|
Divisions |
|oblasts=
|
Oblasts |
|districts=
|
Districts |
|parishes=
|
Parishes |
|communes=
|
Communes |
|territories=
|
Territories |
|location1=
|
|label1= Generic label
|
|location2=
|
|label2= Generic label
|
|location3=
|
|label3= Generic label
|
|location4=
|
|label4= Generic label
|
|location5=
|
|label5= Generic label
|
|subregions=
|
Subregions |
|subcounties=
|
Subcounties |
|subprefectures=
|
Subprefectures |
行政区划
| 参数 | 位置描述 |
|---|---|
|municipalities=
|
Municipalities |
|cities=
|
Major cities |
|towns=
|
Towns |
|villages=
|
Villages |
|destinations=
|
Primary destinations |
其他参数
- header_type:为特定系列条目提供了少量的备选标题底色。包括:
- under construction:适用于已启动建设但尚未有任何路段通车的高速公路。请勿用于已部分通车的道路。(别名:const、uc)
- historic:适用于具有历史意义的道路。(别名:historical、hist、scenic)
- former:指政府主管部门不再维护的旧公路编号。(别名:decommissioned)
- minor:仅限英国。用于带有白底黑字标志的A roads。
- system:条目路线所属的高速公路系统。通常编号路线不需要此参数。
- system#,其中#是下一个要显示的附加高速公路系统的编号(1表示第一个输入到信息框的,2表示下一个,依此类推)。
- nhs:道路中属于美国国家公路系统(NHS)网络的路段。如果整条道路都是NHS的一部分,请输入“全线”。此参数对于美国州际公路(使用
type=I)会自动生成。 - e-road、ahn、tahn或mrn:用于表示某道路是欧洲高速公路、亚洲公路网、非洲横贯公路网或Arab Mashreq International Road Network的一部分。
- e-road-shield、ahn-shield、tahn-shield或mrn-shield:欧洲高速公路、亚洲公路网、非洲横贯公路网或MRN路线的盾形标志或路线标记图像。需要完整的wikitext。
- embedded:嵌入另一个信息框,例如{{Infobox designation list}}、{{文物保护单位}}。
示例
![]() New Jersey Turnpike mainline and spurs highlighted in green | |||||||
| 道路信息 | |||||||
| 長度 | 117.20英里[1][2](188.62公里) (Mainline) | ||||||
| 存續 | 1951至今 | ||||||
| 組成路段 |
| ||||||
| 限制 | Buses and commercial vehicles must use outer roadways between Exits 6 and 14 | ||||||
| 主要連接道路 | |||||||
| South端 | |||||||
| |||||||
| North端 | |||||||
| 位置 | |||||||
| 國家 | 美国 | ||||||
| 州 | 新澤西州 | ||||||
| 縣 | Salem, Gloucester, Camden, Burlington, Mercer, Middlesex, Union, Essex, Hudson, Bergen | ||||||
| 公路系統 | |||||||
| |||||||
| |||||||
{{Infobox road
| state = NJ
| type = NJTP
| map = {{maplink-road|from=New Jersey Turnpike.map}}
| map_custom = yes
| map_notes = New Jersey Turnpike mainline and spurs highlighted in green
| map_alt = Map of New Jersey with a long red line running from the southwest corner of the state to the northeast corner of the state signifying the mainline, three short red lines signifying the spur routes
| length_mi = 117.20
| length_ref = <ref name="sld 1" /><ref name="sld 0">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000700__-.pdf |title = Route 700 Straight Line Diagram |access-date = 2020-03-17 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160304211723/http://www.state.nj.us/transportation/refdata/sldiag/00000700__-.pdf |archive-date = 2016-03-04 |author-link = New Jersey Department of Transportation }}</ref><!--equation is 76.78+52.17-6.55=122.4-->
| length_notes = (Mainline) {{plainlist|
* {{cvt|11.03|mi|km}}—Western Spur<ref name="sld 2">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000095W_-.pdf |title = Route 95W Straight Line Diagram |access-date = 2020-03-17 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160113180423/http://www.state.nj.us/transportation/refdata/sldiag/00000095W_-.pdf |archive-date = 2016-01-13 }}</ref>
* {{cvt|6.55|mi|km}}—Pennsylvania Extension<ref name="sld 1">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000095__-.pdf |title = Route 95 Straight Line Diagram |access-date = 2020-03-17 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160304210126/http://www.state.nj.us/transportation/refdata/sldiag/00000095__-.pdf |archive-date = 2016-03-04 }}</ref>
* {{cvt|8.17|mi|km}}—Newark Bay Extension<ref name="sld 3">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000078__-.pdf |title = Route 78 Straight Line Diagram |access-date = 2020-03-17 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160304212003/http://www.state.nj.us/transportation/refdata/sldiag/00000078__-.pdf |archive-date = 2016-03-04 }}</ref>
* {{cvt|5.20|mi|km}}—I-95 Extension<ref name="sld 1" />
* {{cvt|148.18|mi|km}}—Total Length of Turnpike including Extensions
}}
| established = 1951
| allocation =
* {{Jct|state=NJ|Route|700|nolink=yes|noshield1=yes}} (unsigned) from [[Pennsville Township, New Jersey|Pennsville Township]] to [[Mansfield Township, Burlington County, New Jersey|Mansfield Township]]
* {{jct|state=NJ|I-Toll|95}} from [[Burlington Township, New Jersey|Burlington Township]] to [[Fort Lee, New Jersey|Fort Lee]]
* {{jct|state=NJ|I-Toll|78}} Newark Bay Extension from [[Newark, New Jersey|Newark]] to [[Jersey City, New Jersey|Jersey City]]
| restrictions = Buses and commercial vehicles must use outer roadways between Exits 6 and 14
| direction_a = South
| direction_b = North
| terminus_a = {{jct|state=NJ|I|295|US|40|US|130}} in [[Pennsville Township, New Jersey|Pennsville]] near the [[Delaware Memorial Bridge]]
| junction =
* {{jct|state=NJ|NJ|73}} in [[Mount Laurel, New Jersey|Mount Laurel]]
* {{jct|state=NJ|I-Toll|95|PAEX|nolink2=yes}} in [[Mansfield Township, Burlington County, New Jersey|Mansfield Township]]
* {{jct|state=NJ|I|195}} in [[Robbinsville Township, New Jersey|Robbinsville Township]]
* {{jct|state=NJ|I|287|NJ|440}} in [[Edison, New Jersey|Edison]]
* {{jct|state=NJ|GSP||US|9}} in [[Woodbridge Township, New Jersey|Woodbridge Township]]
* {{jct|state=NJ|I|278}} in [[Elizabeth, New Jersey|Elizabeth]]
* {{jct|state=NJ|I-Toll|78|NBEX||US|1-9|nolink2=yes}} in [[Newark, New Jersey|Newark]]
* {{jct|state=NJ|I|280}} in [[Kearny, New Jersey|Kearny]]
* {{jct|state=NJ|NJ|495}} in [[Secaucus, New Jersey|Secaucus]]
* {{jct|state=NJ|I|80}} in [[Teaneck, New Jersey|Teaneck]]
| terminus_b = {{jct|state=NJ|I|95|US|1-9|US|46|NJ|4|US|9W|PIP|}} in [[Fort Lee, New Jersey|Fort Lee]] near the [[George Washington Bridge]]
| counties = [[Salem County, New Jersey|Salem]], [[Gloucester County, New Jersey|Gloucester]], [[Camden County, New Jersey|Camden]], [[Burlington County, New Jersey|Burlington]], [[Mercer County, New Jersey|Mercer]], [[Middlesex County, New Jersey|Middlesex]], [[Union County, New Jersey|Union]], [[Essex County, New Jersey|Essex]], [[Hudson County, New Jersey|Hudson]], [[Bergen County, New Jersey|Bergen]]
| previous_type = I
| previous_route = 695
| browse_route = Route 700
| next_type = I
| next_route = 895
| browse = {{nj browse|previous_type=I|previous_route=95|route=Route 100|next_type=NJ-old|next_route=101
}}{{nj browse|previous_type=I|previous_route=295|route=Route 300|next_type=NJ|next_route=303}}
}}
参考資料
- ^ 1.0 1.1 1.2 New Jersey Department of Transportation. Route 95 Straight Line Diagram (PDF). New Jersey Department of Transportation. [2020-03-17]. (原始内容存档 (PDF)于2016-03-04).
- ^ New Jersey Department of Transportation. Route 700 Straight Line Diagram (PDF). New Jersey Department of Transportation. [2020-03-17]. (原始内容存档 (PDF)于2016-03-04).
- ^ New Jersey Department of Transportation. Route 95W Straight Line Diagram (PDF). New Jersey Department of Transportation. [2020-03-17]. (原始内容存档 (PDF)于2016-01-13).
- ^ New Jersey Department of Transportation. Route 78 Straight Line Diagram (PDF). New Jersey Department of Transportation. [2020-03-17]. (原始内容存档 (PDF)于2016-03-04).
模板数据
模板数据
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Infobox road模板数据 本模板用于生成道路信息框。
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
技术细节
See Infobox road/doc/tech for details on the inner workings of the template, including a list of tracking categories.
追踪分类
- Category:Infobox road嵌入錯誤(0)
- Category:Infobox road模板存在可遷移到維基數據的地圖參數(895)
- Category:Infobox road模板缺少維基數據國家參數的條目(421)
- Category:Infobox road模板未連結至維基數據的條目(511)
- Category:使用Infobox road模板帶有未知參數的頁面(134)
应用实例
| 點擊下方「►」以見所有子分類: |
|---|
参见
- {{Infobox road junction}} – 用于道路交叉口与立交枢纽条目的信息框
- {{Infobox street}} – 适用于街道条目的信息框
- Category:调用Infobox_road的模板
