Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Ligulem
cat
meta>Locke Cole
replacing with code from User:Locke Cole/Template:Infobox Mountain (template not currently in use)
Line 1: Line 1:
{| border=1 bgcolor=#ffffff cellpadding=5 align=right width=305 style="margin: 0 0 1em 1em; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 95%;"
{| cellpadding="5" cellspacing=0 style="border: 1px solid #999966; float: right; clear: right; margin-left: 1em; margin-bottom: 0.5em; background: #ffffff; width: 305px"
!bgcolor=#e7dcc3 colspan=2|{{{name}}}
|-
|-
| align=center colspan=2 |
! bgcolor=#e7dcc3 colspan=2 | {{{Name}}}
{| style=background:#f9f9f9; border=0 cellpadding=2 cellspacing=0
{{qif|test={{{Photo|}}}|then=<tr><td style="border-top:1px solid #999966; text-align: center;" colspan=2>[[Image:{{{Photo}}}|300px]]<br />{{{Caption|}}}</td></tr>}}
|- align=center
|-  
| [[Image:{{{image}}}|300px]]
| style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px" | [[Topographical summit|Elevation]]:
|- align=center
| style="border-top: 1px solid #999966; width: 220px" | {{{Elevation}}}
| <small>{{{caption}}}</small>
|-  
|}
| style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px" | Location:
|-
| style="border-top: 1px solid #999966; width: 220px" | {{{Location}}}
|bgcolor=#e7dcc3| '''[[Coordinates]]'''
{{qif|test={{{Range|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">[[Mountain range|Range]]:</td><td style="border-top: 1px solid #999966; width: 220px">{{{Range|}}}</td></tr>}}<!--
| {{{coor dms}}}
-->{{qif|test={{{Prominence|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">[[Topographic prominence|Prominence]]:</td><td style="border-top: 1px solid #999966; width: 220px">{{{Prominence|}}}</td></tr>}}<!--
|-
-->{{qif|test={{{Coordinates|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">[[Geographic coordinate system|Coordinates]]:</td><td style="border-top: 1px solid #999966; width: 220px">{{{Coordinates|}}}</td></tr>}}<!--
|bgcolor=#e7dcc3| '''[[Latitude]]'''
-->{{qif|test={{{Topographic map|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">[[Topographic map|Topo map]]:</td><td style="border-top: 1px solid #999966; width: 220px">{{{Topographic map|}}}</td></tr>}}<!--
| {{{latitude}}}
-->{{qif|test={{{Type|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">[[List of mountain types|Type]]:</td><td style="border-top: 1px solid #999966; width: 220px">{{{Type|}}}</td></tr>}}<!--
|-
-->{{qif|test={{{Age|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">[[Geologic time scale|Age of rock]]:</td><td style="border-top: 1px solid #999966; width: 220px">{{{Age|}}}</td></tr>}}<!--
|bgcolor=#e7dcc3| '''[[Longitude]]'''
-->{{qif|test={{{Last eruption|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">[[Volcano|Last eruption]]:</td><td style="border-top: 1px solid #999966; width: 220px">{{{Last eruption|}}}</td></tr>}}<!--
| {{{longitude}}}
-->{{qif|test={{{First ascent|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">[[First ascent]]:</td><td style="border-top: 1px solid #999966; width: 220px">{{{First ascent|}}}</td></tr>}}<!--
|-
-->{{qif|test={{{Easiest route|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">Easiest [[Climbing route|route]]:</td><td style="border-top: 1px solid #999966; width: 220px">{{{Easiest route|}}}</td></tr>}}<!--
|bgcolor=#e7dcc3| '''[[Geographical location|Location]]'''
-->{{qif|test={{{Grid_ref_uk|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">[[British national grid reference system|OS grid reference]]:</td><td style="border-top: 1px solid #999966; width: 220px">{{gbm4ibx|{{{Grid_ref_uk|}}}}}</td></tr>}}<!--
| style="white-space: nowrap;" | {{{location}}}
-->{{qif|test={{{Grid_ref_ireland|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">[[Irish national grid reference system|OSI/OSNI grid reference]]:</td><td style="border-top: 1px solid #999966; width: 220px">[http://getamap.ordnancesurvey.co.uk/getamap/frames.htm?mapAction=gaz&gazName=g&gazString={{{Grid_ref_ireland|}}} {{{Grid_ref_ireland}}}]</td></tr>}}<!--
|-
-->{{qif|test={{{Listing|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">[[Peak bagging#In the British Isles|Listing]]:</td><td style="border-top: 1px solid #999966; width: 220px">{{{Listing|}}}</td></tr>}}<!--
|bgcolor=#e7dcc3| '''[[Mountain_range|Range]]'''
-->{{qif|test={{{Translation|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">Translation of name:</td><td style="border-top: 1px solid #999966; width: 220px">''{{{Translation|}}}'' ({{{Language|}}})</td></tr>}}<!--
| {{{range}}}
-->{{qif|test={{{Pronunciation|}}}|then=<tr><td style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px">[[International Phonetic Alphabet|Pronunciation]]:</td><td style="border-top: 1px solid #999966; width: 220px">{{IPA|/{{{Pronunciation}}}/}}</td></tr>}}
|-
|bgcolor=#e7dcc3| '''[[List_of_mountain_types|Type]]'''
| {{{type}}}
|-
|bgcolor=#e7dcc3| '''[[Geologic time scale|Age of Rock]]'''
| {{{age}}}
|-
|bgcolor=#e7dcc3| '''[[First Ascent]]'''
| {{{first}}}
|-
|bgcolor=#e7dcc3| '''Easiest [[Climbing_route|Route]]'''
| style="white-space: nowrap;" | {{{easiest}}}  
|-
|bgcolor=#e7dcc3| '''Last [[Volcanic eruption|Eruption]]'''
| {{{eruption}}}  
|}<noinclude>
|}<noinclude>
 
==Usage==
[[Category:Infobox templates|Mountain]]
<pre>{{Infobox Mountain
| Name =
| Photo =
| Caption =
| Elevation =
| Location =
| Range =
| Prominence =
| Coordinates =
| Topographic map =
| Type =
| Age =
| Last eruption =
| Grid_ref_uk =
| Grid_ref_ireland =
| Listing =
| Translation =
| Language =
| Pronunciation =
}}</pre>
</noinclude>
</noinclude>

Revision as of 22:25, 2 April 2006

{{{Name}}}

Template:Qif

Elevation: {{{Elevation}}}
Location: {{{Location}}}

Template:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:Qif

Usage

{{Infobox Mountain
| Name = 
| Photo = 
| Caption = 
| Elevation =
| Location = 
| Range = 
| Prominence = 
| Coordinates = 
| Topographic map = 
| Type = 
| Age = 
| Last eruption = 
| Grid_ref_uk = 
| Grid_ref_ireland = 
| Listing = 
| Translation = 
| Language = 
| Pronunciation = 
}}