Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Frietjes
meta>Frietjes
add optional upright parameters
Line 16: Line 16:
| subheader  = {{ifempty|{{{other_name|}}}| {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}} }}
| subheader  = {{ifempty|{{{other_name|}}}| {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}} }}


| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{ifempty|{{{photo_width|}}}|{{{photo_size|}}}|frameless}}|sizedefault=frameless|upright=1.25|maxsize=280px|alt={{{photo_alt|}}}}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{ifempty|{{{photo_width|}}}|{{{photo_size|}}}|frameless}}|sizedefault=frameless|upright={{{photo_upright|1.25}}}|maxsize=280px|alt={{{photo_alt|}}}}}
| caption    = {{{photo_caption|}}}
| caption    = {{{photo_caption|}}}


Line 34: Line 34:
             </div>
             </div>
             | {{#if:{{{map_image|{{{image_map|}}}}}}  
             | {{#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 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={{{map_upright|1.25}}}|maxsize=280px|alt={{{map_alt|}}}}}{{#if:{{{map_caption|}}}|<div>{{{map_caption}}}</div>}}  
                   </div>}}
                   </div>}}
             }}
             }}
Line 218: 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 | border8 | 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  
}}{{#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 | border8 | 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_upright | 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_upright | 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  
}}{{#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}}]]}}}}
}}{{#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}}]]}}}}
}}<!--
}}<!--

Revision as of 13:07, 21 June 2017