Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Hike395
m Reverted edits by Hike395 (talk) to last version by Frietjes
meta>Hike395
adjust photo and map sizes somewhat (map a little smaller than photo by default)
Line 16: Line 16:
| subheader  = {{ifempty|{{{other_name|}}}| {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}} }}
| subheader  = {{ifempty|{{{other_name|}}}| {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}} }}


| 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|}}}}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{ifempty|{{{photo_width|}}}|{{{photo_size|}}}|frameless}}|upright={{{photo_upright|1.21}}}|maxsize=300px|alt={{{photo_alt|}}}}}
| caption    = {{{photo_caption|}}}
| caption    = {{{photo_caption|}}}


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|}}}}}{{#switch:{{{map_caption|}}}|none|=|#default=<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.13}}}|maxsize=288px|alt={{{map_alt|}}}}}{{#switch:{{{map_caption|}}}|none|=|#default=<div>{{{map_caption}}}</div>}}  
                   </div>}}
                   </div>}}
             }}
             }}

Revision as of 02:20, 26 November 2018

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