Template talk:Pounds, shillings, and pence

Latest comment: 1 year ago by TheCurrencyGuy in topic Alternative coding
WikiProject iconUnited Kingdom Template‑class
WikiProject iconThis template is within the scope of WikiProject United Kingdom, a collaborative effort to improve the coverage of the United Kingdom on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
WikiProject iconFinance & Investment Template‑class
WikiProject iconThis template is within the scope of WikiProject Finance & Investment, a collaborative effort to improve the coverage of articles related to Finance and Investment on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
WikiProject iconEconomics Template‑class
WikiProject iconThis template is within the scope of WikiProject Economics, a collaborative effort to improve the coverage of Economics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Alternative coding edit

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)Reply