Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>WOSlinker
replace one lat_d
meta>Frietjes
add alternative map syntax
Line 32: Line 32:
                 | label_position ={{{label_position|}}}
                 | label_position ={{{label_position|}}}
                 | coordinates = {{if empty|{{{range_coordinates|}}}|{{{coordinates|}}}|{{{coords|}}}}} }}
                 | coordinates = {{if empty|{{{range_coordinates|}}}|{{{coordinates|}}}|{{{coords|}}}}} }}
             </div>}}
             </div>
            | {{#if:{{{map_image|{{{image_map|}}}}}}
                |<div style="padding:0.2em 0.2em {{#if:{{{map_caption|}}}{{{location|}}}|0.5em|0.2em}} 0.2em;>{{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|{{{image_map|}}}}}}|size={{if empty|{{{map_size|}}}|{{{mapsize|}}}|{{{map_width|}}}|frameless}}|upright=1.25|maxsize=280px|alt={{{map_alt|}}}}}{{#if:{{{map_caption|}}}|<div>{{{map_caption}}}</div>}}
                  </div>}}
            }}


| header4  = {{#if:{{{highest|}}}{{{elevation|}}}{{{elevation_m|}}}{{{elevation_ft|}}}{{{prominence|}}}{{{prominence_m|}}}{{{prominence_ft|}}}{{{isolation|}}}{{{isolation_mi|}}}{{{isolation_km|}}}{{{parent_peak|}}}{{{isolation_parent|}}}{{{listing|}}}{{{coordinates|}}}{{{coords|}}}|Highest point}}
| header4  = {{#if:{{{highest|}}}{{{elevation|}}}{{{elevation_m|}}}{{{elevation_ft|}}}{{{prominence|}}}{{{prominence_m|}}}{{{prominence_ft|}}}{{{isolation|}}}{{{isolation_mi|}}}{{{isolation_km|}}}{{{parent_peak|}}}{{{isolation_parent|}}}{{{listing|}}}{{{coordinates|}}}{{{coords|}}}|Highest point}}
Line 214: Line 218:


| data71  = {{{misc|{{{module|}}}}}}
| data71  = {{{misc|{{{module|}}}}}}
}}{{#if:{{{map|}}}|{{#ifeq:{{{map|}}}|{{#invoke:string|replace|{{{map|}}}| relief$||plain=false}}||[[Category:Pages using hardcoded relief location maps]]}}}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox mountain with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox mountain]] with unknown parameter "_VALUE_"|ignoreblank=y| access | age | area | area_km2 | area_mi2 | area_note | authority | biome | border | border1 | border2 | border3 | border4 | border5 | border6 | border7 | child | city | city_type | city1 | city10 | city11 | city12 | city13 | city14 | city15 | city16 | city17 | city18 | city2 | city3 | city4 | city5 | city6 | city7 | city8 | city9 | coordinates | coordinates_note | coordinates_ref | coords | coords_ref | country | country_type | country1 | country10 | country11 | country12 | country13 | country14 | country15 | country16 | country17 | country18 | country2 | country3 | country4 | country5 | country6 | country7 | country8 | country9 | dim | district | district_type | district1 | district10 | district11 | district12 | district13 | district14 | district15 | district16 | district17 | district18 | district2 | district3 | district4 | district5 | district6 | district7 | district8 | district9 | easiest_route | elevation | elevation_ft | elevation_m | elevation_note | elevation_ref | elevation_system | embedded | etymology | first_ascent | formed_by | geology | geology1 | geology2 | grid_ref_Ireland | grid_ref_UK | highest | highest_location | isolation | isolation_km | isolation_mi | isolation_parent | isolation_ref | label | label_position | language | last_eruption | length | length_km | length_mi | length_note | length_orientation | listing | location | map | map_alt | map_caption | map_relief | map_size | map_width | misc | module | name | native_name | native_name_lang | nickname | normal_route | orogeny | other_name | parent | parent_peak | period | period1 | photo | photo_alt | photo_caption | photo_size | photo_width | prominence | prominence_ft | prominence_m | prominence_ref | pronunciation | range | range_coordinates | range_coordinates_note | region | region_type | region1 | region10 | region11 | region12 | region13 | region14 | region15 | region16 | region17 | region18 | region19 | region2 | region20 | region21 | region22 | region23 | region3 | region4 | region5 | region6 | region7 | region8 | region9 | scale | source | state | state_type | state1 | state10 | state11 | state12 | state13 | state14 | state15 | state16 | state17 | state18 | state2 | state3 | state4 | state5 | state6 | state7 | state8 | state9 | topo | topo_maker | topo_map | translation | type | volcanic_arc | volcanic_arc/belt | volcanic_belt | volcanic_field | volume | volume_km3 | volume_mi3 | volume_note | width | width_km | width_mi | width_note | width_orientation  
}}{{#if:{{{map|}}}|{{#ifeq:{{{map|}}}|{{#invoke:string|replace|{{{map|}}}| relief$||plain=false}}||[[Category:Pages using hardcoded relief location maps]]}}}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox mountain with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox mountain]] with unknown parameter "_VALUE_"|ignoreblank=y| access | age | area | area_km2 | area_mi2 | area_note | authority | biome | border | border1 | border2 | border3 | border4 | border5 | border6 | border7 | child | city | city_type | city1 | city10 | city11 | city12 | city13 | city14 | city15 | city16 | city17 | city18 | city2 | city3 | city4 | city5 | city6 | city7 | city8 | city9 | coordinates | coordinates_note | coordinates_ref | coords | coords_ref | country | country_type | country1 | country10 | country11 | country12 | country13 | country14 | country15 | country16 | country17 | country18 | country2 | country3 | country4 | country5 | country6 | country7 | country8 | country9 | district | district_type | district1 | district10 | district11 | district12 | district13 | district14 | district15 | district16 | district17 | district18 | district2 | district3 | district4 | district5 | district6 | district7 | district8 | district9 | easiest_route | elevation | elevation_ft | elevation_m | elevation_note | elevation_ref | elevation_system | embedded | etymology | first_ascent | formed_by | geology | geology1 | geology2 | grid_ref_Ireland | grid_ref_UK | highest | highest_location | image | image_map | isolation | isolation_km | isolation_mi | isolation_parent | isolation_ref | label | label_position | language | last_eruption | length | length_km | length_mi | length_note | length_orientation | listing | location | map | map_alt | map_caption | map_image | map_relief | map_size | map_width | mapsize | misc | module | name | native_name | native_name_lang | nickname | normal_route | orogeny | other_name | parent | parent_peak | period | period1 | photo | photo_alt | photo_caption | photo_size | photo_width | prominence | prominence_ft | prominence_m | prominence_ref | pronunciation | range | range_coordinates | range_coordinates_note | range_coords | region | region_type | region1 | region10 | region11 | region12 | region13 | region14 | region15 | region16 | region17 | region18 | region19 | region2 | region20 | region21 | region22 | region23 | region3 | region4 | region5 | region6 | region7 | region8 | region9 | state | state_type | state1 | state10 | state11 | state12 | state13 | state14 | state15 | state16 | state17 | state18 | state2 | state3 | state4 | state5 | state6 | state7 | state8 | state9 | topo | topo_maker | topo_map | translation | type | volcanic_arc | volcanic_arc/belt | volcanic_belt | volcanic_field | volume | volume_km3 | volume_mi3 | volume_note | width | width_km | width_mi | width_note | width_orientation  
}}{{#ifeq:{{{x|}}}{{{y|}}}{{{x%|¶}}}{{{y%|}}}|¶¶¶¶||[[Category:Pages using Template:Infobox map needing attention]]
}}{{#if:{{{map|}}}|{{#ifexist:Module:Location map/data/{{#invoke:string|replace|{{{map|}}}|#.*||plain=false}}||{{#ifexist:Template:Location map {{#invoke:string|replace|{{{map|}}}|#.*||plain=false}}||[[Category:Pages using infobox mountain pass with unknown parameters|Σ{{PAGENAME}}]]}}}}
}}<!--
}}<!--
-->{{Wikidata image |1={{{image|}}} }}<noinclude><!--
-->{{Wikidata image |1={{{image|}}} }}<noinclude><!--
   PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS
   PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS
-->{{documentation}}</noinclude>
-->{{documentation}}</noinclude>

Revision as of 15:54, 19 June 2017