Template talk:Infobox sailboat specifications

message: I noticed that the size of the main image was reduced from 250px to 100px, which seems too small to me.  I based the 250px size on the existing infobox itself, although I did notice that for images that are taller than they are wide, they seemed a bit big.
Is there a way to specify a max height and width (say width 250, height 150) such that any image would be scaled down just enough to fit in a 250×100 rectangle (but without distortion)?
For now I am going to make the image 180px wide (the same as a default thumbnail image). —MJBurrage(T•C) 06:14, 5 January 2008 (UTC)
thread_title: Image size

message: Usually, the infobox title says Name of Boat. Why does this infobox say "specifications under current rules"?? Timneu22 (talk) 14:23, 20 January 2008 (UTC)
replies: text: When I first started adding infoboxes to pages, I took the layout from a class site. At the top of the site was specifications under current rules. I kind of like it that way because it states that the rules have not always been that way. People know the name of the boat from the title of the site and so it is unnecessary to restate it. Minnesota1 (talk) 07:06, 21 January 2008 (UTC)
thread_title: Infobox standard

message: Is it possible to add, next to Olympic and Former Olympic class, Vintage class?
If possible Olympic class in gold, Vintage class in silver and former Olympic in bronze.
Vintage Classes are Former Olympic Classes that participate in the post Olympic Vintage Yachting Games. a 4 yearly event. First organized in 2008 , Medemblik with Europe , Europe , O-Jolle, Flying Dutchman, Soling and Dragon and next time in 2012 , Lake Como with probably also 12’ Dinghy, 12m2 Sharpie, Tornado, Yngling, Tempest, 5.5 Metre, 6 Metre and 8 Metre. — Preceding unsigned comment added by NED33 (talk • contribs) 13:25, 11 August 2009
:Vintage class is still pretty new, and would not mean as much as former Olympic to many readers.  Also the gold/bronze might look confusingly similar when they are on separate pages rather than side-by-side in the same table What about having three choices: 1) Olympic Class (in gold), 2) Vintage Olympic Class (in silver with link), and 3) Former Olympic Class (also in silver with link). —MJBurrage(T•C) 15:27, 11 August 2009 (UTC)
thread_title: Vintage class

message: There is a new field (below) that allows the setting of current, vintage, former, or nothing, that then creates the appropriate bar (with links for vintage and former.
|olympic       = 
This should be used from now on instead of the older olympic fields. —MJBurrage(T•C) 16:27, 11 August 2009 (UTC)
thread_title: New ''olympic'' field

message: I know image size has been discussed before, but I found 150px to be a bit of a problem: images in portrait format, when limited to 150px high, become 100px wide, and that's not enough to see any of the salient features of the boat. (For example, the Mirror). It worked for landscape pictures, but I find that boat pictures are often going to be portrait to display the rigging. Rather than just change it and affect all of the uses of the infobox, I've added an optional imagesize attribute: when set, it overrides the default 250x150px, but when ignored, as it is on all current uses of the template, there's no change and the default sizes are used. While I was at it, I've noticed a push in parts of WP (mostly FAC, FAR & GAN, but I presume elsewhere) for alt tags to be included with images, so I added an optional alt tag
Both have been left out of the documentation in case someone has a problem with the changes. Both changes can be seen at Holdfast Trainer, although as an infobox it's a poor example, because I haven't been able to track down the boat's official specs yet. - Bilby (talk) 08:45, 17 January 2010 (UTC)
thread_title:  Image size and alt tags 

message: I think a couple of additional fields may be useful. I think Boat Weight and Ballast Weight as would a field about ISAF status. One way this could be achieved if template length is an issue is to change "Hull Weight" to "Weight" and the entre for example "XYZkg Boat <.br > XYZkg Hull < br > XYZkg Keel". I am concerned about the template getting to long therefore would appreciate peoples thoughts on this matter. And whether they have any other thoughts. (talk) 12:56, 8 May 2012 (UTC)
replies: text: I'm generally in favour of more fields, Bilby; different things are important for different boats, so the as-used infoboxes are rarely anywhere near as long as the template. I find the development information particularly useful as it often gives the body of water something was designed for. I'd suggest adding "angle of vanishing stability" (with "self-righting" as an acceptable angle). Something to indicate a bit more of the data from an inclining test would be good; to show, say, that a Hobie cat with a masthead float cannot turtle. A graph of righting force as a function of angle might be best, but this is not available for many boats. HLHJ (talk) 02:28, 29 July 2019 (UTC)
thread_title: Additional Fields - Session 2

message: As highlighted in Talk:Redwing_(keelboat) at least one boat class has no class symbol, and the colour of the material of the sail is integral to the identification of the class. This can be hacked in with  for the class_symbol but technically the class_symbol is  as each boat has a unique number, as with the Opera Class. Alexx.net (talk) 16:14, 14 March 2014 (UTC)
replies: text: not sure what you are asking, you can leave this field blank? Frietjes (talk) 01:14, 15 March 2014 (UTC)

text: I guess I'm starting a conversation about boat class identification as envisioned by this template. Many classes have a symbol, but before that became a thing classes, like signalling in a small town, ("why bother? Everyone knows where I'm going") some older classes don't have/put a symbol on their sail. In the case of the Redwing class the sail colour can be considered integral to the identification, (it is certainly distinct.) I'm pro-machine readable templates, but if the data being read is incorrect then it is unhelpful, and if we just leave it out, (in order to migrate to using this template) then the humans reading the Redwing wiki page loses out. alexx (talk) 19:51, 15 March 2014 (UTC)
replies: text:  so, would it be helpful to have an additional field that is an alternative to , like  or something? Frietjes (talk) 23:02, 17 March 2014 (UTC)
thread_title: Further request/Issues with this template

message: Why is it that when a number or conversion template is used for this parameter that it does not display in the infobox? See Bayfield 25 for an example. - Ahunt (talk) 13:44, 29 September 2017 (UTC)
thread_title: Hull draft parameter

message: I've added a section TemplateData in the template documentation. It makes it easier for users to edit the InfoBox using the VisualEditor (need to uncheck 'temporary disable visual editor while it is in beta') simon (talk) 13:03, 13 March 2021 (UTC)
thread_title: Added TemplateData

message: Hi, I added in the below cell of the template Template:EditOnWikidata to make it easier to update the corresponding Wikidata entry. The longer-term objective is to have the infobox display Wikidata info when available, while keeping the priority to any data inputted directly in the infobox. Meaning that if someone inputs a value directly in the infobox, this value will override whatever is in Wikidata. simon (talk) 01:32, 29 March 2021 (UTC)
thread_title:  Added [editOnWikidata] 

message: Aren't 'draft' (data46 displayed in the Boat section) and 'hull draft' (data76 displayed in the Hull section) the same? Are you ok if I merge them? Here is a code proposal in sandbox and the associated test cases where you can see how it would render post-merge. simon (talk) 03:34, 14 April 2021 (UTC)
replies: text: I think that they are the same thing - not sure why they are two template entries. I have been using "draft" and leaving "hull draft" blank. Also the parameter "air draft" is obscure. At least one ref I have calls this "bridge clearance". - Ahunt (talk) 14:19, 14 April 2021 (UTC)
replies: text: perfect. I'll merge "hull draft" into "draft". simon (talk) 03:42, 15 April 2021 (UTC)
replies: text: Do not merge, it is very clear hull draft is the draft of the hull, boat draft is the draft of the boat so the hull and hull appendages combined. Hull draft is often called canoe body draft but I went with the World Sailing Equipment Rules of Sailing when I did this. I thought I had made this clear in the item descriptions I will check this. In regards to the double entries of output criteria under a few criteria this is historic so that old templates would not be invalidated by my amendments to the structure. Yachty4000 (talk) 16:30, 16 April 2021 (UTC)
replies: text:  I looked in more details at the usage of the parameters of the infobox template. And did a summary for 'draft' and 'hull draft' here. You can see that out of the 1.5k sailboat infoboxes: ​833 use 'draft' and 219 use 'hull draft'. However, only 10 have data for both 'draft' and 'hull draft'. And out of these 10, 8 had the same data for both parameters. My opinion is that editors have inputted the draft of the boat in the field 'hull draft' instead of 'draft' 217 times; probably because 'hull draft' is placed just below LOA, LOH, LWL, Beam. I suggest to correct these 217 entries (via bot), place 'draft' below 'beam', and remove 'hull draft'. What do you think? simon (talk) 13:52, 19 April 2021 (UTC)
replies: text:  I wish I understood wikipedia to this level I end up building spreadsheet that write wikipedia tables and thats as far as I have got. I am not surprised so few templates have hull draft. It is relevant to lifting keel boats, dinghies and box rules but I suspect few have researched the data for the pages. Hull draft should be maintained as a place holder the whole template is based on the World Sailing Equipment Rules of Sailing structure. I think it would be quicker to fix those 10 pages manually but I don't understand bots. It would also be interesting how many hull drafts are over 500mm as these are 99% of the time wrong and actually draft values. Thanks for looking at this Yachty4000 (talk) 16:30, 16 April 2021 (UTC)
thread_title:  merge draft & hull draft? 

message: simon you clearly understand these things by your latest amendments. Can you tell me whether the templates can be driven by wikicommon. I am not sure of the difference in purpose in wikicommon and wikidata except "common" seems better designed and linked in terms of powering databox where as I guess wikidata is more of a database but I am not really sure. Yachty4000 (talk) 16:30, 16 April 2021 (UTC)
replies: text: Wikicommons is a for "images, sounds, other media": boat pictures and logos in Commons. Wikidata (knowledge graph) is for structured data: boat designer, builder, LOA, draft, sails area, mast length, ... in Wikidata. Templates, in particular Infoboxes, can pull structured data from Wikidata and media from Wikicommons. We can do mass import of structured data into Wikidata which then allow to auto generate the Infobox, so that we can concentrate on writing content and not copy/pasting LOA, sail area... simon (talk) 17:26, 16 April 2021 (UTC)
replies: text:  If your in a position to add fields to wikidata then there is a lot we can do to simplify this template and improve wikipedia in other language we don't understand. See my comment above about hull draft. I have done quite a bit in wikicommon in terms of grouping and linking and a little on wikidata but found it limiting. If it is clever enough to allow data like a XML database then it has great potential for things like results as you can use the data in different ways. Yachty4000 (talk) 16:30, 16 April 2021 (UTC)
replies: text: Yes, we can add fields to wikidata and generate the infobox or other template based on that data. see [sailboat infobox from wikidata]. More details on the Wikidata Sailing project (sister project of Wikipedia Sailing). You can ask there if you want help adding fields on a given topic simon (talk) 22:45, 22 April 2021 (UTC)
thread_title: Wikidata vs Wikicommon

message: Why is there a plus sign after the image caption? Nardog (talk) 11:49, 4 April 2023 (UTC)
replies: text: That only appears where there is a formatting error that has caused it. If you can indicate where you have seen that, I can probaly resolve it for you. - Ahunt (talk) 12:20, 4 April 2023 (UTC)
replies: text: Template:Infobox sailboat specifications#Example, TP 52, Europe (dinghy), 2.4 Metre. Added here by Simon.letort. I assume it was a mistake. Nardog (talk) 12:26, 4 April 2023 (UTC)

text: Look again. I've just removed it. Nardog (talk) 15:39, 4 April 2023 (UTC)
replies: text: Okay well thanks for doing that. - Ahunt (talk) 16:20, 4 April 2023 (UTC)
thread_title:  Plus sign