Jump to content

Template talk:Hotcold

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

-1

[edit]

Added an option for "-1" to fix User:WereSpielChequers/RFA by month. Let me know if I managed to screw up something :) Snowolf How can I help? 18:39, 18 December 2014 (UTC)[reply]

  • Snowolf, I've removed the explicit -1 parameter (which would have worked just fine) in favor of defining 0 as the previous default number and setting the default to the hex for white. This will have the effect of only applying the color to the defined set of 0-10 and if it finds any unexpected value it doesn't apply a color. This will fix any issue of a user expecting 11 to be darker than 10 and thinking the script is bugged when it is the same color as 0.  :) Happy editing! — {{U|Technical 13}} (etc) 18:52, 18 December 2014 (UTC)[reply]