Template:Infobox lighthouse: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Jura1
mNo edit summary
>Jura1
(WD)
Line 74: Line 74:


| label13 = Height
| label13 = Height
|  data13 = {{{height|}}}
|  data13 = {{#invoke:WikidataIB |getPreferredValue |P2048|name=height|fetchwikidata=ALL|qid={{{item|}}}|{{{height|}}}}}


| label14 = Focal height
| label14 = Focal height
|  data14 = {{{elevation|}}}{{{focalheight|}}}
|  data14 = {{#invoke:WikidataIB |getPreferredValue |P2923|name=focalheight|fetchwikidata=ALL|qid={{{item|}}}|{{{elevation|}}}{{{focalheight|}}}}}


| label15 = Original lens
| label15 = Original lens
Line 126: Line 126:


| label30 = Heritage
| label30 = Heritage
|  data30 = {{{heritage|}}}
|  data30 = {{#invoke:WikidataIB |getPreferredValue |P1435|name=heritage|fetchwikidata=ALL|qid={{{item|}}}|{{{heritage|}}}}}


| header31 = {{{module|}}}
| header31 = {{{module|}}}
| data100 = {{main other |{{#ifeq:{{#invoke:String|match|s={{#property:P31}}test|pattern=lighthouse}}|lighthouse|{{EditOnWikidata}}|[[Category:General articles using infobox Lighthouse]] {{#ifeq:{{{item|}}}||[[Category:Pages using infobox Lighthouse needing Wikidata item]]| {{EditOnWikidata|qid={{{item|}}}}} }}}}}}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox lighthouse with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox lighthouse]] with unknown parameter "_VALUE_"|ignoreblank=y| name | image_name | image_alt | image_width | caption | alt | pushpin_map | pushpin_label_position | pushpin_map_alt | pushpin_relief | relief | pushpin | pushpin_outside | pushpin_mapsize | pushpin_map_caption | map_caption | location | grid_ref_UK | coordinates | coordinates_footnotes | designation | yearbuilt | yearlit | automated | yeardeactivated | foundation | construction | shape | marking | height | elevation | focalheight | lens | currentlens | lightsource | intensity | range | characteristic | fogsignal | racon | admiralty | canada | NGA | ARLHS | USCG | countrylink | country | countrynumber | managingagent | heritage | module |item}}{{main other |{{#ifeq:{{#property:P31}}|lighthouse||[[Category:General articles using infobox Lighthouse]]{{#ifeq:{{#property:P31|from={{{item|}}}}}|lighthouse||[[Category:Pages using infobox Lighthouse needing Wikidata item]]}}}}}}<noinclude>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox lighthouse with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox lighthouse]] with unknown parameter "_VALUE_"|ignoreblank=y| name | image_name | image_alt | image_width | caption | alt | pushpin_map | pushpin_label_position | pushpin_map_alt | pushpin_relief | relief | pushpin | pushpin_outside | pushpin_mapsize | pushpin_map_caption | map_caption | location | grid_ref_UK | coordinates | coordinates_footnotes | designation | yearbuilt | yearlit | automated | yeardeactivated | foundation | construction | shape | marking | height | elevation | focalheight | lens | currentlens | lightsource | intensity | range | characteristic | fogsignal | racon | admiralty | canada | NGA | ARLHS | USCG | countrylink | country | countrynumber | managingagent | heritage | module |item}}<noinclude>
{{documentation}}<!-- place category on the /doc sub-page, not here -->
{{documentation}}<!-- place category on the /doc sub-page, not here -->
</noinclude>
</noinclude>

Revision as of 12:27, 20 July 2017