Template:Infobox road: Difference between revisions

Jump to navigation Jump to search
(Created page with "{{Infobox |bodystyle=width:300px; font-size:90%; padding:0 |headerstyle={{#invoke:Infobox road|headerStyle}} |labelstyle=text-align:right |belowstyle=line-height:150% <!-- ROU...")
 
No edit summary
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={{#invoke:Infobox road/map|map}}
|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|}}}{{#ifeq:{{Infobox road/hide/tourist|{{{state|}}}{{{province|}}}|{{{country|}}}}}|no|{{{tourist|}}}|}}{{{allocation|}}}{{{status|}}}|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|}}}{{#ifeq:{{Infobox road/hide/tourist|{{{state|}}}{{{province|}}}|{{{country|}}}}}|no|{{{tourist|}}}|}}{{{allocation|}}}{{{status|}}}|Route information}}

Revision as of 20:51, 21 November 2019