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

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(sync sandbox)
imported>Hike395
(use new infobox map)
Line 13: Line 13:
 
|caption1 = {{{photo_caption|}}}
 
|caption1 = {{{photo_caption|}}}
  
|image2  = {{#if:{{{map|}}}|{{Infobox map
+
|image2  = {{#if:{{{map|}}}|{{Infobox map/sandbox
 
             | map            = {{{map|}}}
 
             | map            = {{{map|}}}
             | map_width      = {{least|{{ifempty|{{{map_width|}}}|220}}|300}}
+
             | map_width      = {{{map_width|}}}
 +
            | default_width  = 220
 +
            | max_width      = 300
 
             | relief        = {{{relief|}}}
 
             | relief        = {{{relief|}}}
 
             | label          = {{ifempty|{{{label|}}}|{{{name|}}} }}
 
             | label          = {{ifempty|{{{label|}}}|{{{name|}}} }}
Line 22: Line 24:
 
             | map_alt        = {{ifempty|{{{map_alt|}}}|Map showing the location of {{{name|}}} }}
 
             | map_alt        = {{ifempty|{{{map_alt|}}}|Map showing the location of {{{name|}}} }}
 
             | mark          = {{{mark|}}}
 
             | mark          = {{{mark|}}}
             | mark_width    = {{ifempty|{{{marker_width|}}}|8}}
+
             | mark_width    = {{{marker_width|}}}
 
    | lat_deg     = {{{lat_d|}}}
 
    | lat_deg     = {{{lat_d|}}}
 
    | lat_min     = {{{lat_m|}}}
 
    | lat_min     = {{{lat_m|}}}
Line 31: Line 33:
 
    | lon_sec     = {{{long_s|}}}
 
    | lon_sec     = {{{long_s|}}}
 
    | lon_dir     = {{{long_EW|}}}
 
    | lon_dir     = {{{long_EW|}}}
             | coordinates    = {{if empty|{{{coordinates|}}}|{{{coords|}}} }}
+
             | coordinates    = {{if empty|{{{coordinates|}}}|{{{coords|}}} }} }} }}
            | x              = {{{x|}}}
 
            | y              = {{{y|}}}
 
            | x%            = {{{x%|}}}
 
            | y%            = {{{y%|}}} }} }}
 
  
 
|class1  = note
 
|class1  = note

Revision as of 19:57, 11 March 2017

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