Template talk:Infobox lighthouse

message: Is there interest in adding any of the following identifiers to the infobox? — Martin (MSGJ · talk) 21:59, 1 March 2021 (UTC)
thread_title:  Additional identifiers 

message: If a lighthouse takes several years to construct (not unusual) should this field record the start of construction or the end of construction? — Martin (MSGJ · talk) 16:35, 2 March 2021 (UTC)
replies: text: I don't know if anyone else is watching and would like to comment? My opinion is that "Constucted" should logically give the date of start of construction. If it was the end of construction, then it would in most cases coincide with the "First lit" field. — Martin (MSGJ · talk) 14:26, 4 March 2021 (UTC)
thread_title: Year first constructed

message: The infobox will now recognise some qualifiers from Wikidata. For example:
yields the example on the right. I will endeavour to document these features shortly — Martin (MSGJ · talk) 19:02, 16 March 2021 (UTC)
thread_title: Qualifiers

message: I suggest merging Original lens and Current lens into simply Lens. If both fields are used then qualifiers (original) and (current) could be added automatically. If just one is used, then no qualifier is needed.
The reason is that if the current is the same as the original, then the infobox looks a little silly. — Martin (MSGJ · talk) 15:53, 16 March 2021 (UTC)
replies: text: I have emptied :Category:Lighthouses using current lens parameter only by renaming the "currentlens" parameter to "lens". I am planning to start on the remaining articles in :Category:Lighthouses using current lens parameter by appending (original) and (current) to the values and merging, i.e. for example, from
 | lens = Fourth order Fresnel lens
 | currentlens = 375 mm lens 
to
 | lens = Fourth order Fresnel lens (original), 375 mm lens (current)
— Martin (MSGJ · talk) 22:36, 10 June 2021 (UTC)

text: All instances have been converted, and the currentlens parameter will be removed shortly — Martin (MSGJ · talk) 20:16, 16 June 2021 (UTC)
thread_title:  Lens 

message: I don't think CHS number (linked to Canadian Hydrographic Service) is an accurate name for this. The list of lights appears to be maintained by the Canadian Coast Guard. Editors have got around the issue by prefixing the number with CCG. I suggest renaming this label to CCG number and then these prefixes would be redundant. — Martin (MSGJ · talk) 12:03, 7 May 2021 (UTC)
replies: text: — Martin (MSGJ · talk) 09:48, 13 May 2021 (UTC)

text: These have now been cleared — Martin (MSGJ · talk) 22:44, 10 June 2021 (UTC)
thread_title:  CHS number 

message: Hi, is there any interest in adding an "owner" parameter in the infobox? In most cases a lighthouse is owned by the national government of the site but an exception is possible. Regards, ... PeterEasthope (talk) 13:15, 23 July 2021 (UTC)
replies: text: There is , which displays with the heading Operator:. Since there are probably very few cases where the owner is different that the operator, exceptions can be handled by saying something like "(owned by national government)" after showing the operator. MB 14:19, 23 July 2021 (UTC)

text: I think adding "owner" would be an excellent idea, but perhaps with advice not to include unless it is different from operator? — Martin (MSGJ · talk) 17:56, 14 September 2021 (UTC)
thread_title:  Owner parameter? 

message: For those editors interested in using Wikidata to store the data for the infoboxes, I have been working on a tool to help import directly from the infobox template.
Adding  adds a link to QuickStatements which can quickly import some of the data from the infobox. For a proof of concept, try clicking the colored arrow  on the infobox below.
It is not infallible! It needs to be used with care, and the results should be reviewed afterwards. Some known limitations:
*Units are fixed to metres (height and focal height) and nautical miles (range). If any different units are used in the infobox, errors will be introduced.
*Any preceding characters in front of values will stop it working. For example  would not work.
*A character inside a number (e.g. ) will be truncated to 15.
*Statements are marked as imported from enwiki, but should be referenced to a reliable source where possible. — Martin (MSGJ · talk) 19:59, 14 September 2021 (UTC)
thread_title:  Importing to Wikidata 

message: I am happy to report that the admiralty number in the template is now fully aligned with  on Wikidata. To keep them synchonised I am proposing to remove the local parameter and just use the value on Wikidata. This will be the first step towards a master plan that I proposed earlier in the year. — Martin (MSGJ · talk) 17:32, 22 September 2021 (UTC)
replies: text: Update: NGA number and CCG number are now fully aligned with their Wikidata values, so the local parameters for these have been turned off. Still to do: ARLHS number and USCG number — Martin (MSGJ · talk) 07:51, 30 September 2021 (UTC)

text: Update: ARLHS number is now aligned with Wikidata and the local parameter has been switched off — Martin (MSGJ · talk) 13:04, 30 October 2021 (UTC)
thread_title:  Admiralty number syncronised with Wikidata 

message: We are grouping properties of the tower at the top of the infobox and properties of the light at the bottom of the infobox. What do people think about adding some headings to make the distinction clearer? An example is shown right. — Martin (MSGJ · talk) 13:42, 3 November 2021 (UTC)
replies: text: This now been implemented — Martin (MSGJ · talk) 17:04, 15 November 2021 (UTC)
thread_title:  Sections for tower and light 

message: I have discovered that if two images are held on Wikidata and only the second one has a caption, then the template will give the first image but give it the caption of the second image! I will look into fixing this somehow ... — Martin (MSGJ · talk) 19:16, 3 November 2021 (UTC)
thread_title:  Bug in code 

message: I think image would be a simpler parameter name than image_name. The latter is unintuitive and always forces me back to the template documentation when I find that image doesn't work! I suggest the template should accept the image parameter as an alternative. — Martin (MSGJ · talk) 13:38, 7 March 2022 (UTC)
thread_title:  Image parameter 

message: I have posted a request at WP:BOTREQ to remove several parmeters which are no longer used by this template. They are listed below.
 — Martin (MSGJ · talk) 13:39, 7 March 2022 (UTC)
replies: text: This has now been completed — Martin (MSGJ · talk) 08:53, 8 March 2022 (UTC)
thread_title:  Deprecated parameters 

message: I'm thinking it would be good to have a section in the infobox for the history of the lighthouse, including all significant dates. We can bring the "constructed", "first lit", "automated" into this section along with other important dates like "commissioned", "electrified", "destroyed", etc. Of course they would need to be in chronological order to make sense. I will make a mock-up to see what it would look like. — Martin (MSGJ · talk) 20:42, 2 April 2022 (UTC)
thread_title:  History section