Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Wikid77
fix elevation conversion precision for either m/ft as parameter "|0" with Template:Convinfobox (for elevations ending in "0"); put HISTORY comments to log changes.
meta>Hike395
Reverted good faith edits by Wikid77 (talk): Rv: elevations ending in 0 may not be precise to 1 ft. please discuss at talk. (TW)
Line 45: Line 45:
| label4  = [[Summit|Elevation]]
| label4  = [[Summit|Elevation]]
| data4    = {{#if:{{{elevation|}}} | {{{elevation|}}}
| data4    = {{#if:{{{elevation|}}} | {{{elevation|}}}
             | {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft|0}}|{{convert|input=P2044}} }}}}<!--
             | {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}|{{convert|input=P2044}} }}}}<!--
             -->{{#if:{{{elevation_note|}}}{{{elevation_ref|}}} | &thinsp;{{ifempty|{{{elevation_note|}}}|{{{elevation_ref|}}} }} }}<!--
             -->{{#if:{{{elevation_note|}}}{{{elevation_ref|}}} | &thinsp;{{ifempty|{{{elevation_note|}}}|{{{elevation_ref|}}} }} }}<!--
             -->{{#if:{{{elevation_system|}}}|&#32;<span style="font-size:80%;">{{{elevation_system}}}</span>}}
             -->{{#if:{{{elevation_system|}}}|&#32;<span style="font-size:80%;">{{{elevation_system}}}</span>}}
Line 228: Line 228:
}}}}
}}}}
}}{{Wikidata image |1={{{photo|}}}  
}}{{Wikidata image |1={{{photo|}}}  
}}<noinclude><!--
}}<noinclude>
--------------------------------------------
-HISTORY:
-10Feb2005 Created to handle mountains.
-02Jul2008 Convert elevation: {convinfobox}.
-02Jul2017 Put HISTORY to log major changes.
-02Jul2017 Fix elevation precision m/ft "|0"
-->
{{documentation}}<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS -->
{{documentation}}<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Revision as of 15:50, 2 July 2017

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