Difference between revisions of "Template:Infobox climbing route/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(use new infobox map)
imported>Hike395
(sync sandbox)
Line 13: Line 13:
 
|caption1 = {{{photo_caption|}}}
 
|caption1 = {{{photo_caption|}}}
  
|image2  = {{#if:{{{map|}}}|{{Infobox map/sandbox
+
|image2  = {{#if:{{{map|}}}|{{Infobox map
 
             | map            = {{{map|}}}
 
             | map            = {{{map|}}}
 
             | map_width      = {{{map_width|}}}
 
             | map_width      = {{{map_width|}}}
Line 25: Line 25:
 
             | mark          = {{{mark|}}}
 
             | mark          = {{{mark|}}}
 
             | mark_width    = {{{marker_width|}}}
 
             | mark_width    = {{{marker_width|}}}
    | lat_deg     = {{{lat_d|}}}
 
    | lat_min     = {{{lat_m|}}}
 
    | lat_sec     = {{{lat_s|}}}
 
    | lat_dir     = {{{lat_NS|}}}
 
    | lon_deg     = {{{long_d|}}}
 
    | lon_min     = {{{long_m|}}}
 
    | lon_sec     = {{{long_s|}}}
 
    | lon_dir     = {{{long_EW|}}}
 
 
             | coordinates    = {{if empty|{{{coordinates|}}}|{{{coords|}}} }} }} }}
 
             | coordinates    = {{if empty|{{{coordinates|}}}|{{{coords|}}} }} }} }}
  
Line 45: Line 37:
 
|class3  = note
 
|class3  = note
 
|label3  = [[Geographic coordinate system|Coordinates]]
 
|label3  = [[Geographic coordinate system|Coordinates]]
|data3    = {{#if:{{{lat_d|}}}{{{long_d|}}}
+
|data3    = {{if empty|{{{coordinates|}}}|{{{coords|}}} }}{{{coords_ref|}}}
            | {{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    = landmark
 
              | region  = {{{region|}}}
 
              | scale  = {{{scale|}}}
 
              | source  = {{{source|}}}
 
              | display = {{{display|}}}
 
              | format  = {{{format|}}}
 
              | name    = <!-- leave undefined -->
 
              }}
 
            | {{{coords|}}}
 
            }}{{{coords_ref|}}}
 
  
 
|label5  = Climbing Area
 
|label5  = Climbing Area
Line 98: Line 71:
 
|data15    = {{{embedded|}}}
 
|data15    = {{{embedded|}}}
  
 +
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox climbing route with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox climbing route]] with unknown parameter "_VALUE_"| child | climbing_area | coordinates | coords | coords_ref | embedded | fastest_ascent | ffa | first_ascent | first_free_ascent | grade | label | label_position | location | map | map_alt | map_caption | map_width | mark | marker_width | name | other_name | photo | photo_alt | photo_caption | photo_width | pitches | range | rating | relief | route_setter | route_type | vertical_gain }}{{#ifeq:{{{x|¶}}}{{{y|¶}}}{{{x%|¶}}}{{{y%|¶}}}|¶¶¶¶||[[Category:Pages using Template:Infobox map needing attention]]
 
}}<noinclude>
 
}}<noinclude>
 
{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/sandbox
 
{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/sandbox

Revision as of 07:54, 5 June 2017

CoordinatesScript error: No such module "If empty".
First free ascentScript error: No such module "If empty".