模板:Infobox road/sandbox
| 這是Template:Infobox road(差異)的沙盒。 |
| 此模板沙盒被引用於許多頁面。 為了避免造成大規模的影響,所有對此模板沙盒的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此模板沙盒中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
| 本模板含有複雜而精密的擴展語法。 編輯本模板前,建議您先熟悉解析器函數與本模板的設計思路、運作原理等。若您的編輯引發了意外的問題,請儘快撤銷編輯,因為本模板可能被大量頁面使用。 您所作的編輯可先在模板沙盒或您的個人頁面中進行測試。 |
| 此模板使用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的模板
