From Discworld MUD Wiki
Revision as of 23:25, 17 February 2017 by Frazyl (Talk | contribs) (upd)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

  This template displays in <span> tags the value of an amount of money in brass coins in various other currencies.

It is meant to be called by another template, like so: {{Wibi|111111}}

There are two display mode:



&&&&&&&&&+111111 111111

In this mode it adds a <span class="hid"> with the value in brass coins in front to allow sorting in tables.



&&&&&&&&&+111111 111111 ||A$277.77 || DjToon 555.55 || 231Rh 57s || LSov 5|4|3|7 1/4 || 3,7,0,37Gd || 11M S28|67de || 222,22 dr || Tdr 158,73 || 277 Pumpkin dollars and 77 Pumpkin pence || 3 deevkeee, 70 zeeven and 37 neeeteep || 55555 Zchloty leaden quarter-iota || 111111 wibi

In this mode it gives output appropriate to show as a row in a table.


First parameter

The amount of money, in brass coins or wichit beads, which are made of natural numbers (positive integers, which excludes fractions), e.g. 12345.

Every coin of every currency in game can be expressed as a natural number of brass coins.

Helper templates (in Category:Money_templates) exist for the various currencies to obtain the number of brass coins and that then call this template to display the amount in the various currencies.


If you assign any value to the table argument it displays in table mode. Putting yes is just more readable than putting something else.