Forum:Number Suffix

Is there any way for a template to take a numerical parameter and figure out which suffix the number needs?


 * You would need a series of if statements, probably making it more complicated than you wanted.--


 * There's a template on Wikipedia that just that, so you could copy relevant code depending what exactly it is you want to achieve. — Sovq 16:27, June 6, 2011 (UTC)