Template:Infobox lighthouse/doc
{{Documentation subpage}}
{{High-use}}
{{Auto short description}}
{{Lua|Module:Infobox|Module:Coordinates|Module:InfoboxImage|Module:Lighthouse tracking|Module:String|Module:Wikidata|Module:WikidataIB|Module:Check for unknown parameters}}
{{tl|Infobox lighthouse}} may be used to summarise information about a lighthouse. Much of this infobox's data will be retrieved from Wikidata. Editors are encouraged to add data to the relevant item.
Parameters for the tower
class="wikitable"
! Label ! Wikidata properties ! Usage ! Example(s) ! Override parameter |
Name
| Item label and {{Q|P1448}} | The name of the lighthouse | Wilsons Promontory Lighthouse | {{para|name}} |
---|
Image
| {{Q|P18}} qualified by {{Q|P2096}} | An image of the lighthouse stored on Wikimedia Commons. A caption can be included with {{Q|P2096}}. | Cuxhaven 07-2016 photo23 Kugelbake.jpg | {{para|image}}, {{para|caption}} |
Location
| {{Q|P625}}, {{Q|P706}}, {{Q|P276}}, {{Q|P131}}, {{Q|P17}} | Location of the lighthouse. | {{Q|Q126514}} | {{para|location}} |
OS grid
| {{Q|P613}} | Ordnance Survey National Grid coordinates. | NZ40806416 | {{para|grid_ref_UK}} |
Coordinates
| {{Q|P625}} | Latitude and longitude of the position of the lighthouse. If specifying manually, use the {{tl|Coord}} template. A map will automatically be included in the infobox unless it is turned off (see #Maps). | 29°4'18.012"N, 48°29'35.988"E | {{para|coordinates|{{tlf|Coord||N||E}}}} |
Constructed
| {{Q|P571}} | Date of start of construction. | 1897 | {{para|yearbuilt}} |
Designed by
| {{Q|P287}} | Designer of the lighthouse. | {{Q|Q27835212}} | {{para|suppressfields|designer}} |
Built by
| {{Q|P193}}, {{Q|P631}} | Engineer or builder of the lighthouse. | {{Q|Q1355182}} | {{para|suppressfields|builder}} |
Foundation
| n/a | The material of the foundation. | concrete | {{para|foundation}} |
Construction
| {{Q|P186}} qualified with {{Q|P518}} | The material of the structure. | {{Q|Q41177}} | {{para|construction}} |
Tower shape
| {{Q|P1419}} qualified with {{Q|P518}} | The shape of the structure. | {{Q|Q9090332}} | {{para|shape}} |
Markings
| {{Q|P462}} qualified by {{Q|P518}} | Color or other distinctive marks. | horizontal red stripe | {{para|marking}} |
Tower height
| {{Q|P2048}} | The total height of the structure above ground. | 10 metres | {{para|height}} |
Power source
| {{Q|P618}} | Source of power for the lighthouse | {{Q|Q1483757}} | {{para|suppressfields|powersource}} |
Fog signal
| n/a | The type and frequency of any fog signal, e.g. bell, horn, etc., as given in the light list. | HORN: 1 blast ev 15s (2s bl) | {{para|fogsignal}} |
Racon
| {{Q|P3994}} | The letter transmitted in morse code by the Racon, if it has one. | M(--) 18NM | {{para|racon}} |
MMSI
| n/a | AIS/Maritime Mobile Service Identity, if it has one. | 993251046 (Ardnamurchan) | {{para|mmsi}} |
Operator
| {{Q|P137}} qualified with {{Q|P580}} and {{Q|P582}} | The authority responsible for operating the light. | Trinity House | {{para|managingagent}} |
Heritage
| {{Q|P1435}} | A description of the lighthouse's heritage status. | NRHP listed place | {{para|heritage}} |
Parameters for the light
class="wikitable"
! Label ! Wikidata properties ! Usage ! Example(s) ! Override parameter |
First lit
| {{Q|P729}} | Date that the light entered service. | 27 June 1904 | {{para|yearlit}} |
---|
Deactivated
| {{Q|P730}} | If the light is no longer in service, the date it was decommissioned. | June 1980 | {{para|yeardeactivated}} |
Automated
| {{Q|P793}} -> {{Q|Q24410992}} qualified with {{Q|P585}} | The date the light was converted to automatic. | 4 December 1998 | {{para|automated}} |
Focal height
| {{Q|P2923}} qualified with {{Q|P462}} | The height of the light above mean sea level. When a navigator's light list simply shows a value for 'height', that should be entered here. | 14 metres | {{para|focalheight}} |
Lens
| {{Q|P9597}} qualified with {{Q|P580}} and {{Q|P582}} | The type of lens used in the light. | {{Q|Q24629169}}, {{Q|Q7907476}} | {{para|lens}} |
Light source
| n/a | Source of illumination of the light. | CDM T lamp, High intensity LED lamp | {{para|lightsource}} |
Intensity
| {{Q|P3041}} qualified with {{Q|P462}} | Luminous intensity of the light, measured in candela. | 14,400 candela | {{para|intensity}} |
Range
| {{Q|P2929}} qualified with {{Q|P462}} | The distance from which the light can be seen, usually given in nautical miles. If the light has more than one color, then several ranges can specified, one for each color. | {{convert|8|nmi|km|disp=sqbr}} | {{para|range}} |
Characteristic
| {{Q|P1030}} qualified with {{Q|P805}}, {{Q|P580}} and {{Q|P582}} | The pattern of flashes in shorthand notation. See Light characteristic for examples and explanation. | Fl(2) W 10s | {{para|characteristic}} |
LightDome
| n/a | The dome with flashes. | {{para|lightdome}} |
LightBand
| n/a | The graphic/pattern of the light. | {{para|lightband}} |
LightVideo
| n/a | A video of the light within te seachart | | {{para|lightvideo}} |
Bespoke numbering systems
If a country has its own numbering system (such as the Netherlands), the country name, ID number and a link (optional) may be specified.
- {{para|country}}
- {{para|countrynumber}}
- {{para|countrylink}}
Fetch wikidata
To fetch specific fields from Wikidata (and no others) the {{para|fetchwikidata}} can be used. For example, to fetch the date of construction and the date of deactivation, use:
- {{para|fetchwikidata|constructed,yeardeactivated}}
If this parameter is not specified then all available fields will be fetched.
To suppress certain fields (but fetch others), the {{para|suppressfields}} can be used. For example, to suppress the range of the lighthouse and its intensity, use:
- {{para|suppressfields|range,intensity}}
If this parameter is not specified then no fields will be suppressed.
By default, the template will use the Wikidata item associated with the article. In some cases (for example, if the article is about an island but contains some information about a lighthouse on that island) you will need to specify the Wikidata Q-identifier using {{para|qid}}. For example:
- {{para|qid|Q28333621}}
Embedding other templates
The {{para|module}} parameter can be used for embedding other templates into this infobox (see Wikipedia:Infobox modules):
{{Infobox lighthouse
| name =
...
| module =
{{Infobox example
| embed = yes
...
}}
}}
Full list
Parameters left blank will not be shown. All of the parameters are text fields so you can, for example
- list in a span of years: {{para|yeardeactivated|1952–1980}}
- provide explanation: {{para|yearlit|1880 (current tower)}}
- give more than one answer: {{para|fogsignal|Bell (1880)
Horn 1 every 20s (1915)}}
{{Infobox lighthouse
| name =
| image_name =
| image_width =
| caption =
| location =
| coordinates =
| yearbuilt =
| yearlit =
| automated =
| yeardeactivated =
| foundation =
| construction =
| shape =
| marking =
| height =
| focalheight =
| lens =
| lightsource =
| intensity =
| range =
| characteristic =
| lightdome =
| lightband =
| lightvideo =
| fogsignal =
| racon =
| mmsi =
| country =
| countrynumber =
| countrylink =
| managingagent =
| heritage =
| module =
}}
Coordinates
For coordinates, use {{para|coordinates}} with {{tl|Coord}}. See the Coord template's documentation for details on usage. For example, {{para|coordinates|{{tlf|coord|1|2|N|3|4|E|type:landmark|display{{=}}inline,title}}}}
Maps
A Mapframe map is automatically included if:
- There are coordinates specified on the page's Wikidata item
- It has not be turned off by setting {{para|mapframe|no}}
The following optional parameters can then be used to adjust the map
- {{para|mapframe-zoom}} zoom level (default is {{kbd|10}})
- {{para|mapframe-width}} and {{para|mapframe-height}} for the map size (defaults are {{kbd|270}} and {{kbd|200}})
- {{para|mapframe-marker}} for the marker icon (default is no marker icon)
- either {{para|mapframe-marker-color}} or {{para|mapframe-marker-colour}} for the marker colour (hex triplet, default is
#5E74F3
) - {{para|mapframe-caption}} caption below the map
- {{para|mapframe-lat}} and {{para|mapframe-long}} (or {{para|mapframe-latitude}} and {{para|mapframe-longitude}}) – alternate initial latitude and longitude for the map, instead of the lighthouse coordinates. Specify as a decimal number.
Microformat
{{UF-hcard-geo}}
Tracking categories
- {{clc|Infobox lighthouse tracking}}
See also
{{Buildings and structures infobox templates}}
TemplateData
{{TemplateData header|nolink=1}}
{{show
|frame-style = border: 1px solid silver; padding: 0.3em;
|head-style = background-color: #DDDDFF; text-align: center;
|1 = Click the [show] link to the right to display the TemplateData.
|2=
{
"params": {
"name": {},
"qid": {},
"suppressfields": {},
"fetchwikidata": {
"label": "Fetch wikidata",
"description": "use and leave blank to turn off Wikidata values"
},
"image_name": {},
"image_width": {},
"image size": {},
"image_size": {},
"imagesize": {},
"image_upright": {},
"alt": {},
"image": {},
"caption": {},
"coordinates": {},
"map_caption": {},
"onlysourced": {},
"location": {},
"grid_ref_UK": {},
"designation": {},
"yearbuilt": {
"label": "Year built",
"description": "usually the year the light first built"
},
"yearlit": {
"label": "Year lit",
"description": "the year the light entered service, if different from yearbuilt"
},
"automated": {
"label": "Year automated",
"description": "the year it was automated"
},
"yeardeactivated": {
"label": "Year deactivated",
"description": "If the light is no longer in service, list the year it was last working"
},
"foundation": {
"label": "Foundation material",
"description": "the material of the foundation"
},
"construction": {
"label": "Construction material",
"description": "the material of the structure"
},
"shape": {
"label": "Structure shape",
"description": "the shape of the structure",
"example": "Cylindrical, conical, pyramidal"
},
"marking": {
"label": "Marking",
"description": "color or other distinctive marks"
},
"height": {
"label": "Height above foundation",
"description": "the total height of the structure above its foundation"
},
"focalheight": {
"label": "Focal height",
"description": "the height of the actual light source above mean sea level"
},
"lens": {
"label": "Lens",
"description": "the type of lens originally used in the light",
"example": "Fresnel lens"
},
"lightsource": {
"label": "Light source",
"description": "the source of illumination"
},
"intensity": {
"label": "Intensity",
"description": "candlepower"
},
"range": {
"label": "Range",
"description": "the distance at which the light can be seen"
},
"characteristic": {
"description": "the pattern of flashes, given in the light list"
},
"fogsignal": {
"label": "Fog signal",
"description": "the type and frequency of any fog signal",
"example": "Bell, horn"
},
"racon": {
"description": "the letter shown if there is a Racon"
},
"mmsi": {
"description": "the number of the AIS/MMSI"
},
"countrylink": {
"description": "a (non mandatory) link to the country's list of lighthouses or the website hosting that list"
},
"country": {
"description": "if a country has its own numbering system, the country name",
"example": "Netherlands"
},
"countrynumber": {
"description": "number according to the country's numbering system"
},
"managingagent": {
"label": "Managing agent",
"description": "the authority responsible for operating the light"
},
"heritage": {
"description": "a description of the building's heritage status"
},
"module": {
"description": "used for embedding other templates into this infobox"
},
"mapframe": {},
"mapframe-zoom": {},
"mapframe-width": {},
"mapframe-height": {},
"mapframe-marker": {},
"mapframe-marker-color": {},
"mapframe-marker-colour": {},
"mapframe-lat": {},
"mapframe-latitude": {},
"mapframe-long": {},
"mapframe-longitude": {},
"mapframe-caption": {},
"embed": {},
"qs": {},
"refs": {},
"coord_format": {},
"USCG": {},
"light1": {},
"light2": {}
},
"format": "block"
}
}}
Category:Templates that add a tracking category
}}