Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jonesey95
restore standard ignoreblank now that category is empty
meta>Hike395
restore old (c. 2010, from Droll) default widths and max sizes
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={{{photo_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=288px|alt={{{photo_alt|}}}}}
| caption    = {{{photo_caption|}}}
| caption    = {{{photo_caption|}}}


Line 23: Line 23:
                 | border = infobox | float = center
                 | border = infobox | float = center
                 | alt = {{{map_alt|}}}
                 | alt = {{{map_alt|}}}
                 | default_width = 272
                 | default_width = 248
                | max_width = 288
                 | width = {{ifempty|{{{map_width|}}}|{{{map_size|}}} }}
                 | width = {{ifempty|{{{map_width|}}}|{{{map_size|}}} }}
                 | caption = {{ifempty|{{{map_caption|}}}|{{{location|}}} }}
                 | caption = {{ifempty|{{{map_caption|}}}|{{{location|}}} }}
Line 34: 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=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=288px|alt={{{map_alt|}}}}}{{#if:{{{map_caption|}}}|<div>{{{map_caption}}}</div>}}  
                   </div>}}
                   </div>}}
             }}
             }}

Revision as of 16:32, 3 December 2017

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