Difference between revisions of "Template:Infobox protected area/Wikidata"
Jump to navigation
Jump to search
imported>Frietjes (not needed) |
imported>Frietjes m |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 19: | Line 19: | ||
|caption1 = {{{photo_caption|}}} | |caption1 = {{{photo_caption|}}} | ||
| − | |image2 = {{#if:{{{map|}}} | {{ | + | |image2 = {{#if:{{{map|}}} | {{location map|{{{map|}}} |
| − | + | | border = infobox | float = center | |
| − | | | + | | width = {{{map_size|{{{mapsize|{{{map_width|}}}}}}}}} |
| default_width = 284 | | default_width = 284 | ||
| relief = {{{relief|}}} | | relief = {{{relief|}}} | ||
| − | | label = {{ | + | | label = {{if empty|{{{label|}}}|{{{name|}}} }} |
| − | | | + | | position = {{if empty|{{{label_position|}}}|none}} <!-- change default to none --> |
| − | | | + | | caption = {{{map_caption|}}} |
| − | | | + | | alt = {{if empty|{{{map_alt|}}}|Map showing the location of {{{name|}}} }} |
| − | | mark = {{ | + | | mark = {{{mark|}}} |
| − | + | | marksize = {{{marker_size|}}} | |
| − | + | | 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 | ||
| Line 47: | Line 42: | ||
|label2 = {{#if:{{{nearest_city|}}}|Nearest city | |label2 = {{#if:{{{nearest_city|}}}|Nearest city | ||
| {{#if:{{{nearest_town|}}}|Nearest town }}}} | | {{#if:{{{nearest_town|}}}|Nearest town }}}} | ||
| − | |data2 = {{ | + | |data2 = {{if empty|{{{nearest_city|}}}|{{{nearest_town|}}}}} |
|label3 = Coordinates | |label3 = Coordinates | ||
| − | |data3 = {{#if:{{{ | + | |data3 = {{#if:{{{coordinates|}}}|{{{coordinates|}}}{{#if:{{{coords_ref|}}}|{{{coords_ref|}}} }} | {{#invoke:WikidataIB|getValue|P625|name=coords|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|}}}}} }} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|label4 = Area | |label4 = Area | ||
| Line 83: | Line 60: | ||
| {{#if:{{{established|}}}|Established | | {{#if:{{{established|}}}|Established | ||
| {{#if:{{{designated|}}}|Designated }}}}}}}} | | {{#if:{{{designated|}}}|Designated }}}}}}}} | ||
| − | |data6 = {{ | + | |data6 = {{if empty|{{{authorized|}}}|{{{created|}}}|{{{established|}}}|{{{designated|}}} }} |
|label7 = Visitors | |label7 = Visitors | ||
| Line 94: | Line 71: | ||
| {{#if:{{{operator|}}}|Operator | | {{#if:{{{operator|}}}|Operator | ||
| {{#if:{{{owner|}}}|Owner }}}}}}}} | | {{#if:{{{owner|}}}|Owner }}}}}}}} | ||
| − | |data8 = {{ | + | |data8 = {{if empty|{{{governing_body|}}}|{{{administrator|}}}|{{{operator|}}}|{{{owner|}}} }} |
|label9 = World Heritage Site | |label9 = World Heritage Site | ||
| Line 104: | Line 81: | ||
| {{#if:{{{url|}}} | {{{url|}}} }} }} | | {{#if:{{{url|}}} | {{{url|}}} }} }} | ||
| − | |header11 = {{ | + | |header11 = {{if empty|{{{embedded1|}}}|{{{embedded|}}} }} |
|header12 = {{{embedded2|}}} | |header12 = {{{embedded2|}}} | ||
| Line 110: | Line 87: | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
| − | <!-- PLEASE ADD CATEGORIES | + | <!-- 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". |
|---|
| This template uses Lua: |
| The above documentation is transcluded from Template:Infobox protected area/Wikidata/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |