Difference between revisions of "Template:Cmoney"

From Discworld MUD Wiki
Jump to: navigation, search
(Chee Smee Blee money)
 
(Try not to lower case to fix huge slowdown)
 
Line 2: Line 2:
 
Input with default: -->{{#vardefine:input|{{{1|1 zeef}}}}}<!--
 
Input with default: -->{{#vardefine:input|{{{1|1 zeef}}}}}<!--
 
Arguments:          -->{{#vardefine:raw|{{{raw|}}}}}{{#vardefine:table|{{{table|}}}}}<!--
 
Arguments:          -->{{#vardefine:raw|{{{raw|}}}}}{{#vardefine:table|{{{table|}}}}}<!--
Convert to wibi:    -->{{#vardefine:wibi|{{#expr:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{lc:{{#var:input}}}}|and|+}}|,|+}}|deevkeee|deev}}|deev|*30000}}|zeeven|zeef}}|zeef|*300}}|neeeteep|neeet}}|neeet|*3}}}}}}<!--
+
Convert to wibi:    -->{{#vardefine:wibi|{{#expr:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#var:input}}|and|+}}|,|+}}|deevkeee|deev}}|deev|*30000}}|zeeven|zeef}}|zeef|*300}}|neeeteep|neeet}}|neeet|*3}}}}}}<!--
 
If raw show wibi:  -->{{#if:{{#var:raw}}|{{#var:wibi}}|<!--
 
If raw show wibi:  -->{{#if:{{#var:raw}}|{{#var:wibi}}|<!--
 
Show brassconvert:  -->{{brassconvert|{{#var:wibi}}|table={{#var:table}}}}<!--
 
Show brassconvert:  -->{{brassconvert|{{#var:wibi}}|table={{#var:table}}}}<!--

Latest revision as of 23:25, 18 February 2017

&&&&&&&&&&&&+300 1 zeef

[edit]

Documentation
 

This template is used to display Chee Smee Blee money.

This template also causes conversions to all other common currencies to be displayed on a mouseover.

Usage

Just enter the Chee Smee Blee money as you see it for the parameters.

For example, to display '3 deevkeee, 3 zeeven and 3 neeeteep', just do '{{Cmoney|3 deevkeee, 3 zeeven and 3 neeeteep}}'.

This will do this: &&&&&&&&&&+90909 3 deevkeee, 3 zeeven and 3 neeeteep