Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Kwamikagami
most of these are not IPA
meta>RedWolf
main template called by {{Infobox mountain}} for parameter name compatibility migration; copied from {{Infobox mountain/sandbox2}}
Line 1: Line 1:
{| cellpadding="5" cellspacing="0" class="infobox geography vcard" style="border:1px solid #999966; float:right; clear:right; margin-left:0.75em; margin-top:0.75em; margin-bottom:0.75em; background:#ffffff; width:305px; font-size:95%;"
{{infobox
|- class="fn org"
| bodyclass  = vcard infobox
! style="text-align:center; background:#e7dcc3; font-size:110%;" colspan="2"| {{{Name}}}
| bodystyle  = line-height: normal; font-size:95%; border-spacing:2px
|-
| abovestyle  = background-color: #e7dcc3
{{#if:{{{Photo|}}}|
| aboveclass  =  
{{!}} style="border-top:1px solid #999966; font-size:95%; text-align:center;" colspan="2"; colspan="2" {{!}} [[Image:{{{Photo}}}| {{ #if: {{{Photo size|}}} | {{#iferror: {{#expr:{{{Photo size}}} * 1}}|{{{Photo size}}}[[Category:Mountain articles requiring maintenance]]|{{{Photo size}}}px}} | 285px }}]]<br />{{{Caption|}}}
| labelstyle  = white-space: nowrap; padding:4px; border:0; font-size:90%; vertical-align:text-top
{{!}}-
| datastyle  = padding:4px; border:0; vertical-align:text-top
}}<!-- ***** Pushpin Map ***** -->
| headerstyle = background-color: #e7dcc3
{{#if:{{{pushpin_map|}}}|
| above      = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
<tr class="mergedrow">
| subheader  = {{#if:{{{native_name|}}}|'''''{{{native_name}}}'''''{{#if:{{{alt_name|}}}|<br />}} }}{{{alt_name|}}}
<td colspan="2" align="center">
| subheaderrowclass1 = mergedtoprow
{{Location map|{{{pushpin_map|}}}
| imagerowclass1  = {{#if:{{{native_name|}}}{{{alt_name|}}}|mergedrow|mergedtoprow}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{Name|}}}|{{{Name}}}}} }}
| imagerowclass2  = mergedrow
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latd|}}} }} 
| image      = {{#if:{{{photo|}}}|[[Image:{{{photo|}}}|{{#if:{{{photo_size|}}}|{{{photo_size|}}}|288}}px|alt={{{photo_alt|}}}]]}}
|long = {{#if:{{{longm|}}}{{{longEW|}}}| |{{{longd|}}} }}
| caption    = {{{photo_caption|}}}
|lat_deg={{#if:{{{latm|}}}{{{latNS|}}}|{{{latd|}}}| }} 
| image2      = {{#if:{{{photo|}}}||{{#if:{{{map|}}}|{{Infobox mountain/map
|lat_min={{#if:{{{latm|}}}{{{latNS|}}}|{{{latm|}}}| }}
    | map = {{{map|}}} | label = {{{label|}}} | name = {{{name|}}}
|lat_sec={{#if:{{{lats|}}}{{{latNS|}}}|{{{lats|}}}| }}
    | lat_d = {{{lat_d|}}} | lat_m = {{{lat_m|}}} | lat_s = {{{lat_s|}}} | lat_NS = {{{lat_NS|}}}
|lat_dir={{#if:{{{latNS|}}}|{{{latNS|}}}| }}
    | long_d = {{{long_d|}}} | long_m = {{{long_m|}}} | long_s = {{{long_s|}}} | long_EW = {{{long_EW|}}}
|lon_deg={{#if:{{{longm|}}}{{{longEW|}}}|{{{longd|}}}| }}  
    | map_caption = {{{map_caption|}}} | map_border = {{{map_border|}}} | map_size = {{{map_size|}}}
|lon_min={{#if:{{{longm|}}}{{{longEW|}}}|{{{longm|}}}| }}
    | label_position = {{{label_position|}}} }} }} }}
|lon_sec={{#if:{{{longs|}}}{{{longEW|}}}|{{{longs|}}}| }}
 
|lon_dir={{#if:{{{longEW|}}}|{{{longEW|}}}| }}  
| attr2    = note
|float = none
| label2  = [[Summit (topography)|Elevation]]
|caption =
| data2    = {{{Elevation|}}}{{#if:{{{elevation_ref|}}}|&nbsp;{{{elevation_ref}}} }}
|mark=RedMountain.svg|marksize=16
 
|border = none
| attr3    = note
|position = {{#if:{{{pushpin_label_position|}}} | {{{pushpin_label_position|}}} | right }}
| label3  = [[Topographic prominence|Prominence]]
|width = {{#if:{{{pushpin_mapsize|}}}|{{{pushpin_mapsize|}}} | 250 }}
| data3    = {{{prominence|}}}{{#if:{{{prominence_ref|}}}|&nbsp;{{{prominence_ref}}}}}
}}{{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption|}}}</small>|{{#if:{{{map_caption|}}}|<small>{{{map_caption|}}}</small> }} }}
 
</td>
| attr4    = note
</tr>
| label4  = [[Topographic prominence#Prominence parentage|Parent peak]]
}}
| data4    = {{{parent_peak|}}}
|- class="note"
 
| style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3; width:85px;" | [[Summit (topography)|Elevation]]
| label5  = [[Lists of mountains|Listing]]
| style="border-top:1px solid #999966; width:220px;" | {{convinfobox|{{{Elevation_m|}}}|m|{{{Elevation_ft|}}}|ft}}{{{Elevation|}}}
| data5  = {{{listing|}}}
|-
 
{{#if:{{{Location|}}}|
| label6  = Translation
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Location
| data6  = {{#if:{{{translation|}}}| ''{{{translation|}}}''}}<!--
{{!}} class="label" style="border-top:1px solid #999966;" {{!}} {{{Location|}}}
              -->{{#if:{{{language|}}}|&#32;({{{language|}}})}}
{{!}}-
 
}}
| label7  = [[help:IPA|Pronunciation]]
{{#if:{{{Range|}}}|
| data7  = {{#if:{{{pronunciation|}}}|{{IPA|[{{{pronunciation|}}}]}} }}
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Mountain range|Range]]
 
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Range|}}}
| header8  = {{#if:{{#if:{{{photo|}}}|{{{map|}}}}}<!--
{{!}}-
              -->{{{location|}}}{{{range|}}}{{{lat_d|}}}{{{long_d|}}}{{{coordinates|}}}<!--
}}
              -->{{{topo|}}}{{{grid_ref_UK|}}}{{{grid_ref_Ireland|}}}|Location|}}
{{#if:{{{Prominence|}}}{{{Prominence_m|}}}{{{Prominence_ft|}}}|
 
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Topographic prominence|Prominence]]
| data9 = {{#if:{{{photo}}}|{{#if:{{{map|}}}|{{Infobox mountain/map
{{!}} style="border-top:1px solid #999966;" {{!}} {{convinfobox|{{{Prominence_m|}}}|m|{{{Prominence_ft|}}}|ft}}{{{Prominence|}}}
    | map = {{{map|}}} | label = {{{label|}}} | name = {{{name|}}}
{{!}}-
    | lat_d = {{{lat_d|}}} | lat_m = {{{lat_m|}}} | lat_s = {{{lat_s|}}} | lat_NS = {{{lat_NS|}}}
}}
    | long_d = {{{long_d|}}} | long_m = {{{long_m|}}} | long_s = {{{long_s|}}} | long_EW = {{{long_EW|}}}
{{#if:{{{Parent peak|}}}|
    | map_caption = {{{map_caption|}}} | map_border = {{{map_border|}}} | map_size = {{{map_size|}}}
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Topographic prominence#Prominence parentage|Parent peak]]
    | label_position = {{{label_position|}}} }} }} }}
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Parent peak|}}}
 
{{!}}-
| class10  = label
}}
| label10  = Location
{{#if:{{{lats|}}}|
| data10    = {{{location|}}}
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Geographic coordinate system|Coordinates]]
 
{{!}} style="border-top:1px solid #999966;" {{!}}{{coord|{{{latd|}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longd|}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|{{{coordinates_type|type:mountain{{#ifeq:{{{pushpin_map|}}}|Switzerland|_region:CH}}}}}|display=inline,title}}{{#if:{{{coordinates_ref|}}}|{{{coordinates_ref}}}}}
| attr11    = note
{{!}}-|
| label11  = [[Mountain range|Range]]
{{#if:{{{latm|}}}|
| data11    = {{{range|}}}
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Geographic coordinate system|Coordinates]]
 
{{!}} style="border-top:1px solid #999966;" {{!}}{{coord|{{{latd|}}}|{{{latm|}}}|{{{latNS|}}}|{{{longd|}}}|{{{longm|}}}|{{{longEW|}}}|{{{coordinates_type|type:mountain}}}|display=inline,title}}{{#if:{{{coordinates_ref|}}}|{{{coordinates_ref}}}}}
| label12  = [[Geographic coordinate system|Coordinates]]
{{!}}-|
| data12    = {{#if:{{{lat_d|}}}{{{long_d|}}}
{{#if:{{{latNS|}}}|
              |{{Infobox coord
{{#if:{{{latd|}}}|
                  | lat_d  = {{{lat_d|}}}
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Geographic coordinate system|Coordinates]]
                  | lat_m  = {{{lat_m|}}}
{{!}} style="border-top:1px solid #999966;" {{!}}{{coord|{{{latd|}}}|{{{latNS|}}}|{{{longd|}}}|{{{longEW|}}}|{{{coordinates_type|type:mountain}}}|display=inline,title}}{{#if:{{{coordinates_ref|}}}|{{{coordinates_ref}}}}}
                  | lat_s  = {{{lat_s|}}}
}}
                  | lat_NS  = {{{lat_NS|}}}
{{!}}-|
                  | long_d  = {{{long_d|}}}
{{#if:{{{latd|}}}|
                  | long_m  = {{{long_m|}}}
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Geographic coordinate system|Coordinates]]
                  | long_s  = {{{long_s|}}}
{{!}} style="border-top:1px solid #999966;" {{!}}{{coord|{{{latd|}}}|{{{longd|}}}|{{{coordinates_type|type:mountain}}}|display=inline,title}}{{#if:{{{coordinates_ref|}}}|{{{coordinates_ref}}}}}
                  | long_EW = {{{long_EW|}}}
{{!}}-|
                  | type    = mountain
{{#if:{{{Coordinates|}}}|
                  | region  = {{{region|}}}
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Geographic coordinate system|Coordinates]]
                  | scale  = {{{scale|}}}
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Coordinates|}}}
                  | source  = {{{source|}}}
{{!}}-
                  | display = {{{display|dms}}}
}}}}}}}}}}
                  | format  = {{{format|inline,title}}}
{{#if:{{{Topographic map|}}}|
                  | name    = <!-- leave undefined -->
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Topographic map|Topo map]]
                }}
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Topographic map|}}}
                {{#if:{{{coordinates_ref|}}}|&nbsp;{{{coordinates_ref}}} }}
{{!}}-
              |{{#if:{{{coordinates|}}}|{{{coordinates|}}}
}}
                  {{#if:{{{coordinates_ref|}}}|&nbsp;{{{coordinates_ref}}} }} }}
{{#if:{{{Type|}}}|
            }}
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[List of mountain types|Type]]
 
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Type|}}}
| label13  = [[Topographic map|Topo map]]
{{!}}-
| data13    = {{{topo|}}}
}}
 
{{#if:{{{Volcanic_Arc/Belt|}}}|
| label14  = [[British national grid reference system|OS grid]]
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Volcanic [[Volcanic arc|arc]]/[[Volcanic belt|belt]]
| data14  = {{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}}}}}
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Volcanic_Arc/Belt|}}}
 
{{!}}-
| label15  = [[Irish grid reference system|OSI/OSNI grid]]
}}
| data15  = {{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}}}}}
{{#if:{{{Age|}}}|
 
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Geologic time scale|Age of rock]]
| header16 = {{#if:{{{type|}}}{{{age|}}}<!--
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Age|}}}
              -->{{{volcanic_arc/belt|}}}{{{last_eruption|}}}|Geology|}}
{{!}}-
 
}}
| attr17  = note
{{#if:{{{Last eruption|}}}|
| label17  = [[List of mountain types|Type]]
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Volcano|Last eruption]]
| data17  = {{{type|}}}
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Last eruption|}}}
 
{{!}}-
| attr18  = note
}}
| label18  = [[Geologic time scale|Age of rock]]
{{#if:{{{First ascent|}}}|
| data18  = {{{age|}}}
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[First ascent]]
 
{{!}} style="border-top:1px solid #999966;" {{!}} {{{First ascent|}}}
| attr19  = note
{{!}}-
| label19  = Volcanic [[Volcanic arc|arc]]/[[Volcanic belt|belt]]
}}
| data19
{{#if:{{{Easiest route|}}}|
  = {{{volcanic_arc/belt|}}}
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Easiest [[Climbing route|route]]
 
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Easiest route|}}}
| attr20  = note
{{!}}-
| label20  = [[Volcano|Last eruption]]
}}
| data20  = {{{last_eruption|}}}
{{#if:{{{Grid_ref_UK|}}}|
 
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[British national grid reference system|OS grid reference]]
| header21 = {{#if:{{{first_ascent|}}}{{{easiest_route|}}}|Mountaineering|}}
{{!}} style="border-top:1px solid #999966;" {{!}} {{gbm4ibx|{{{Grid_ref_UK|}}}}}
 
{{!}}-
| attr22  = note
}}
| label22  = [[First ascent]]
{{#if:{{{Grid_ref_Ireland|}}}|
| data22  = {{{first_ascent|}}}
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Irish grid reference system|OSI/OSNI grid reference]]
 
{{!}} style="border-top:1px solid #999966;" {{!}} {{iem4ibx|{{{Grid_ref_Ireland|}}}}}
| label23  = Easiest [[Climbing route|route]]
{{!}}-
| data23  = {{{easiest_route|}}}
}}
}}<noinclude>{{Documentation}}</noinclude>
{{#if:{{{Listing|}}}|
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Lists of mountains|Listing]]
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Listing|}}}
{{!}}-
}}
{{#if:{{{Translation|}}}|
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Translation
{{!}} style="border-top:1px solid #999966;" {{!}} ''{{{Translation|}}}'' ({{{Language|}}})
{{!}}-
}}
{{#if:{{{Pronunciation|}}}|
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Pronunciation
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Pronunciation}}}
{{!}}-
}}
|}<noinclude>{{pp-template|small=yes}}
{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Revision as of 06:28, 20 January 2010