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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
m
 
Line 24: Line 24:
 
             | default_width  = 284
 
             | default_width  = 284
 
             | relief        = {{{relief|}}}
 
             | relief        = {{{relief|}}}
             | label          = {{ifempty|{{{label|}}}|{{{name|}}} }}
+
             | label          = {{if empty|{{{label|}}}|{{{name|}}} }}
             | position      = {{ifempty|{{{label_position|}}}|none}} <!-- change default to none -->   
+
             | position      = {{if empty|{{{label_position|}}}|none}} <!-- change default to none -->   
 
             | caption        = {{{map_caption|}}}
 
             | caption        = {{{map_caption|}}}
             | alt            = {{ifempty|{{{map_alt|}}}|Map showing the location of {{{name|}}} }}
+
             | alt            = {{if empty|{{{map_alt|}}}|Map showing the location of {{{name|}}} }}
 
             | mark          = {{{mark|}}}
 
             | mark          = {{{mark|}}}
 
             | marksize      = {{{marker_size|}}}
 
             | marksize      = {{{marker_size|}}}
Line 42: Line 42:
 
|label2    = {{#if:{{{nearest_city|}}}|Nearest&nbsp;city
 
|label2    = {{#if:{{{nearest_city|}}}|Nearest&nbsp;city
 
             | {{#if:{{{nearest_town|}}}|Nearest&nbsp;town }}}}
 
             | {{#if:{{{nearest_town|}}}|Nearest&nbsp;town }}}}
|data2    = {{ifempty|{{{nearest_city|}}}|{{{nearest_town|}}}}}
+
|data2    = {{if empty|{{{nearest_city|}}}|{{{nearest_town|}}}}}
  
 
|label3    = Coordinates
 
|label3    = Coordinates
Line 60: Line 60:
 
             | {{#if:{{{established|}}}|Established
 
             | {{#if:{{{established|}}}|Established
 
             | {{#if:{{{designated|}}}|Designated }}}}}}}}
 
             | {{#if:{{{designated|}}}|Designated }}}}}}}}
|data6    = {{ifempty|{{{authorized|}}}|{{{created|}}}|{{{established|}}}|{{{designated|}}} }}
+
|data6    = {{if empty|{{{authorized|}}}|{{{created|}}}|{{{established|}}}|{{{designated|}}} }}
  
 
|label7    = Visitors
 
|label7    = Visitors
Line 71: Line 71:
 
             | {{#if:{{{operator|}}}|Operator
 
             | {{#if:{{{operator|}}}|Operator
 
             | {{#if:{{{owner|}}}|Owner }}}}}}}}
 
             | {{#if:{{{owner|}}}|Owner }}}}}}}}
|data8    = {{ifempty|{{{governing_body|}}}|{{{administrator|}}}|{{{operator|}}}|{{{owner|}}} }}
+
|data8    = {{if empty|{{{governing_body|}}}|{{{administrator|}}}|{{{operator|}}}|{{{owner|}}} }}
  
 
|label9    = World&nbsp;Heritage Site
 
|label9    = World&nbsp;Heritage Site
Line 81: Line 81:
 
             | {{#if:{{{url|}}} | {{{url|}}} }} }}
 
             | {{#if:{{{url|}}} | {{{url|}}} }} }}
  
|header11  = {{ifempty|{{{embedded1|}}}|{{{embedded|}}} }}
+
|header11  = {{if empty|{{{embedded1|}}}|{{{embedded|}}} }}
  
 
|header12  = {{{embedded2|}}}
 
|header12  = {{{embedded2|}}}
Line 87: Line 87:
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
+
<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 
</noinclude>

Latest revision as of 13:17, 12 October 2019

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".