Wikia

Mafia Wars Wiki

Currency

Talk0
9,860pages on
this wiki

Template page

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to display consistent currency values throughout the wiki. It was primarily designed for use within other templates.
Related
Sub-template Currency/Type is used to directly return only the related currency icon, all numerical data is ignored.
Syntax
{{Currency|<value>|<icon>|<formatnum>}}.
  • value: any style of currency input (ex: 123, BRL123, 123L, N$123) including non-cash currencies (RP, VC, LP).
  • icon=: prefix, suffix, icononly, off (default:prefix). Used to manipulate the placing and inclusion of the related currency icon.
  • formatnum=: yes, no (default:yes). Used to toggle number formatting (ex: 1234 -> 1,234).
Sample output
Syntax Output
{{Currency|1234}}  1,234
{{Currency|BRL$1234}} Brz real sm 1,234
{{Currency|BRL$1234|icon=suffix}} 1,234 Brz real sm
{{Currency|BRL$1234|formatnum=no}} Brz real sm 1234
{{Currency|BRL$1234|icon=icononly}}
or {{Currency/Type|BRL$1234}}
Brz real sm
{{Currency|1234|icon=icononly}}
or {{Currency/Type|1234}}
null
{{Currency|35RP}} Icon-gf-coin 35
Visit Template:Currency/doc to edit this text! (How does this work?)

Around Wikia's network

Random Wiki