Category:Money templates

From Discworld MUD Wiki
Jump to: navigation, search

These are templates which are used to display monetary values.

They are useful because:

  • They can handle the syntactic nightmare that is Lancre money nicely, especially if it's inserted into a table or template.
  • They standardize the money output (eg. 'AM$50', '$A 50', '$50' and 'A$50' all become 'A$50').
  • They display conversions to all other common currencies on mouseover as a tooltip.
  • They allow tables with a money column that can sort correctly even with mixed currencies.