Template talk:Pounds, shillings, and pence

Alternative coding
Would it be possible to recode this template so it displays the £sd value rather than always converting it to a decimal format? Historical articles could really use a pre-formatted £sd template.

I would suggest the most commonly used form: "£5/10/6.". Although it would also be possible to use a variantion such as "£5:10/6.", or "£5.10s.6d.".

A negative value (except for the last example) should display a dash instead of a 0, as was typically the case in £sd notation (eg. £5/–/6. or £5/10/–.), a negative value for the "£" column should omit £ (eg 10/6.) and a negative value for both "£" and "s" should display d alone (eg. 6d.).

A good idea might be to have an optional inflation calculation follow the £sd value. Sterling's decline in value since 1914 means a user is more likely to want an inflation adjusted figure than simply an approximation of the £sd value in decimal. If (for example) an article mentions that Henry VIII spent 15 shillings on a pair of boots in 1537 the user will probably be more interested to see an inflation-adjusted calculation of that value rather than "£0.75".

I realise this might be a lot to ask, but thank you in advance. TheCurrencyGuy (talk) 05:14, 2 July 2022 (UTC)