Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jonesey95
Fix small per MOS:FONTSIZE
meta>Hike395
to prevent orphaned citations: use nowrap thin spaces, allow wrapping of most labels, widen box by 1em. Test cases look better.
Line 2: Line 2:
| child      = {{{child|}}}
| child      = {{{child|}}}
| bodyclass  = vcard
| bodyclass  = vcard
| bodystyle  = line-height:normal; width:23.5em;
| bodystyle  = line-height:normal; width:24.5em;


| abovestyle  = background-color: #e7dcc3;
| abovestyle  = background-color: #e7dcc3;
Line 9: Line 9:


| headerstyle = background-color: #e7dcc3;
| headerstyle = background-color: #e7dcc3;
| labelstyle  = padding: 0.2em 0.4em 0.2em 0em; vertical-align:text-bottom; white-space: nowrap;
| labelstyle  = padding: 0.2em 0.4em 0.2em 0em; vertical-align:text-bottom;
| datastyle  = padding: 0.2em 0em; vertical-align:text-top;
| datastyle  = padding: 0.2em 0em; vertical-align:text-top;
| imagestyle  = padding: 0.2em 0.2em 0.2em 0.2em;
| imagestyle  = padding: 0.2em 0.2em 0.2em 0.2em;
Line 48: Line 48:
| data4    = {{#if:{{{elevation|}}}|{{{elevation|}}}
| data4    = {{#if:{{{elevation|}}}|{{{elevation|}}}
             | {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}|{{convert|input=P2044}}}}}}<!--
             | {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}|{{convert|input=P2044}}}}}}<!--
             -->{{#if:{{{elevation_note|}}}{{{elevation_ref|}}}|&thinsp;{{if empty|{{{elevation_note|}}}|{{{elevation_ref|}}} }} }}<!--
             -->{{#if:{{{elevation_note|}}}{{{elevation_ref|}}}|&#8239;{{if empty|{{{elevation_note|}}}|{{{elevation_ref|}}} }} }}<!--
             -->{{#if:{{{elevation_system|}}}|&#32;{{{elevation_system}}}}}
             -->{{#if:{{{elevation_system|}}}|&#32;{{{elevation_system}}}}}


Line 54: Line 54:
| data5    = {{#if:{{{prominence|}}}|{{{prominence|}}}
| data5    = {{#if:{{{prominence|}}}|{{{prominence|}}}
             |{{#if:{{{prominence_m|}}}{{{prominence_ft|}}}|{{convinfobox|{{{prominence_m|}}}|m|{{{prominence_ft|}}}|ft}}|{{convert|input=P2660}}}}}}<!--
             |{{#if:{{{prominence_m|}}}{{{prominence_ft|}}}|{{convinfobox|{{{prominence_m|}}}|m|{{{prominence_ft|}}}|ft}}|{{convert|input=P2660}}}}}}<!--
             -->{{#if:{{{prominence_ref|}}}|&thinsp;{{{prominence_ref}}} }}
             -->{{#if:{{{prominence_ref|}}}|&#8239;{{{prominence_ref}}} }}


| label6  = [[Topographic isolation|Isolation]]
| label6  = [[Topographic isolation|Isolation]]
Line 60: Line 60:
             |{{#if:{{{isolation_km|}}}{{{isolation_mi|}}}|{{convinfobox|{{{isolation_km|}}}|km|{{{isolation_mi|}}}|mi}}|{{convert|input=P2659}}}}}}<!--
             |{{#if:{{{isolation_km|}}}{{{isolation_mi|}}}|{{convinfobox|{{{isolation_km|}}}|km|{{{isolation_mi|}}}|mi}}|{{convert|input=P2659}}}}}}<!--
             -->{{#if:{{{isolation_parent|}}}|<br/>to {{{isolation_parent}}} }}<!--
             -->{{#if:{{{isolation_parent|}}}|<br/>to {{{isolation_parent}}} }}<!--
             -->{{#if:{{{isolation_ref|}}}|&thinsp;{{{isolation_ref}}} }}
             -->{{#if:{{{isolation_ref|}}}|&#8239;{{{isolation_ref}}} }}


| label7  = [[Topographic prominence#Prominence parentage|Parent peak]]
| label7  = [[Topographic prominence#Prominence parentage|Parent peak]]
Line 71: Line 71:
| label9  = [[Geographic coordinate system|Coordinates]]
| label9  = [[Geographic coordinate system|Coordinates]]
| data9    = {{#if:{{{coordinates|}}}{{{coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{coordinates|}}}|{{{coords|}}}}}|type:mountain|{{#if:{{{range_coordinates|}}}||{{#if:{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}{{{area_mi2|}}}{{{area_km2|}}}|dim:{{Infobox dim|length_km={{{length_km|}}}|length_mi={{{length_mi|}}}|width_km={{{width_km|}}}|width_mi={{{width_mi|}}}|area_mi2={{{area_mi2|}}}|area_km2={{{area_km2|}}}}}}}}}}}<!--
| data9    = {{#if:{{{coordinates|}}}{{{coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{coordinates|}}}|{{{coords|}}}}}|type:mountain|{{#if:{{{range_coordinates|}}}||{{#if:{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}{{{area_mi2|}}}{{{area_km2|}}}|dim:{{Infobox dim|length_km={{{length_km|}}}|length_mi={{{length_mi|}}}|width_km={{{width_km|}}}|width_mi={{{width_mi|}}}|area_mi2={{{area_mi2|}}}|area_km2={{{area_km2|}}}}}}}}}}}<!--
     -->&thinsp;{{if empty|{{{coordinates_note|}}}|{{{coordinates_ref|}}}|{{{coords_ref|}}} }} }}
     -->&#8239;{{if empty|{{{coordinates_note|}}}|{{{coordinates_ref|}}}|{{{coords_ref|}}} }} }}


| header10  = {{#if:{{{length|}}}{{{length_km|}}}{{{length_mi|}}}{{{width|}}}{{{width_km|}}}{{{width_mi|}}}{{{area|}}}{{{area_km2|}}}{{{area_mi2|}}}|Dimensions}}
| header10  = {{#if:{{{length|}}}{{{length_km|}}}{{{length_mi|}}}{{{width|}}}{{{width_km|}}}{{{width_mi|}}}{{{area|}}}{{{area_km2|}}}{{{area_mi2|}}}|Dimensions}}
Line 80: Line 80:
             -->{{#if:{{{length_km|}}}{{{length_mi|}}}{{{length|}}}|<!--
             -->{{#if:{{{length_km|}}}{{{length_mi|}}}{{{length|}}}|<!--
                 -->{{#if:{{{length_orientation|}}}|&#32;{{{length_orientation}}} }}<!--
                 -->{{#if:{{{length_orientation|}}}|&#32;{{{length_orientation}}} }}<!--
                 -->{{#if:{{{length_note|}}}|&thinsp;{{{length_note}}} }} }}
                 -->{{#if:{{{length_note|}}}|&#8239;{{{length_note}}} }} }}


| label12  = Width
| label12  = Width
Line 87: Line 87:
             -->{{#if:{{{width_km|}}}{{{width_mi|}}}{{{width|}}}<!--
             -->{{#if:{{{width_km|}}}{{{width_mi|}}}{{{width|}}}<!--
                 -->|{{#if:{{{width_orientation|}}}|&#32;{{{width_orientation}}} }}<!--
                 -->|{{#if:{{{width_orientation|}}}|&#32;{{{width_orientation}}} }}<!--
                 -->{{#if:{{{width_note|}}}|&thinsp;{{{width_note}}} }} }}
                 -->{{#if:{{{width_note|}}}|&#8239;{{{width_note}}} }} }}


| label13  = Area
| label13  = Area
Line 93: Line 93:
             -->{{convinfobox|{{{area_km2|}}}|km2|{{{area_mi2|}}}|mi2}} }} }}<!--
             -->{{convinfobox|{{{area_km2|}}}|km2|{{{area_mi2|}}}|mi2}} }} }}<!--
             -->{{#if:{{{area_km2|}}}{{{area_mi2|}}}{{{area|}}}|<!--
             -->{{#if:{{{area_km2|}}}{{{area_mi2|}}}{{{area|}}}|<!--
                 -->{{#if:{{{area_note|}}}|&thinsp;{{{area_note}}} }} }}
                 -->{{#if:{{{area_note|}}}|&#8239;{{{area_note}}} }} }}


| label14  = Volume
| label14  = Volume
Line 99: Line 99:
             -->{{convinfobox|{{{volume_km3|}}}|km3|{{{volume_mi3|}}}|mi3}} }} }}<!--
             -->{{convinfobox|{{{volume_km3|}}}|km3|{{{volume_mi3|}}}|mi3}} }} }}<!--
             -->{{#if:{{{volume_km3|}}}{{{volume_km3|}}}{{{volume|}}}|<!--
             -->{{#if:{{{volume_km3|}}}{{{volume_km3|}}}{{{volume|}}}|<!--
                 -->{{#if:{{{volume_note|}}}|&thinsp;{{{volume_note}}} }} }}
                 -->{{#if:{{{volume_note|}}}|&#8239;{{{volume_note}}} }} }}


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


| label34  = [[Geographic coordinate system|Range coordinates]]
| label34  = [[Geographic coordinate system|Range coordinates]]
| data34    = {{#if:{{{range_coordinates|}}}{{{range_coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{range_coordinates|}}}|{{{range_coords|}}}}}|type:mountain|{{#if:{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}{{{area_mi2|}}}{{{area_km2|}}}|dim:{{Infobox dim|length_km={{{length_km|}}}|length_mi={{{length_mi|}}}|width_km={{{width_km|}}}|width_mi={{{width_mi|}}}|area_mi2={{{area_mi2|}}}|area_km2={{{area_km2|}}}}}}}}}}}{{#if:{{{range_coordinates_note|}}}|&thinsp;{{{range_coordinates_note}}} }}
| data34    = {{#if:{{{range_coordinates|}}}{{{range_coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{range_coordinates|}}}|{{{range_coords|}}}}}|type:mountain|{{#if:{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}{{{area_mi2|}}}{{{area_km2|}}}|dim:{{Infobox dim|length_km={{{length_km|}}}|length_mi={{{length_mi|}}}|width_km={{{width_km|}}}|width_mi={{{width_mi|}}}|area_mi2={{{area_mi2|}}}|area_km2={{{area_km2|}}}}}}}}}}}{{#if:{{{range_coordinates_note|}}}|&#8239;{{{range_coordinates_note}}} }}


| class35  = category
| class35  = category
| label35  = [[Mountain range|Parent range]]
| label35  = [[Mountain range|{{nowrap|Parent range}}]]
| data35  = {{{parent|{{{range|}}}}}}
| data35  = {{{parent|{{{range|}}}}}}


Line 225: Line 225:
| data51  = {{{first_ascent|}}}
| data51  = {{{first_ascent|}}}


| label52  = [[Normal route|Easiest route]]
| label52  = [[Normal route|{{nowrap|Easiest route}}]]
| data52  = {{{easiest_route|}}}
| data52  = {{{easiest_route|}}}



Revision as of 05:38, 5 March 2020

ElevationP2044
ProminenceP2660
IsolationP2659