Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Hike395
slightly enlarge map
meta>Hike395
more rational handling of other_name, native_name, native_name_lang, language parameters
Line 14: Line 14:
| captionstyle = padding: 0.2em 0em;
| captionstyle = padding: 0.2em 0em;


| subheader  = {{ifempty|{{{other_name|}}}| {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}} }}
| subheaderclass = nickname
| subheader  = {{{other_name|}}}


| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{ifempty|{{{photo_width|}}}|{{{photo_size|}}}|frameless}}|upright={{{photo_upright|1.21}}}|maxsize=300px|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|}}}}}
Line 100: Line 101:
                 -->{{#if:{{{volume_note|}}}|&thinsp;{{{volume_note}}} }} }}
                 -->{{#if:{{{volume_note|}}}|&thinsp;{{{volume_note}}} }} }}


| header15 = {{#if:{{{etymology|}}}{{{nickname|}}}{{#if:{{{other_name|}}}|{{{native_name|}}} }}{{{translation|}}}{{{pronunciation|}}}|Naming|}}
| header15 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{native_name|}}}{{{translation|}}}{{{language|}}}{{{native_name_lang|}}}{{{pronunciation|}}}|Naming|}}


| label16  = [[Etymology]]
| label16  = [[Etymology]]
| data16  = {{{etymology|}}}
| data16  = {{{etymology|}}}


| class17 = nickname
| label17  = [[Nickname]]
| label17  = [[Nickname]]
| data17  = {{{nickname|}}}
| data17  = {{{nickname|}}}


| class18 = nickname
| label18  = Native name
| label18  = Native name
| data18  = {{#if:{{{other_name|}}}|{{{native_name|}}} }}
| data18  = {{#if:{{{native_name|}}}|<!--
                -->{{TryCatch|{{native_name|{{{native_name_lang|}}}|{{{native_name}}}}}|<!--
                      -->{{#if:{{{language|}}}|<!--
                          -->{{TryCatch|{{native_name|{{ISO 639 code-3|{{{language}}}}}|{{{native_name}}}}}|<!--
                                -->{{lang|und|{{{native_name}}}}}&#32;{{small|({{{language}}})}}}}|<!--
                          -->{{#if:{{Detect singular|{{{native_name}}}}}|<!--
                                -->{{lang|und|{{{native_name}}}}}|<!--
                                -->{{{native_name}}}}}}}}}}}


| label19  = Translation
| label19  = English translation
| data19    = {{#if:{{{translation|}}}| ''{{{translation|}}}''<!--
| data19    = {{{translation|}}}
            -->{{#if:{{{language|}}}|&#32;({{{language|}}}) }} }}


| label20  = Pronunciation
| label20  = Language of name
| data20    = {{{pronunciation|}}}
| data20    = {{#if:{{{native_name|}}}||<!--
                  -->{{#if:{{{language|}}}|{{{language}}}|<!--
                      -->{{#if:{{{native_name_lang|}}}|{{llname|{{{native_name_lang|}}}}}}}}}}}


| label21  = Defining authority
| label21   = Pronunciation
| data21   = {{{authority|}}}
| data21    = {{{pronunciation|}}}
 
| label22 = Defining authority
| data22   = {{{authority|}}}


| header25 = {{#if:{{#if:{{{photo|}}}|{{{map|}}} }}<!--
| header25 = {{#if:{{#if:{{{photo|}}}|{{{map|}}} }}<!--

Revision as of 14:33, 13 February 2019

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