Difference between revisions of "Template:Infobox climbing route/sandbox"
Jump to navigation
Jump to search
imported>Hike395 (eliminate Infobox map call) |
imported>Hike395 (check for non-empty map parameter) |
||
| Line 13: | Line 13: | ||
|caption1 = {{{photo_caption|}}} | |caption1 = {{{photo_caption|}}} | ||
| − | |image2 = {{#if:{{#ifexist:Module:Location map/data/{{{map}}}|1|{{#ifexist:Template:Location map {{{map}}}|1}}}}|<!-- | + | |image2 = {{#if:{{{map|}}}|{{#if:{{#ifexist:Module:Location map/data/{{{map}}}|1|{{#ifexist:Template:Location map {{{map}}}|1}}}}|<!-- |
-->{{location map | -->{{location map | ||
| − | | {{{map | + | | {{{map}}} |
| relief = {{{relief|}}} | | relief = {{{relief|}}} | ||
| width = {{{map_width|}}} | | width = {{{map_width|}}} | ||
| Line 35: | Line 35: | ||
| lon_dir = {{{long_EW|}}} | | lon_dir = {{{long_EW|}}} | ||
| coordinates = {{{coordinates|{{{coords|}}}}}} }}|<!-- | | coordinates = {{{coordinates|{{{coords|}}}}}} }}|<!-- | ||
| − | -->{{#invoke:InfoboxImage | InfoboxImage | image={{{map | + | -->{{#invoke:InfoboxImage | InfoboxImage | image={{{map}}} |
| size={{px|{{{map_width|}}}}} | maxsize=300px | sizedefault=220px | | size={{px|{{{map_width|}}}}} | maxsize=300px | sizedefault=220px | ||
| alt={{ifempty |{{{map_alt|}}}|Map showing the location of {{{name|}}} }} | | alt={{ifempty |{{{map_alt|}}}|Map showing the location of {{{name|}}} }} | ||
| − | | title={{{map_caption|}}} }} }} | + | | title={{{map_caption|}}} }} }} }} |
|caption2 = {{{map_caption|}}} | |caption2 = {{{map_caption|}}} | ||
Revision as of 07:08, 11 March 2017
| First free ascent | Script error: No such module "If empty". |
|---|
| 50px | This is the template sandbox page for Template:Infobox climbing route (diff). See also the companion subpage for test cases. |