Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Hike395
restore old (c. 2010, from Droll) default widths and max sizes
meta>Frietjes
more robust version (use map_width and map_size per the width parameter above) and use default_width value for determining the default marksize
Line 28: Line 28:
                 | caption = {{ifempty|{{{map_caption|}}}|{{{location|}}} }}
                 | caption = {{ifempty|{{{map_caption|}}}|{{{location|}}} }}
                 | mark = Red triangle with thick white border.svg
                 | mark = Red triangle with thick white border.svg
                 | marksize = {{least|{{#expr:({{{map_size|}}}/17.0) round 0}}|16}}
                 | marksize = {{min|{{#iferror:{{#expr:({{ifempty|{{{map_width|}}}|{{{map_size|}}}|248}}/17.0) round 0}}|16}}|16}}
                 | relief = {{#ifeq:{{{map_relief|{{{relief|}}}}}}|0||1}}
                 | relief = {{#ifeq:{{{map_relief|{{{relief|}}}}}}|0||1}}
                 | label = {{ifempty|{{{label|}}}|{{#if:{{{range_coordinates|}}}||{{{name|}}} }} }}
                 | label = {{ifempty|{{{label|}}}|{{#if:{{{range_coordinates|}}}||{{{name|}}} }} }}

Revision as of 16:21, 4 December 2017

Template:Ifempty
ElevationP2044
ProminenceP2660
IsolationP2659
Topo mapTemplate:Ifempty
Age of rockTemplate:Ifempty
Template:Ifempty