Template:Infobox lighthouse: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Frietjes
No edit summary
>Frietjes
No edit summary
Line 144: Line 144:
}}{{#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
}}{{#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
}}{{#invoke:lighthouse tracking|tracking|heritage={{#invoke:WikidataIB|getPreferredValue |P1435|name=heritage|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|qid={{{item|}}}|linked=no|noicon=yes|{{{heritage|}}}}}
}}{{#invoke:lighthouse tracking|tracking|heritage={{#invoke:WikidataIB|getPreferredValue |P1435|name=heritage|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|qid={{{item|}}}|linked=no|noicon=yes|{{{heritage|}}}}}
}}{{#ifeq:{{{admiralty|}}}{{{canada|}}}{{{NGA|}}}{{{ARLHS|}}}{{{USCG|}}}{{{countrynumber|}}}|{{#invoke:string|replace|{{{USCG|}}}|
}}{{#ifeq:{{{admiralty|}}}{{{canada|}}}{{{NGA|}}}{{{ARLHS|}}}{{{USCG|}}}{{{countrynumber|}}}|{{#invoke:string|replace|{{{admiralty|}}}{{{canada|}}}{{{NGA|}}}{{{ARLHS|}}}{{{USCG|}}}{{{countrynumber|}}}|
|}}||[[Category:Pages using infobox lighthouse with spurious newlines]]}}<noinclude>
|}}||[[Category:Pages using infobox lighthouse with spurious newlines]]}}<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 11:41, 25 November 2018

Infobox lighthouse
Template:If declined
CoordinatesTemplate:WikidataCoord