Template:Infobox road small and Template:Infobox road small/sandbox: Difference between pages
(Difference between pages)
Content deleted Content added
improve support for routes that only existed during a specific year (existed entry will no longer display "year-year") |
No edit summary |
||
Line 2: | Line 2: | ||
|above = {{#invoke:Infobox road/route|routeInfo|style=small}} |
|above = {{#invoke:Infobox road/route|routeInfo|style=small}} |
||
|subheader = {{{alternate_name|}}} |
|subheader = {{{alternate_name|}}} |
||
|subheader2 = <div class="{{#invoke:Infobox road|headerStyle}}" style="margin:0; height:.5em;"></div> |
|subheader2 = <div class="{{#invoke:Infobox road/sandbox|headerStyle}}" style="margin:0; height:.5em;"></div> |
||
|label1 = Location |
|label1 = Location |
||
|data1 = {{{location |
|data1 = {{{location}}}{{#if:{{{location|}}}||<includeonly>[[Category:Infobox road small transclusions without location]]</includeonly>}} |
||
|label2 = Length |
|label2 = Length |
||
|data2 = {{#invoke:Infobox road/length|length}} |
|data2 = {{#invoke:Infobox road/length/sandbox|length}} |
||
|label3 = {{#ifeq:{{{historic|}}}|yes|Formed|Existed}} |
|label3 = {{#ifeq:{{{historic|}}}|yes|Formed|Existed}} |
||
|data3 = {{#if:{{{formed|{{{established|}}}}}}|{{{formed|{{{established|}}}}}}{{#ifeq:{{{historic|}}}|yes||–{{{deleted|{{{decommissioned|present}}}}}}}}{{{yr_ref|}}} |
|data3 = {{#if:{{{formed|{{{established|}}}}}}|{{{formed|{{{established|}}}}}}{{#ifeq:{{{historic|}}}|yes||–{{{deleted|{{{decommissioned|present}}}}}}}}{{{yr_ref|}}}|}} |
||
|label4 = History |
|label4 = History |
||
|data4 = {{{history|}}} |
|data4 = {{{history|}}} |
||
Line 15: | Line 15: | ||
|label6= Tourist<br>routes |
|label6= Tourist<br>routes |
||
|data6= {{#if:{{{tourist|}}}|{{#ifeq:{{Infobox road/hide/tourist|{{{state|}}}{{{province|}}}|{{{country|}}}}}|no|{{{tourist|}}}|}}|}} |
|data6= {{#if:{{{tourist|}}}|{{#ifeq:{{Infobox road/hide/tourist|{{{state|}}}{{{province|}}}|{{{country|}}}}}|no|{{{tourist|}}}|}}|}} |
||
}}< |
}}<noinclude> |
||
{{documentation}}<!-- |
|||
-->{{#ifeq:{{{category|}}}|{{yesno-no}}||{{#if:{{{marker_image|}}}|{{#ifeq:{{{route|¬}}}|¬||[[Category:Infobox road temporary tracking category 2|{{#ifeq:{{{marker_image}}}|none|&|*}}}} {{PAGENAME}}]]|}}}}}}<noinclude>{{documentation}}</noinclude> |
|||
{{#invoke:Infobox road small/sandbox|infobox}} |
|||
--></noinclude> |