Difference between revisions of "Template:Infobox climbing route/sandbox"
Jump to navigation
Jump to search
imported>Hike395 (sync sandbox) |
imported>Hike395 (eliminate Infobox map call) |
||
| Line 13: | Line 13: | ||
|caption1 = {{{photo_caption|}}} | |caption1 = {{{photo_caption|}}} | ||
| − | |image2 = {{#if:{{{map|}}}|{{ | + | |image2 = {{#if:{{#ifexist:Module:Location map/data/{{{map}}}|1|{{#ifexist:Template:Location map {{{map}}}|1}}}}|<!-- |
| − | + | -->{{location map | |
| − | + | | {{{map|}}} | |
| − | + | | relief = {{{relief|}}} | |
| − | + | | width = {{{map_width|}}} | |
| − | + | | default_width = 220 | |
| − | + | | caption = <!-- no value assigned but it must be specified, see {{location map}} --> | |
| − | + | | alt = {{ifempty |{{{map_alt|}}}|Map showing the location of {{{name|}}} }} | |
| − | + | | float = center | |
| − | + | | label = {{ifempty|{{{label|}}}|{{{name|}}} }} | |
| − | + | | position = {{lc: {{ifempty|{{{label_position|}}}|none}} }} | |
| − | + | | mark = {{#if:{{{mark|}}}|{{{mark}}}|Red pog.svg}} | |
| − | + | | marksize = {{#if:{{{marker_width|}}}|{{{marker_width}}}|8}} | |
| − | + | | 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 = {{{coordinates|{{{coords|}}}}}} }}|<!-- | |
| − | + | -->{{#invoke:InfoboxImage | InfoboxImage | image={{{map|}}} | |
| + | | size={{px|{{{map_width|}}}}} | maxsize=300px | sizedefault=220px | ||
| + | | alt={{ifempty |{{{map_alt|}}}|Map showing the location of {{{name|}}} }} | ||
| + | | title={{{map_caption|}}} }} }} | ||
| + | |caption2 = {{{map_caption|}}} | ||
|class1 = note | |class1 = note | ||
Revision as of 06:36, 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. |