Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>WOSlinker
tag fix
meta>Frietjes
add for Mount Pinos to avoid {{sp}} hack to suppress caption
Line 26: Line 26:
                 | max_width = 288
                 | max_width = 288
                 | width = {{ifempty|{{{map_width|}}}|{{{map_size|}}} }}
                 | width = {{ifempty|{{{map_width|}}}|{{{map_size|}}} }}
                 | caption = {{ifempty|{{{map_caption|}}}|{{{location|}}} }}
                 | caption = {{#switch:{{{map_caption|}}}|none=|#default={{ifempty|{{{map_caption|}}}|{{{location|}}} }} }}
                 | mark = Red triangle with thick white border.svg
                 | mark = Red triangle with thick white border.svg
                 | marksize = 16
                 | marksize = 16
Line 35: Line 35:
             </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={{{map_upright|1.25}}}|maxsize=288px|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=288px|alt={{{map_alt|}}}}}{{#switch:{{{map_caption|}}}|none|=|#default=<div>{{{map_caption}}}</div>}}  
                   </div>}}
                   </div>}}
             }}
             }}

Revision as of 15:39, 17 January 2018

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