Template:Infobox road: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Removing wikibase-dependent module) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
|subheader={{#if:{{{translation|}}}|<big>{{{translation}}}</big>|{{#ifexist:Template:Infobox road/translation/{{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}}|{{#ifeq:{{Infobox road/translation/{{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}}|province={{{province|¬}}}|state={{{state|¬}}}|type={{{type|}}}|subtype={{{subtype|}}}|route={{{route|}}}}}|none||<big>{{Infobox road/translation/{{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}}|province={{{province|¬}}}|state={{{state|¬}}}|type={{{type|}}}|subtype={{{subtype|}}}|route={{{route|}}}}}</big>}}|}}}} | |subheader={{#if:{{{translation|}}}|<big>{{{translation}}}</big>|{{#ifexist:Template:Infobox road/translation/{{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}}|{{#ifeq:{{Infobox road/translation/{{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}}|province={{{province|¬}}}|state={{{state|¬}}}|type={{{type|}}}|subtype={{{subtype|}}}|route={{{route|}}}}}|none||<big>{{Infobox road/translation/{{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}}|province={{{province|¬}}}|state={{{state|¬}}}|type={{{type|}}}|subtype={{{subtype|}}}|route={{{route|}}}}}</big>}}|}}}} | ||
|subheader2={{#ifeq:{{{country|}}}|AUS||{{{alternate_name|}}}}} | |subheader2={{#ifeq:{{{country|}}}|AUS||{{{alternate_name|}}}}} | ||
<!-- MAP --> | |||
|image= | |||
|caption={{{map_notes|}}} | |||
|image2={{#if:{{{photo|}}}{{{image|}}}|{{#ifeq:{{Infobox road/hide/photo|{{{state|}}}{{{province|}}}|{{{country|}}}}}|no|[[File:{{{photo|}}}{{{image|}}}|{{{photo_width|{{{image_width|290}}}}}}px|alt={{{photo_alt|}}}{{{image_alt|}}}]]|}}|}} | |||
|caption2={{{photo_notes|}}}{{{image_notes|}}} | |||
<!-- ROUTE INFORMATION --> | <!-- ROUTE INFORMATION --> | ||
|header1= {{#if:{{{section|}}}{{#ifeq:{{{maint|}}}|none||{{{maint|}}}}}{{#ifeq:{{{maint|}}}|none||{{#ifexist:Template:Infobox road/maint/{{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}}|{{#ifeq:{{Infobox road/maint/{{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}}|state={{{state|¬}}}|province={{{province|¬}}}|type={{{type|}}}}}|||show}}|}}}}{{{time_period|}}}{{{length_mi|}}}{{{length_km|}}}{{{length_notes|}}}{{{established|}}}{{{formed|}}}{{{history|}}}{{{spur_of|}}}{{{restrictions|}}}{{{e-road|}}}{{{ahn|}}}{{{tahn|}}}{{{mrn|}}}{{ | |header1= {{#if:{{{section|}}}{{#ifeq:{{{maint|}}}|none||{{{maint|}}}}}{{#ifeq:{{{maint|}}}|none||{{#ifexist:Template:Infobox road/maint/{{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}}|{{#ifeq:{{Infobox road/maint/{{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}}|state={{{state|¬}}}|province={{{province|¬}}}|type={{{type|}}}}}|||show}}|}}}}{{{time_period|}}}{{{length_mi|}}}{{{length_km|}}}{{{length_notes|}}}{{{established|}}}{{{formed|}}}{{{history|}}}{{{spur_of|}}}{{{restrictions|}}}{{{e-road|}}}{{{ahn|}}}{{{tahn|}}}{{{mrn|}}}{{{tourist|}}}{{{allocation|}}}{{{status|}}}|Route information}} | ||
|data2 = {{#if:{{{spur_of|}}}|{{Infobox road/meta/spur of|{{{type|}}}|{{{subtype|}}}|{{{spur_type|}}}|{{{spur_of}}}|{{{country|}}}|{{{province|}}}|{{{state|}}}|{{{county|}}}}}|}} | |data2 = {{#if:{{{spur_of|}}}|{{Infobox road/meta/spur of|{{{type|}}}|{{{subtype|}}}|{{{spur_type|}}}|{{{spur_of}}}|{{{country|}}}|{{{province|}}}|{{{state|}}}|{{{county|}}}}}|}} | ||
|data3 = {{#if:{{{e-road|}}}{{{ahn|}}}{{{tahn|}}}{{{mrn|}}}|{{{e-road-shield|}}}{{{ahn-shield|}}}{{{tahn-shield|}}}{{{mrn-shield|}}} Part of {{{e-road|}}}{{{ahn|}}}{{{tahn|}}}{{{mrn|}}}|}} | |data3 = {{#if:{{{e-road|}}}{{{ahn|}}}{{{tahn|}}}{{{mrn|}}}|{{{e-road-shield|}}}{{{ahn-shield|}}}{{{tahn-shield|}}}{{{mrn-shield|}}} Part of {{{e-road|}}}{{{ahn|}}}{{{tahn|}}}{{{mrn|}}}|}} | ||
Line 23: | Line 28: | ||
|data7 = {{#invoke:Infobox road/length|length}} | |data7 = {{#invoke:Infobox road/length|length}} | ||
|label8= Status | |label8= Status | ||
|data8 | |data8= {{{status|}}} | ||
|label9= Existed | |label9= Existed | ||
|data9= {{#if:{{{established|}}}{{{formed|}}}|{{{established|}}}{{{formed|}}}–{{#if:{{{decommissioned|}}}{{{deleted|}}}|{{{decommissioned|}}}{{{deleted|}}}|present}}|}} | |data9= {{#if:{{{established|}}}{{{formed|}}}|{{{established|}}}{{{formed|}}}–{{#if:{{{decommissioned|}}}{{{deleted|}}}|{{{decommissioned|}}}{{{deleted|}}}|present}}|}} | ||
Line 39: | Line 44: | ||
|data16 = {{{allocation|}}} | |data16 = {{{allocation|}}} | ||
|label17= Tourist<br>routes | |label17= Tourist<br>routes | ||
|data17= | |data17= {{{tourist|}}} | ||
|label18 = Restrictions | |label18 = Restrictions | ||
|data18 = {{{restrictions|}}} | |data18 = {{{restrictions|}}} | ||
<!-- MAJOR JUNCTIONS (FOR MOST ROUTES) --> | <!-- MAJOR JUNCTIONS (FOR MOST ROUTES) --> | ||
|header20= {{#if:{{{terminus_a|{{{end_a|}}}}}}{{{beltway_city|}}}{{{orbital|}}}{{{loop|}}}{{{tloop|}}}{{{junction|}}}|{{{section0|Major junctions}}}}} | |header20= {{#if:{{{terminus_a|{{{end_a|}}}}}}{{{beltway_city|}}}{{{orbital|}}}{{{loop|}}}{{{tloop|}}}{{{junction|{{{junctions|}}}}}}|{{{section0|Major junctions}}}}} | ||
|data21 = {{#if:{{{ring_road|}}}|[[Ring road]] around {{{ring_road}}}|<!-- | |data21 = {{#if:{{{ring_road|}}}|[[Ring road]] around {{{ring_road}}}|<!-- | ||
-->{{#if:{{{beltway_city|}}}|[[Beltway]] around {{{beltway_city}}}|<!-- | -->{{#if:{{{beltway_city|}}}|[[Beltway]] around {{{beltway_city}}}|<!-- | ||
Line 52: | Line 57: | ||
|data23 = {{{terminus_a|{{{end_a|}}}}}} | |data23 = {{{terminus_a|{{{end_a|}}}}}} | ||
|label25 = | |label25 = | ||
|data25 = {{{junction|}}} | |data25 = {{{junction|{{{junctions|}}}}}} | ||
|label27 = {{#if:{{{terminus_b|{{{end_b|}}}}}}|{{#if:{{{direction_b|}}}|{{{direction_b}}} end|To}}|}} | |label27 = {{#if:{{{terminus_b|{{{end_b|}}}}}}|{{#if:{{{direction_b|}}}|{{{direction_b}}} end|To}}|}} | ||
|data27 = {{{terminus_b|{{{end_b|}}}}}} | |data27 = {{{terminus_b|{{{end_b|}}}}}} | ||
Line 105: | Line 110: | ||
<!-- HIGHWAY SYSTEM --> | <!-- HIGHWAY SYSTEM --> | ||
|header85= {{#ifeq:{{{nobrowse|}}}|yes||{{#if:{{{state|}}}{{{province|}}}{{{country|}}}{{{type|}}}{{{system|}}}|{{#switch: {{{country|}}} | |header85= {{#ifeq:{{{nobrowse|}}}|yes||{{#if:{{{state|}}}{{{province|}}}{{{country|}}}{{{type|}}}{{{system|}}}|{{#switch: {{{country|}}} | ||
|GBR|IRL= Road network | |GBR|NIR|IMN|IRL= Road network | ||
|AUS= {{#switch:{{{type|}}} | |AUS= {{#switch:{{{type|}}} | ||
|freeway|highway|city highway=Highway system | |freeway|highway|city highway=Highway system | ||
Line 123: | Line 128: | ||
}}<!-- | }}<!-- | ||
// ERROR TRACKING CATEGORIES // | // ERROR TRACKING CATEGORIES // | ||
-->{{#if:{{{type|}}}|{{#if:{{{state|}}}{{{province|}}}{{{country|}}}||[[Category:Infobox road transclusion errors|# {{PAGENAME}}]]}}}}{{#if:{{{spur_of|}}}|{{#if:{{{spur_type|}}}||[[Category:Infobox road transclusion errors|$ {{PAGENAME}}]]}}}}{{Infobox road/meta/errors|country={{{country|}}}|province={{{province|}}}|state={{{state|}}}|{{{countries|}}}|{{{regions|}}}|{{{provinces|}}}|{{{rural_municipalities|}}}|{{{cities|}}}{{{towns|}}}{{{villages|}}}|{{{destinations|}}}|{{{tourist|}}}|{{{states|}}}|{{{photo|}}}}}{{#if:{{{header_color|}}}{{{header_type|}}}{{{marker_image|}}}{{{name|}}}|[[Category:Infobox road temporary tracking category 1|{{#if:{{{translation|}}}|@}}{{#if:{{{header_type|}}}|{{#switch:{{lc:{{{header_type}}}}}|under construction|const|uc=ƒ|historic|historical|hist=∑|scenic=¶|decommissioned|former=∆|freeway=∞|#default=§}}}}{{#if:{{{marker_image|}}}|{{#ifeq:{{{marker_image}}}|none|&|*}}}}{{#if:{{{name|}}}|†}} {{PAGENAME}}]]}}{{#if:{{{map|}}}|{{#if:{{{map_custom|}}}||{{#ifeq:{{{map|}}}|{{#property:P15}}||[[Category:Infobox road maps for Wikidata migration]]|}}}}}}{{main other|{{#ifeq:{{#property:P17}}||[[Category:Infobox road articles without wikidata country]]}}{{#ifeq:{{#property:P31}}||[[Category:Infobox road articles without wikidata instance of]]}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox road with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox road]] with unknown parameter "_VALUE_"|ignoreblank=y| ahn-shield | ahn | allocation | alternate_name | beltway_city | borough | boroughs | browse_route | browse | cities | communities | counties | countries | country | county | decommissioned | deleted | destinations | direction_a | direction_a1 | direction_a2 | direction_a3 | direction_a4 | direction_a5 | direction_b | direction_b1 | direction_b2 | direction_b3 | direction_b4 | direction_b5 | districts | divisions | e-road | e-road-shield | embedded | end_a | end_a1 | end_a2 | end_a3 | end_a4 |end_a5 | end_b | end_b1 | end_b2 | end_b3 | end_b4 |end_b5 | established | established_by | formed | header_color | header_type | history | image | image_alt | image_notes | image_width | junction | junction1 | junction2 | junction3 | junction4 |junction5 | known_for | length_km | length_km1 | length_km2 | length_km3 | length_km4 |length_km5 | length_mi | length_mi1 | length_mi2 | length_mi3 | length_mi4 |length_mi5 | length_notes | length_notes1 | length_notes2 | length_notes3 | length_notes4 |length_notes5 | length_ref | length_ref1 | length_ref2 | length_ref3 | length_ref4 |length_ref5 | length_round | length_round1 | length_round2 | length_round3 | length_round4 |length_round5 | lga | locations | loop | maint | map | map_alt | map_custom | map_notes | marker_image | mrn | mrn-shield | municipalities | name | next_dab | next_route | next_type | nobrowse | nrhp | orbital | parishes | photo | photo_alt | photo_notes | photo_width | previous_dab | previous_route | previous_type | province | provinces | regions | related | restrictions | ring_road | route | rural_municipalities | section | section0 | section1 | section2 | section3 | section4 |section5 | significance | spur_of | spur_type | state | states | status | subsection | subtype | system | tahn | tahn-shield | terminus_a | terminus_a1 | terminus_a2 | terminus_a3 | terminus_a4 |terminus_a5 | terminus_b | terminus_b1 | terminus_b2 | terminus_b3 | terminus_b4 | terminus_b5 | time_period | tloop | tourist | towns | translation | type | villages }}<noinclude> | -->{{#if:{{{type|}}}|{{#if:{{{state|}}}{{{province|}}}{{{country|}}}||[[Category:Infobox road transclusion errors|# {{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}} {{PAGENAME}}]]}}}}{{#if:{{{spur_of|}}}|{{#if:{{{spur_type|}}}||[[Category:Infobox road transclusion errors|$ {{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}} {{PAGENAME}}]]}}}}{{Infobox road/meta/errors|country={{{country|}}}|province={{{province|}}}|state={{{state|}}}|{{{countries|}}}|{{{regions|}}}|{{{provinces|}}}|{{{rural_municipalities|}}}|{{{cities|}}}{{{towns|}}}{{{villages|}}}|{{{destinations|}}}|{{{tourist|}}}|{{{states|}}}|{{{photo|}}}}}{{#if:{{{header_color|}}}{{{header_type|}}}{{{marker_image|}}}{{{name|}}}|[[Category:Infobox road temporary tracking category 1|{{#if:{{{translation|}}}|@}}{{#if:{{{header_type|}}}|{{#switch:{{lc:{{{header_type}}}}}|under construction|const|uc=ƒ|historic|historical|hist=∑|scenic=¶|decommissioned|former=∆|freeway=∞|#default=§}}}}{{#if:{{{marker_image|}}}|{{#ifeq:{{{marker_image}}}|none|&|*}}}}{{#if:{{{name|}}}|†}} {{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}} {{PAGENAME}}]]}}{{#if:{{{map|}}}|{{#if:{{{map_custom|}}}||{{#ifeq:{{{map|}}}|{{#property:P15}}||{{main other|[[Category:Infobox road maps for Wikidata migration]]}}|}}}}}}{{main other|{{#ifeq:{{#property:P17}}||[[Category:Infobox road articles without wikidata country]]}}{{#ifeq:{{#property:P31}}||[[Category:Infobox road articles without wikidata instance of]]}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox road with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox road]] with unknown parameter "_VALUE_"|ignoreblank=y| ahn-shield | ahn | allocation | alternate_name | beltway_city | borough | boroughs | browse_route | browse | cities | communities | counties | countries | country | county | decommissioned | deleted | destinations | direction_a | direction_a1 | direction_a2 | direction_a3 | direction_a4 | direction_a5 | direction_b | direction_b1 | direction_b2 | direction_b3 | direction_b4 | direction_b5 | districts | divisions | e-road | e-road-shield | embedded | end_a | end_a1 | end_a2 | end_a3 | end_a4 |end_a5 | end_b | end_b1 | end_b2 | end_b3 | end_b4 |end_b5 | established | established_by | formed | header_color | header_type | history | image | image_alt | image_notes | image_width | junction | junction1 | junction2 | junction3 | junction4 |junction5 | junctions | known_for | length_km | length_km1 | length_km2 | length_km3 | length_km4 |length_km5 | length_mi | length_mi1 | length_mi2 | length_mi3 | length_mi4 |length_mi5 | length_notes | length_notes1 | length_notes2 | length_notes3 | length_notes4 |length_notes5 | length_ref | length_ref1 | length_ref2 | length_ref3 | length_ref4 |length_ref5 | length_round | length_round1 | length_round2 | length_round3 | length_round4 |length_round5 | lga | locations | loop | maint | map | map_alt | map_custom | map_notes | marker_image | mrn | mrn-shield | municipalities | name | next_dab | next_route | next_type | nobrowse | nrhp | orbital | parishes | photo | photo_alt | photo_notes | photo_width | previous_dab | previous_route | previous_type | province | provinces | regions | related | restrictions | ring_road | route | rural_municipalities | section | section0 | section1 | section2 | section3 | section4 |section5 | significance | spur_of | spur_type | state | states | status | subsection | subtype | system | tahn | tahn-shield | terminus_a | terminus_a1 | terminus_a2 | terminus_a3 | terminus_a4 |terminus_a5 | terminus_b | terminus_b1 | terminus_b2 | terminus_b3 | terminus_b4 | terminus_b5 | time_period | tloop | tourist | towns | translation | type | villages }}<!-- | ||
<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |