Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Hike395
oops, forgot the climbing rows
meta>Freakofnurture
cleanup by converting to #if:
Line 2: Line 2:
|-
|-
! bgcolor=#e7dcc3 colspan=2 | {{{Name}}}
! bgcolor=#e7dcc3 colspan=2 | {{{Name}}}
{{qif|test={{{Photo|}}}|then=<tr><td style="border-top:1px solid #999966; text-align: center;" colspan=2>[[Image:{{{Photo}}}|300px]]<br />{{{Caption|}}}</td></tr>}}
{{#if:|{{{Photo|}}}|<tr><td style="border-top:1px solid #999966; text-align: center;" colspan=2>[[Image:{{{Photo}}}|300px]]<br />{{{Caption|}}}</td></tr>}}
|-  
|-  
| style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px" | [[Topographical summit|Elevation]]:
| style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px" | [[Topographical summit|Elevation]]:
Line 9: Line 9:
| style="border-top: 1px solid #999966; border-right: 1px solid #999966; background: #e7dcc3; width: 85px" | Location:
| 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}}}
| style="border-top: 1px solid #999966; width: 220px" | {{{Location}}}
{{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>}}<!--
{{#if:|{{{Range|}}}|<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>}}<!--
-->{{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>}}<!--
-->{{#if:|{{{Prominence|}}}|<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>}}<!--
-->{{#if:|{{{Coordinates|}}}|<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>}}<!--
-->{{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>}}<!--
-->{{#if:|{{{Topographic map|}}}|<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>}}<!--
-->{{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>}}<!--
-->{{#if:|{{{Type|}}}|<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>}}<!--
-->{{#if:|{{{Age|}}}|<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>}}<!--
-->{{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>}}<!--
-->{{#if:|{{{Last eruption|}}}|<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>}}<!--
-->{{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>}}<!--
-->{{#if:|{{{First ascent|}}}|<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>}}<!--
-->{{#if:|{{{Easiest route|}}}|<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>}}<!--
-->{{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>}}<!--
-->{{#if:|{{{Grid_ref_uk|}}}|<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>}}<!--
-->{{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>}}<!--
-->{{#if:|{{{Grid_ref_ireland|}}}|<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>}}<!--
-->{{#if:|{{{Listing|}}}|<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>}}<!--
-->{{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>}}<!--
-->{{#if:|{{{Translation|}}}|<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>}}<!--
-->{{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>}}
-->{{#if:|{{{Pronunciation|}}}|<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>}}
|}<noinclude>
|}<noinclude>
==Usage==
==Usage==
Line 47: Line 47:
| Pronunciation =  
| Pronunciation =  
}}</pre>
}}</pre>
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Infobox templates|Mountain]]
[[Category:Infobox templates|Mountain]]
</noinclude>
</noinclude>

Revision as of 09:35, 19 April 2006

{{{Name}}}
[[Image:{{{Photo}}}|300px]]
Elevation: {{{Elevation}}}
Location: {{{Location}}}
Range:
Prominence:
Coordinates:
Topo map:
Type:
Age of rock:
Last eruption:
First ascent:
Easiest route:
OS grid reference:
OSI/OSNI grid reference:{{{Grid_ref_ireland}}}
Listing:
Translation of name:' ()
Pronunciation:/{{{Pronunciation}}}/

Usage

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