Template:Infobox road: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported)
m (Removing wikibase-dependent module)
 
Line 14: Line 14:
|subheader2={{#ifeq:{{{country|}}}|AUS||{{{alternate_name|}}}}}
|subheader2={{#ifeq:{{{country|}}}|AUS||{{{alternate_name|}}}}}
<!-- MAP -->
<!-- MAP -->
|image={{#invoke:Infobox road/map|map}}
|image=
|caption={{{map_notes|}}}
|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|}}}]]|}}|}}
|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|}}}]]|}}|}}
Line 129: Line 129:
// ERROR TRACKING CATEGORIES //
// ERROR TRACKING CATEGORIES //
-->{{#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 }}<!--
-->{{#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 }}<!--
--><includeonly>{{main other|[[Category:Infobox road instances {{Infobox road/meta/mask/category|1={{{country|}}}|2={{{state|}}}|3={{{province|}}}}}]]}}<!--
<noinclude>
--></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 23:25, 30 October 2020