Content deleted Content added
m →Parameters for the light: light |
→Maps: document updates in the code |
||
(27 intermediate revisions by 9 users not shown) | |||
Line 1:
{{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==
Line 12:
! Example(s)
! Override parameter
|-
! Name
| Item label and {{Q|P1448}}
| The name of the lighthouse
| Wilsons Promontory Lighthouse
| {{para|name}}
|-
! Image
Line 17 ⟶ 23:
| An image of the lighthouse stored on Wikimedia Commons. A caption can be included with {{Q|P2096}}.
| Cuxhaven 07-2016 photo23 Kugelbake.jpg
| {{para|
|-
! Location
Line 74 ⟶ 80:
|-
! Markings
| {{Q|P462}} qualified by {{Q|P518}}<br>{{Q|P5422}} qualified with {{Q|P1419}}, {{Q|P1114}}, {{Q|P462}}, {{Q|P7469}}, {{Q|P518}}
| Color or other distinctive marks.
| horizontal red stripe
Line 100 ⟶ 106:
| {{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|
|-
! Operator
Line 161 ⟶ 149:
|-
! Automated
| {{Q|P793}} -> {{Q|Q24410992}}
| The date the light was converted to automatic.
| 4 December 1998
Line 193 ⟶ 181:
| {{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}}
|-
Line 202 ⟶ 190:
| {{para|characteristic}}
|-
! LightDome
| n/a
| The dome with flashes.
| [[File:BellRock_dome.gif|center|35px]]
| {{para|
|-
! LightBand
| n/a
| The graphic/pattern of the light.
| [[File: BellRock_band.jpg|center|250x35px|]]
| {{para|lightband}}
|-
! LightVideo
| n/a
| A video of the light within te seachart
|
| {{para|lightvideo}}
|}
Line 229:
== Embedding other templates ==
The {{para|module}} parameter can be used for embedding other templates into this infobox (see [[Wikipedia:Infobox modules]]):
<
{{Infobox lighthouse
| name =
Line 239:
}}
}}
</syntaxhighlight>
== Full list==
Line 247:
*give more than one answer: {{para|fogsignal|Bell (1880)<nowiki><br /></nowiki>Horn 1 every 20s (1915)}}
<
{{Infobox lighthouse
| name =
Line 269:
| intensity =
| range =
| characteristic =
| lightdome =
| lightband =
| lightvideo =
| fogsignal =
| racon =
|
| country =
| countrynumber =
Line 284 ⟶ 283:
| module =
}}
</syntaxhighlight>
==Coordinates==
Line 291 ⟶ 290:
==Maps==
A [[Template:Mapframe|Mapframe]] map is automatically included if:
* There are coordinates specified, either in the {{para|coordinates}} parameter or on the page's Wikidata item
* It has not
The following optional parameters can then be used to adjust the map:
{{Infobox mapframe/doc/parameters
| onByDefault = yes, unless {{para|embed}} is set
| mapframe-marker = lighthouse
}}
== Microformat ==
{{UF-hcard-geo}}
== Tracking
* {{clc|
== See also ==
Line 313 ⟶ 311:
==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 [[Wikipedia:TemplateData|TemplateData]].
|2=
<templatedata>
{
"params": {
"name": {},
"
"suppressfields": {},
"fetchwikidata": {
Line 338 ⟶ 337:
"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": "
},
"automated": {
Line 415 ⟶ 411:
"description": "the letter shown if there is a Racon"
},
"
"description": "the number
},
"countrylink": {
Line 461 ⟶ 445:
"mapframe-long": {},
"mapframe-longitude": {},
"mapframe-caption": {},
"embed": {},
"qs": {},
"refs": {},
"coord_format": {},
"USCG": {},
"light1": {},
"light2": {}
},
"format": "block"
|