Template:Infobox lighthouse: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Evad37
(add automatic mapframe maps, per talk)
>Cabayi
(rm elevation from list of known parameters as 1st step for DePiep's request)
Line 142: Line 142:
| data100 = {{#if:{{{fetchwikidata|ALL}}}|{{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|}}}}} }}}}}}}}
| data100 = {{#if:{{{fetchwikidata|ALL}}}|{{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 | mapframe | mapframe-zoom | mapframe-width | mapframe-height | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-caption | mapframe-lat | mapframe-latitude | mapframe-long | mapframe-longitude}}<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 | focalheight | lens | currentlens | lightsource | intensity | range | characteristic | fogsignal | racon | admiralty | canada | NGA | ARLHS | USCG | countrylink | country | countrynumber | managingagent | heritage | module | item | mapframe | mapframe-zoom | mapframe-width | mapframe-height | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-caption | mapframe-lat | mapframe-latitude | mapframe-long | mapframe-longitude}}<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:40, 29 October 2018

Infobox lighthouse
Template:If declined
CoordinatesTemplate:WikidataCoord