Jump to content

Template:Infobox Australian road: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
add automatic suppression of location map and track with Category:Pages using infobox Australian road with coordinates an implicitly suppressed location map to see if this is what we want
Line 72: Line 72:
| data3 = {{#ifexist:media:{{{location|}}}|[[File:{{{location}}}|270px|frameless|alt={{{location_alt|{{{loc_alt|{{{alt|}}}}}}}}}]]|{{{location|}}}}}
| data3 = {{#ifexist:media:{{{location|}}}|[[File:{{{location}}}|270px|frameless|alt={{{location_alt|{{{loc_alt|{{{alt|}}}}}}}}}]]|{{{location|}}}}}
| data4 = {{#if: {{{loc_caption|}}}|<span style="font-size: 90%;">{{{loc_caption|}}}</span>}}
| data4 = {{#if: {{{loc_caption|}}}|<span style="font-size: 90%;">{{{loc_caption|}}}</span>}}
| data5 = {{#if: {{{latd_a|}}}{{{longd_a|}}}{{{coordinates_a|}}}|{{Location map many|{{#if:{{{alternative_location_map|}}}|{{{alternative_location_map}}}|{{#if: {{{force_national_map|}}} | Australia | Australia {{ #switch: {{lc:{{{state|}}}}}
| data5 = {{#if:{{{location|}}} || {{#if: {{{latd_a|}}}{{{longd_a|}}}{{{coordinates_a|}}}|{{Location map many|{{#if:{{{alternative_location_map|}}}|{{{alternative_location_map}}}|{{#if: {{{force_national_map|}}} | Australia | Australia {{ #switch: {{lc:{{{state|}}}}}
|sa = South Australia
|sa = South Australia
|vic = Victoria
|vic = Victoria
Line 122: Line 122:
|alt = {{{map_alt|}}}
|alt = {{{map_alt|}}}
}}{{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption}}}</small>|}}
}}{{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption}}}</small>|}}
}}
}} }}
| label7 = [[Geographic coordinate system|Coordinates]]
| label7 = [[Geographic coordinate system|Coordinates]]
| data7 = {{#if:{{both|{{{latitude|{{{latd_a|}}}}}}|{{{longitude|{{{longd_a|}}}}}}}}|
| data7 = {{#if:{{both|{{{latitude|{{{latd_a|}}}}}}|{{{longitude|{{{longd_a|}}}}}}}}|
Line 367: Line 367:
}}{{#if:{{{coordinates_a|}}}|{{#if:{{{coordinates_b|}}}||[[Category:Pages using infobox Australian road with coordinates for only one end point|A{{PAGENAME}}]]}}
}}{{#if:{{{coordinates_a|}}}|{{#if:{{{coordinates_b|}}}||[[Category:Pages using infobox Australian road with coordinates for only one end point|A{{PAGENAME}}]]}}
}}{{#if:{{{coordinates_b|}}}|{{#if:{{{coordinates_a|}}}||[[Category:Pages using infobox Australian road with coordinates for only one end point|B{{PAGENAME}}]]}}
}}{{#if:{{{coordinates_b|}}}|{{#if:{{{coordinates_a|}}}||[[Category:Pages using infobox Australian road with coordinates for only one end point|B{{PAGENAME}}]]}}
}}{{#if:{{{location|}}} | {{#if: {{{latd_a|}}}{{{longd_a|}}}{{{coordinates_a|}}} | [[Category:Pages using infobox Australian road with coordinates an implicitly suppressed location map]] }}
}}
}}<!-- End tracking
}}}}<!-- End tracking
--><noinclude>
--><noinclude>
{{Documentation}}
{{Documentation}}

Revision as of 17:13, 8 June 2017