Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Hike395
Use convinfobox to handle all unit conversions
meta>Hike395
Enable isolation_parent parameter, fix vertical alignment of data with superscript refs
Line 12: Line 12:


| headerstyle = background-color: #e7dcc3;
| headerstyle = background-color: #e7dcc3;
| labelstyle  = padding: 0.2em 0.4em 0.2em 0em; white-space: nowrap;
| labelstyle  = padding: 0.2em 0.4em 0.2em 0em; white-space: nowrap; vertical-align:text-bottom;
| datastyle  = padding: 0.2em 0em;
| datastyle  = padding: 0.2em 0em; vertical-align:text-top;


| subheader  = {{ifempty|{{{other_name|}}}|{{{native_name|}}}}}
| subheader  = {{ifempty|{{{other_name|}}}|{{{native_name|}}}}}
Line 47: Line 47:


| label3  = [[Topographic isolation|Isolation]]
| label3  = [[Topographic isolation|Isolation]]
| data3    = {{#if:{{{isolation|}}}|{{{isolation|}}}|{{convinfobox|{{{isolation_km|}}}|km|{{{isolation_mi|}}}|mi}} }}{{{isolation_ref|}}}
| data3    = {{#if:{{{isolation|}}}|{{{isolation|}}}|{{convinfobox|{{{isolation_km|}}}|km|{{{isolation_mi|}}}|mi}} }}{{#if:{{{isolation_parent|}}}|<br/>to {{{isolation_parent}}}}}{{{isolation_ref|}}}


| label4  = [[Topographic prominence|Prominence]]
| label4  = [[Topographic prominence|Prominence]]

Revision as of 10:53, 23 August 2014

Template:Ifempty
Template:Ifempty
CoordinatesTemplate:IfemptyTemplate:Ifempty
Template:Ifempty