Difference between revisions of "Template:Infobox protected area/Wikidata"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(remove old coord params)
imported>Frietjes
Line 19: Line 19:
 
|caption1  = {{{photo_caption|}}}
 
|caption1  = {{{photo_caption|}}}
  
|image2    = {{#if:{{{map|}}} | {{Infobox map
+
|image2    = {{#if:{{{map|}}} | {{location map|{{{map|}}}
            | map            = {{{map|}}}
+
             | border = infobox | float = center
             | map_width      = {{#if:{{{map_width|}}}|{{least|{{{map_width|}}}|284}}}}
+
            | width          = {{{map_size|{{{mapsize|{{{map_width|}}}}}}}}}
 
             | default_width  = 284
 
             | default_width  = 284
 
             | relief        = {{{relief|}}}
 
             | relief        = {{{relief|}}}
 
             | label          = {{ifempty|{{{label|}}}|{{{name|}}} }}
 
             | label          = {{ifempty|{{{label|}}}|{{{name|}}} }}
             | label_position = {{ifempty|{{{label_position|}}}|none}} <!-- change default to none -->   
+
             | position      = {{ifempty|{{{label_position|}}}|none}} <!-- change default to none -->   
             | map_caption    = {{{map_caption|}}}
+
             | caption        = {{{map_caption|}}}
             | map_alt        = {{ifempty|{{{map_alt|}}}|Map showing the location of {{{name|}}} }}
+
             | alt            = {{ifempty|{{{map_alt|}}}|Map showing the location of {{{name|}}} }}
             | mark          = {{ifempty|{{{mark|}}}|{{#ifeq:{{lc:{{{map|}}}}}|us locator blank.svg|Green pog.svg|Red pog.svg }}}}
+
             | mark          = {{{mark|}}}
            | mark_width    = {{ifempty|{{{marker_size|}}}|8}}
+
            | marksize      = {{{marker_size|}}}
            | coordinates = {{{coordinates|}}}
+
            | coordinates    = {{{coordinates|{{{coords|}}}}}} }}
            }} }}
+
          | {{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|{{{image_map|}}}}}}|size={{{map_size|{{{mapsize|{{{map_width|}}}}}}}}}|maxsize=284px|alt={{{map_alt|}}}}}
 +
          }}
 +
| caption2 = {{#if:{{{map|}}} || {{{map_caption|}}} }}
  
 
|rowclass1 = locality
 
|rowclass1 = locality

Revision as of 13:30, 17 June 2017

Script error: No such module "If empty".
Script error: No such module "If empty".
Script error: No such module "If empty".
Script error: No such module "If empty".