Jump to content

Template talk:Infobox weather event

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Chlod (talk | contribs) at 05:26, 26 October 2025 (Convert error: syntax error). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

82.5% Infobox weather event adoption (2,432 / 2,947) as of 8 September 2025

   

Blank parameters

I've noticed that the documentation doesn't have a section with blank parameters, which most infobox documentations have. I really think section should be added, as it would make this template much easier to use. Marelsnyhe (talk) 05:13, 22 August 2025 (UTC)[reply]

Convert error

@Chlod: or any other editor, can you look at the convert error on Great Blizzard of 1888? I've tried to figure out what is going on but I'm kind of lost. This template is pretty complex and I think someone more familiar with its working will have better luck then I. This was introduced by HurricaneZeta's recent edit, but I'm not sure they actually did anything wrong... --Zackmann (Talk to me/What I been doing) 21:04, 25 October 2025 (UTC)[reply]

The problem is that the infobox has pressure = {{convert|29|inHg|hPa|abbr=on|order=flip}}. I guess the article needs to be edited to change the pressure to 980 or use:
  • {{convert|29|inHg|hPa|disp=number}} → 980
Whatever solution is wanted should be documented if this is a common problem. Johnuniq (talk) 04:37, 26 October 2025 (UTC)[reply]
@Zackmann08:  Fixed. Seems like it was a logical error that I failed to fix for |pressure= specifically, though this was already fixed in other fields. Normally, any non-numeric input on any of the fields of the infobox will fall back to spitting the input as-is. This is particularly important for cases where editors want to add citations, footnotes, etc. in the field. The issue was that {{Ifnumber}}, for whatever reason, spits out "0" and "1" instead of the usual template convention of spitting out an empty string on a "falsy" condition (e.g. {{yesno}}) so that it can be used in an #if: parser function. So this functionality was broken on |pressure= specifically. Chlod (say hi!) 05:26, 26 October 2025 (UTC)[reply]