Template:Infobox mountain: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Hike395 add note field for grid_ref_UK and grid_ref_Ireland |
meta>Trialpears m Changed ifempty to if empty per talk page and User talk:Colonies Chris#Cosmetic edit requests |
||
| Line 17: | Line 17: | ||
| subheader = {{{other_name|}}} | | subheader = {{{other_name|}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{ | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{if empty|{{{photo_width|}}}|{{{photo_size|}}}|frameless}}|upright={{{photo_upright|1.21}}}|maxsize=300px|alt={{{photo_alt|}}}}} | ||
| caption = {{{photo_caption|}}} | | caption = {{{photo_caption|}}} | ||
| Line 26: | Line 26: | ||
| default_width = 256 | | default_width = 256 | ||
| max_width = 288 | | max_width = 288 | ||
| width = {{ | | width = {{if empty|{{{map_width|}}}|{{{map_size|}}} }} | ||
| caption = {{#switch:{{{map_caption|}}}|none=|#default={{ | | caption = {{#switch:{{{map_caption|}}}|none=|#default={{if empty|{{{map_caption|}}}|{{{location|}}} }} }} | ||
| mark = Red triangle with thick white border.svg | | mark = Red triangle with thick white border.svg | ||
| marksize = 16 | | marksize = 16 | ||
| relief = {{#ifeq:{{{map_relief|{{{relief|}}}}}}|0||1}} | | relief = {{#ifeq:{{{map_relief|{{{relief|}}}}}}|0||1}} | ||
| label = {{ | | label = {{if empty|{{{label|}}}|{{#if:{{{range_coordinates|}}}||{{{name|}}} }} }} | ||
| position ={{{label_position|}}} | | position ={{{label_position|}}} | ||
| coordinates = {{if empty|{{{range_coordinates|}}}|{{{coordinates|}}}|{{{coords|}}}}} }} | | coordinates = {{if empty|{{{range_coordinates|}}}|{{{coordinates|}}}|{{{coords|}}}}} }} | ||
| Line 48: | Line 48: | ||
| data4 = {{#if:{{{elevation|}}}|{{{elevation|}}} | | data4 = {{#if:{{{elevation|}}}|{{{elevation|}}} | ||
| {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}|{{convert|input=P2044}}}}}}<!-- | | {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|{{convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}}|{{convert|input=P2044}}}}}}<!-- | ||
-->{{#if:{{{elevation_note|}}}{{{elevation_ref|}}}| {{ | -->{{#if:{{{elevation_note|}}}{{{elevation_ref|}}}| {{if empty|{{{elevation_note|}}}|{{{elevation_ref|}}} }} }}<!-- | ||
-->{{#if:{{{elevation_system|}}}| <span style="font-size:80%;">{{{elevation_system}}}</span>}} | -->{{#if:{{{elevation_system|}}}| <span style="font-size:80%;">{{{elevation_system}}}</span>}} | ||
| Line 70: | Line 70: | ||
| label9 = [[Geographic coordinate system|Coordinates]] | | label9 = [[Geographic coordinate system|Coordinates]] | ||
| data9 = {{#if:{{{coordinates|}}}{{{coords|}}}|{{#invoke:Coordinates|coordinsert|{{ | | data9 = {{#if:{{{coordinates|}}}{{{coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{coordinates|}}}|{{{coords|}}}}}|type:mountain|{{#if:{{{range_coordinates|}}}||{{#if:{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}{{{area_mi2|}}}{{{area_km2|}}}|dim:{{Infobox dim|length_km={{{length_km|}}}|length_mi={{{length_mi|}}}|width_km={{{width_km|}}}|width_mi={{{width_mi|}}}|area_mi2={{{area_mi2|}}}|area_km2={{{area_km2|}}}}}}}}}}}<!-- | ||
--> {{ | --> {{if empty|{{{coordinates_note|}}}|{{{coordinates_ref|}}}|{{{coords_ref|}}} }} }} | ||
| header10 = {{#if:{{{length|}}}{{{length_km|}}}{{{length_mi|}}}{{{width|}}}{{{width_km|}}}{{{width_mi|}}}{{{area|}}}{{{area_km2|}}}{{{area_mi2|}}}|Dimensions}} | | header10 = {{#if:{{{length|}}}{{{length_km|}}}{{{length_mi|}}}{{{width|}}}{{{width_km|}}}{{{width_mi|}}}{{{area|}}}{{{area_km2|}}}{{{area_mi2|}}}|Dimensions}} | ||
| Line 170: | Line 170: | ||
| label34 = [[Geographic coordinate system|Range coordinates]] | | label34 = [[Geographic coordinate system|Range coordinates]] | ||
| data34 = {{#if:{{{range_coordinates|}}}{{{range_coords|}}}|{{#invoke:Coordinates|coordinsert|{{ | | data34 = {{#if:{{{range_coordinates|}}}{{{range_coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{range_coordinates|}}}|{{{range_coords|}}}}}|type:mountain|{{#if:{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}{{{area_mi2|}}}{{{area_km2|}}}|dim:{{Infobox dim|length_km={{{length_km|}}}|length_mi={{{length_mi|}}}|width_km={{{width_km|}}}|width_mi={{{width_mi|}}}|area_mi2={{{area_mi2|}}}|area_km2={{{area_km2|}}}}}}}}}}}{{#if:{{{range_coordinates_note|}}}| {{{range_coordinates_note}}} }} | ||
| class35 = category | | class35 = category | ||
| Line 189: | Line 189: | ||
| label40 = [[Topographic map|Topo map]] | | label40 = [[Topographic map|Topo map]] | ||
| data40 = {{#if:{{{topo_maker|}}}|{{{topo_maker}}} }}{{ | | data40 = {{#if:{{{topo_maker|}}}|{{{topo_maker}}} }}{{if empty|{{{topo|}}}|{{{topo_map|}}} }} | ||
| label41 = [[Biome]] | | label41 = [[Biome]] | ||
| Line 203: | Line 203: | ||
| label45 = [[Geologic time scale|Age of rock]] | | label45 = [[Geologic time scale|Age of rock]] | ||
| data45 = {{ | | data45 = {{if empty|{{{age|}}}|{{enum|{{{period|}}}|{{{period1|}}}|{{{period2|}}}|{{{period3|}}}|{{{period4|}}}|{{{period5|}}} }} }} | ||
| label46 = [[List of mountain types|Mountain type]] | | label46 = [[List of mountain types|Mountain type]] | ||
| Line 215: | Line 215: | ||
| {{#if:{{{volcanic_field|}}}|[[Volcanic field]] | | {{#if:{{{volcanic_field|}}}|[[Volcanic field]] | ||
| {{#if:{{{volcanic_arc/belt|}}}|Volcanic [[Volcanic arc|arc]]/[[Volcanic belt|belt]]}}}}}}}} | | {{#if:{{{volcanic_arc/belt|}}}|Volcanic [[Volcanic arc|arc]]/[[Volcanic belt|belt]]}}}}}}}} | ||
| data48 = {{ | | data48 = {{if empty|{{{volcanic_arc|}}}|{{{volcanic_belt|}}}|{{{volcanic_field|}}}|{{{volcanic_arc/belt|}}}}} | ||
| label49 = [[Types of volcanic eruptions|Last eruption]] | | label49 = [[Types of volcanic eruptions|Last eruption]] | ||
Revision as of 16:56, 10 October 2019
| Elevation | P2044 |
|---|---|
| Prominence | P2660 |
| Isolation | P2659 |
Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.