Template:Infobox volcano: Difference between revisions

From ahitipua
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 3: Line 3:
| bodyclass  = vcard
| bodyclass  = vcard
| bodystyle  = line-height: normal; font-size:75%; border-spacing: 2px;
| bodystyle  = line-height: normal; font-size:75%; border-spacing: 2px;
| abovestyle  = background-color: #e7dcc3;
| abovestyle  = background-color: #e7dcc3;
| aboveclass  = fn org
| aboveclass  = fn org
| above      = {{ifempty
| above      = {{{name|}}}
                | {{{name|}}}
     
                | <includeonly>{{error|Mountain name required|tag=span}}<!--
                  -->{{main other|[[Category:Mountain articles requiring maintenance]]}}</includeonly>}}
 
| headerstyle = background-color: #e7dcc3;
| headerstyle = background-color: #e7dcc3;
| labelstyle  = padding:4px; vertical-align:text-top; white-space: nowrap;
| labelstyle  = padding:4px; vertical-align:text-top; white-space: nowrap;
| datastyle  = padding:4px; vertical-align:text-top;
| datastyle  = padding:4px; vertical-align:text-top;
 
| label2  = Elevation
| subheader  = {{ifempty|{{{other_name|}}}|{{{native_name|}}}}}
| data2    = {{#if:{{{elevation_m}}}|{{{elevation_m}}} m|Submarine}}    
 
| label15 = Latitude
| image      = {{#if:{{{photo|}}}|[[Image:{{{photo|}}}|{{least|{{ifempty|{{{photo_width|}}}|{{{photo_size|}}}}}|280}}px<!--
| data15   = {{{lat_d}}}° {{{lat_m}}}{{{lat_s}}}{{{lat_NS}}}
                -->{{#if:{{{photo_alt|}}}|{{!}}alt={{{photo_alt|}}}}}]]}}
| label16  = Longitude
| caption    = {{{photo_caption|}}}
| data16  = {{{lon_d}}}° {{{lon_m}}}{{{lon_s}}}{{{lon_EW}}}                 
 
| 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|{{{coordinatesx|}}}|{{{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|}}}
 
}}<noinclude>
}}<noinclude>
<!--
<!--

Latest revision as of 15:24, 15 December 2012

Elevation {{{elevation_m}}} m
Latitude {{{lat_d}}}° {{{lat_m}}}′ {{{lat_s}}}″ {{{lat_NS}}}
Longitude {{{lon_d}}}° {{{lon_m}}}′ {{{lon_s}}}″ {{{lon_EW}}}
[create] File:Template-info.png Template documentation