Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
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
meta>Hike395
simply: marksize was always in range 15-17px, just use 16px and make template simpler
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 = {{min|{{#iferror:{{#expr:({{ifempty|{{{map_width|}}}|{{{map_size|}}}|248}}/17.0) round 0}}|16}}|16}}
                 | marksize = 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 22:26, 9 December 2017

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