Template talk:Adv
From A KoL Wiki
I've added an #ifeq check to this template's call to plural:, as I noticed that it incorrectly produced text like '1-5 Adventure' when given an amount beginning with '1-' (because plural: parses its first parameter as a number and therefore stops reading it at the first non-numeric character - such as '-').
The check simply compares the given amount to the string '1' and passes plural: either 1 or 2 depending on equality. It's an ugly hack, but it works. --GalenKemensen 10:38, 30 September 2008 (UTC)