Template:Infobox mountain: Difference between revisions

From ahitipua
Jump to navigation Jump to search
No edit summary
(Replaced content with "{{infobox | class1 = name1 | label1 = Name | data1 = {{{name|}}} }}")
Line 1: Line 1:
{{infobox  
{{infobox  
| child      = {{{child|}}}
| class1 = name1
| bodyclass  = vcard
| label1 = [[Name]]
| bodystyle  = line-height: normal; font-size:95%; border-spacing: 2px;
| data1  = {{{name|}}}
 
| abovestyle = background-color: #e7dcc3;
| aboveclass = fn org
| above      = {{ifempty
                | {{{name|}}}
                | <includeonly>{{error|Mountain name required|tag=span}}<!--
                  -->{{main other|[[Category:Mountain articles requiring maintenance]]}}</includeonly>}}
 
| headerstyle = background-color: #e7dcc3;
| labelstyle  = padding:4px; vertical-align:text-top; white-space: nowrap;
| datastyle  = padding:4px; vertical-align:text-top;
 
| subheader  = {{ifempty|{{{other_name|}}}|{{{native_name|}}}}}
 
| image      = {{#if:{{{photo|}}}|[[Image:{{{photo|}}}|{{least|{{ifempty|{{{photo_width|}}}|{{{photo_size|}}}}}|280}}px<!--
                -->{{#if:{{{photo_alt|}}}|{{!}}alt={{{photo_alt|}}}}}]]}}
| caption    = {{{photo_caption|}}}
 
| data1   = {{#if:{{{photo|}}} |<!-- if photo then show map below -->
            | {{#if:{{{map|}}}|{{Infobox map
              | map = {{{map|}}}
              | map_alt = {{{map_alt|}}}
              | map_width = {{least|{{ifempty|{{{map_width|}}}|{{{map_size|}}}}}|272}}
              | map_caption = {{ifempty|{{{map_caption|}}}|{{{location|}}}}}
              | map_border = {{{map_border|}}}
              | mark = Red triangle with thick white border.svg
              | mark_width = 10
              | relief = {{#ifeq:{{{map_relief|}}}|0||1}}
              | label = {{ifempty|{{{label|}}}|{{{name|}}}}}
              | label_position = {{{label_position|}}}
              | lat = {{decdeg|{{{lat_d|}}}|{{{lat_m|}}}|{{{lat_s|}}}|{{{lat_NS|}}}}}
              | long = {{decdeg|{{{long_d|}}}|{{{long_m|}}}|{{{long_s|}}}|{{{long_EW|}}}}}
              | x = {{{x|}}} | y = {{{y|}}}
              | x% = {{{x%|}}} | y% = {{{y%|}}}}}}}}}
 
| label2   = [[Summit (topography)|Elevation]]
| data2    = {{#if:{{{elevation|}}} | {{{elevation|}}}
            | {{#if:{{{elevation_m|}}} | {{Infobox mountain/convert|{{{elevation_m|}}}|m}}
              |  {{#if:{{{elevation_ft|}}} | {{Infobox mountain/convert|{{{elevation_ft|}}}|ft}}}}}}}}<!--
            -->{{{elevation_ref|}}}
 
| label3  = [[Topographic prominence|Prominence]]
| data3    = {{#if:{{{prominence|}}} | {{{prominence|}}}
            | {{#if:{{{prominence_m|}}} | {{Infobox mountain/convert|{{{prominence_m|}}}|m}}
              |  {{#if:{{{prominence_ft|}}} | {{Infobox mountain/convert|{{{prominence_ft|}}}|ft}}}}}}}}<!--
            -->{{{prominence_ref|}}}
 
| label4  = [[Topographic prominence#Prominence parentage|Parent peak]]
| data4    = {{{parent_peak|}}}
 
| class6  = category
| label6  = [[List of mountain lists|Listing]]
| data6    = {{{listing|}}}
 
| label7  = Translation
| data7    = {{#if:{{{translation|}}}| ''{{{translation|}}}''<!--
            -->{{#if:{{{language|}}}|&#32;({{{language|}}}) }}}}
 
| label8  = [[help:IPA|Pronunciation]]
| data8    = {{#if:{{{pronunciation|}}}|{{IPA|{{{pronunciation|}}}}}}}
 
| header10 = {{#if:{{#if:{{{photo|}}}|{{{map|}}}}}{{{location|}}}{{{range|}}}{{{lat_d|}}}{{{long_d|}}}<!--
            -->{{{coordinates|}}}{{{coords|}}}{{{topo|}}}{{{grid_ref_UK|}}}{{{grid_ref_Ireland|}}}|Location}}
 
| data11  = {{#if:{{{photo|}}}
            | {{#if:{{{map|}}}|{{Infobox map
              | map = {{{map|}}}
              | map_alt = {{{map_alt|}}}
              | map_width = {{least|{{ifempty|{{{map_width|}}}|{{{map_size|}}}}}|272}}
              | map_border = {{{map_border|}}}
              | map_caption = {{ifempty|{{{map_caption|}}}|{{{location|}}}}}
              | mark = Red triangle with thick white border.svg
              | mark_width = 10
              | relief = {{#ifeq:{{{map_relief|}}}|0||1}}
              | label = {{ifempty|{{{label|}}}|{{{name|}}}}}
              | label_position = {{{label_position|}}}
              | lat = {{decdeg|{{{lat_d|}}}|{{{lat_m|}}}|{{{lat_s|}}}|{{{lat_NS|}}}}}
              | long = {{decdeg|{{{long_d|}}}|{{{long_m|}}}|{{{long_s|}}}|{{{long_EW|}}}}}
              | x = {{{x|}}} | y = {{{y|}}}
              | x% = {{{x%|}}} | y% = {{{y%|}}}}}}}}}
 
| class12  = label
| label12  = Location
| data12  = {{#if:{{{map|}}}|{{#if:{{{map_caption|}}}|{{{location|}}}}}|{{{location|}}}}}
 
| class13  = category
| label13  = [[Mountain range|Range]]
| data13  = {{{range|}}}
 
| label14  = [[British national grid reference system|OS grid]]
| data14  = {{#if:{{{grid_ref_UK|}}}|{{gbm4ibx|{{{grid_ref_UK|}}}}}}}
 
| label15  = [[Irish grid reference system|OSI/OSNI grid]]
| data15  = {{#if:{{{grid_ref_Ireland|}}}|{{iem4ibx|{{{grid_ref_Ireland|}}}}}}}
 
| label16  = [[Geographic coordinate system|Coordinates]]
| data16  = {{#if:{{{lat_d|}}}{{{long_d|}}}
            | {{Infobox coord
              | 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|}}}
              | type    = {{ifempty|{{{coord_type|}}}|mountain}}
              | region  = {{{region|}}}
              | dim    = {{{dim|}}}
              | scale  = {{{scale|}}}
              | source  = {{{source|}}}
              | format = {{{format|}}}    <!-- default is dms -->
              | display  = {{{display|}}} <!-- default is inline,title -->
              | name   = <!-- leave undefined -->
              }}
            | {{ifempty|{{{coordinates|}}}|{{{coords|}}}}}
            }}{{ifempty|{{{coordinates_ref|}}}|{{{coords_ref|}}}}}
 
| label17  = [[Topographic map|Topo map]]
| data17  = {{{topo|}}}
 
| header19 = {{#if:{{{type|}}}{{{age|}}}{{{volcanic_arc|}}}{{{volcanic_belt|}}}{{{volcanic_field|}}}<!--
              -->{{{volcanic_arc/belt|}}}{{{last_eruption|}}}|Geology}}
 
| label20  = [[List of mountain types|Type]]
| data20  = {{{type|}}}
 
| label21  = [[Geologic time scale|Age of rock]]
| data21  = {{{age|}}}
 
| label22  = {{#if:{{{volcanic_arc|}}}|[[Volcanic arc]]
            | {{#if:{{{volcanic_belt|}}}|[[Volcanic belt]]
              | {{#if:{{{volcanic_field|}}}|[[Volcanic field]]
                | {{#if:{{{volcanic_arc/belt|}}}|Volcanic [[Volcanic arc|arc]]/[[Volcanic belt|belt]]}}}}}}}}
| data22  = {{ifempty|{{{volcanic_arc|}}}|{{{volcanic_belt|}}}|{{{volcanic_field|}}}|{{{volcanic_arc/belt|}}}}}
 
| label23  = [[Volcano|Last eruption]]
| data23  = {{{last_eruption|}}}
 
| header25 = {{#if:{{{first_ascent|}}}{{{easiest_route|}}}|Climbing}}
 
| label26  = [[First ascent]]
| data26  = {{{first_ascent|}}}
 
| label27  = Easiest [[Climbing route|route]]
| data27  = {{{easiest_route|}}}
 
| data28  = {{{embedded|}}}
}}
}}

Revision as of 21:20, 7 December 2012