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

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(Convert coords to new parameters. See Wikipedia:Coordinates in infoboxes. (tracking only))
imported>Jonesey95
(Convert coords to new parameters. See Wikipedia:Coordinates in infoboxes.)
Line 30: Line 30:
 
             | mark          = {{ifempty|{{{mark|}}}|{{#ifeq:{{lc:{{{map|}}}}}|us locator blank.svg|Green pog.svg|Red pog.svg }}}}
 
             | mark          = {{ifempty|{{{mark|}}}|{{#ifeq:{{lc:{{{map|}}}}}|us locator blank.svg|Green pog.svg|Red pog.svg }}}}
 
             | mark_width    = {{ifempty|{{{marker_size|}}}|8}}
 
             | mark_width    = {{ifempty|{{{marker_size|}}}|8}}
             | lat_deg = {{{lat_d|}}}
+
             | coordinates = {{{coordinates|}}}
            | 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|}}}
 
 
             }} }}
 
             }} }}
  
Line 51: Line 44:
 
|label3    = Coordinates
 
|label3    = Coordinates
 
|data3    = {{#if:{{{lat_d|}}}{{{long_d|}}}
 
|data3    = {{#if:{{{lat_d|}}}{{{long_d|}}}
             |[[Category:Pages using deprecated coordinates format|protected area wikidata]] {{Infobox coord
+
             |[[Category:Pages using deprecated coordinates format|protected area wikidata]]
              | lat_d  = {{{lat_d|}}}
+
             | {{#if:{{{coordinates|}}}|{{{coordinates|}}}{{#if:{{{coords_ref|}}}|{{{coords_ref|}}} }}  | {{#invoke:WikidataIB|getValue|P625|name=coords|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|}}}}} }} }}
              | 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    = {{#if:{{{type|}}}|{{{type|}}}|landmark }}
 
              | region  = {{{region|}}}
 
              | scale  = {{{scale|}}}
 
              | source  = {{{source|}}}
 
              | display = {{{display|}}}
 
              | format  = {{{format|}}}
 
              | name    = <!-- leave undefined -->
 
              }}{{#if:{{{coords_ref|}}}|{{{coords_ref|}}} }}
 
             | {{#if:{{{coords|}}}|{{{coords|}}}{{#if:{{{coords_ref|}}}|{{{coords_ref|}}} }}  | {{#invoke:WikidataIB|getValue|P625|name=coords|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|}}}}} }} }}
 
  
 
|label4    = Area
 
|label4    = Area

Revision as of 16:02, 2 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".