Jump to content

Template:Infobox street: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
add map param
Only call when needed
 
(20 intermediate revisions by 11 users not shown)
Line 27: Line 27:
| class1 = nickname
| class1 = nickname
| label1 = Native name
| label1 = Native name
| data1 = {{#if:{{{native_name|}}}|<!--
| data1 = {{native name checker|{{{native_name|}}}}}
-->{{#iferror:{{native_name|{{{native_name_lang|}}}|{{{native_name}}}}}|<!--
-->{{#ifexpr:{{#invoke:String|find|{{{native_name}}}|lang}}>0|<!--
-->{{{native_name}}}|{{lang|und|{{{native_name}}}}}}}}}}}


| label2 = Former name(s)
| label2 = Former name(s)
Line 54: Line 51:


| label8 = Length
| label8 = Length
| data8 = {{#if:{{{length|}}}|{{{length|}}}|{{#if:{{{length_mi|}}}{{{length_km|}}}|{{Infobox street/meta/length|{{#if:{{{length_mi|}}}|mi|km}}|length={{if empty|{{{length_mi|}}}|{{{length_km|}}}}}|length_ref={{{length_ref|}}}}}|}}{{#if:{{{length_m|}}}{{{length_ft|}}}|{{Infobox street/meta/length|{{#if:{{{length_ft|}}}|ft|m}}|length={{if empty|{{{length_ft|}}}|{{{length_m|}}}}}|length_ref={{{length_ref|}}}}}|}}}}{{#if:{{{length_notes|}}}|<br/><small>{{{length_notes}}}</small>|}}
| data8 = {{if empty|{{{length|}}}|{{convinfobox|{{{length_mi|}}}|mi|{{{length_km|}}}|km}}|{{convinfobox|{{{length_m|}}}|m|{{{length_ft|}}}|ft}}}}{{#if:{{{length|}}}{{{length_mi|}}}{{{length_km|}}}{{{length_m|}}}{{{length_ft|}}}|{{{length_ref|}}}{{#if:{{{length_notes|}}}|<br/>{{{length_notes}}} }} }}


| label9 = Width
| label9 = Width
Line 79: Line 76:
| class22 = locality
| class22 = locality


| label23 = [[Arrondissements of Paris|Arrondissement]]
| label23 = [[Municipal arrondissements of France|Arrondissement]]
| data23 = {{{arrondissement|}}}
| data23 = {{{arrondissement|}}}


| label24 = [[Quarters of Paris|Quarter]]
| label24 = [[Quarter (urban subdivision)|Quarter]]
| data24 = {{{quarter|}}}
| data24 = {{{quarter|}}}


Line 139: Line 136:
| data65 = {{{demolition_date|}}}
| data65 = {{{demolition_date|}}}


<!-- CONSTRUCTION -->
<!-- OTHER -->
| header70 = {{#if:{{{known_for|}}}{{{status|}}}{{{designer|}}}{{{website|}}}|Other}}
| header70 = {{#if:{{{known_for|}}}{{{status|}}}{{{designer|}}}{{{website|}}}|Other}}


Line 154: Line 151:
| data74 = {{{website|}}}
| data74 = {{{website|}}}


| rowstyle98 = width:100%; background:none; border-collapse:collapse
| data98 = {{#invoke:Infobox road|browse}}
| data98 = {{#if:{{{browse|}}}|{{#invoke:Road data/browsetable|browsetable|{{{browse}}}}}}}


<!-- EMBEDDED -->
<!-- EMBEDDED -->
Line 160: Line 158:


}}{{#if:{{{arrondissement|}}}{{{quarter|}}}|[[Category:Pages using infobox street with Paris-specific parameters]]
}}{{#if:{{{arrondissement|}}}{{{quarter|}}}|[[Category:Pages using infobox street with Paris-specific parameters]]
}}{{#ifeq:{{{dot_map_base_alt|¶}}}{{{dot_map_marker|¶}}}{{{dot_map_marker_size|¶}}}{{{dot_mapsize|¶}}}{{{dot_x|¶}}}{{{dot_y|¶}}}{{{image_dot_map|¶}}}|¶¶¶¶¶¶¶||[[Category:Pages using infobox street with unknown parameters|¶]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox street with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox street]] with unknown parameter "_VALUE_"|ignoreblank=y| addresses | allocation | alternate_name | area | arrondissement | browse | caption | commissioning_date | completion_date | construction_start_date | coordinates | cost | country | demolition_date | designer | direction_a | direction_b | east | embed | embedded | former_names | grid_name | grid_position | image | image_alt | image_map | image_size | inauguration_date | inauguration_label | junction | known_for | length | length_ft | length_km | length_m | length_mi | length_notes | length_ref | location | main_contractor | maint | map_alt | map_caption | map_size | map_type | marker_image | metro | metro_system | name | namesake | native_name | native_name_lang | north | other_name | owner | part_of | postal_code | postal_code_type | quarter | references | restrictions | south | status | surface_area | terminus_a | terminus_b | tourist | type | website | west | width }}<noinclude>
}}{{#ifeq:{{{dot_map_base_alt|¶}}}{{{dot_map_marker|¶}}}{{{dot_map_marker_size|¶}}}{{{dot_mapsize|¶}}}{{{dot_x|¶}}}{{{dot_y|¶}}}{{{image_dot_map|¶}}}|¶¶¶¶¶¶¶||[[Category:Pages using infobox street with unknown parameters|¶]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox street with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox street]] with unknown parameter "_VALUE_"|ignoreblank=y| addresses | allocation | alternate_name | area | arrondissement | browse | caption | commissioning_date | completion_date | construction_start_date | coordinates | cost | country | demolition_date | designer | direction_a | direction_b | east | embed | embedded | former_names | grid_name | grid_position | image | image_alt | image_map | image_size | inauguration_date | inauguration_label | junction | known_for | length | length_ft | length_km | length_m | length_mi | length_notes | length_ref | location | main_contractor | maint | map | map_alt | map_caption | map_size | map_type | marker_image | metro | metro_system | name | namesake | native_name | north | other_name | owner | part_of | postal_code | postal_code_type | quarter | references | restrictions | south | status | surface_area | terminus_a | terminus_b | tourist | type | website | west | width }}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 23:02, 26 July 2024

Infobox street