Difference between revisions of "Template:Rhinu"

From Discworld MUD Wiki
Jump to: navigation, search
m (Added link to template category)
(move span title to brassconvert)
Line 1: Line 1:
<includeonly><span title="{{brassconvert|{{#expr:{{#replace:{{#if:{{#pos:{{{1}}}|s}}|{{#replace:{{{1}}}|Rh|* 480 +}}|{{#replace:{{{1}}}|Rh|* 480}}}}|s|*4}}}}}}" style="border-bottom:1px dotted">{{#if:{{#pos:{{{1}}}|s}}|{{#replace:{{#replace:{{{1}}}| |}}|Rh|Rh&nbsp;}}|{{#replace:{{{1}}}| |}}}}</span></includeonly><noinclude>[[Category:Templates]] [[Category:Money templates]]{{documentation}}</noinclude>
+
<includeonly>{{brassconvert|{{#expr:{{#replace:{{#if:{{#pos:{{{1}}}|s}}|{{#replace:{{{1}}}|Rh|* 480 +}}|{{#replace:{{{1}}}|Rh|* 480}}}}|s|*4}}}}}}{{#if:{{#pos:{{{1}}}|s}}|{{#replace:{{#replace:{{{1}}}| |}}|Rh|Rh&nbsp;}}|{{#replace:{{{1}}}| |}}}}</span></includeonly><noinclude>[[Category:Templates]] [[Category:Money templates]]{{documentation}}</noinclude>

Revision as of 04:44, 10 February 2017

[edit]

Documentation
 

This template is used to display Agatean money.

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

Usage

Just enter the Agatean money as you see it for the parameters.

For example, to display '50Rh 30s', just do '{{rhinu|50Rh 30s}}'.

This will do this: &&&&&&&&&&+24120 50Rh 30s