Difference between revisions of "Template:M"
From Kerbal Space Program Wiki
Line 1: | Line 1: | ||
− | + | <includeonly>{{#ifeq: {{{3|{{{version|old}}}}}}|new|[[File:{{#ifeq: {{{2|{{{color|black}}}}}}|green|Green money.png|Black money.png}}|10px|link=]]<span style="color:#{{#ifeq: {{{2|{{{color|black}}}}}}|green|A1BC54|000000}}">{{#ifeq: {{{2|{{{color|black}}}}}}|green|'''{{{1}}}'''|{{{1}}}}}</span>|<span style="color:#{{{#ifeq: {{{2|{{{color|black}}}}}}|green|A1BC54|000000}}">{{#ifeq: {{{2|{{{color|black}}}}}}|green|'''{{{1}}}¤'''|{{{1}}}¤}}</span>}}</includeonly><noinclude> | |
A template for writing prices. | A template for writing prices. | ||
== Usage == | == Usage == |
Latest revision as of 09:34, 7 September 2014
A template for writing prices.
Usage
{{m|cost|color|version}}
For exemple, if you want to write "240" in green with the new type, write {{m|240|green|new}}.
The result: 240
Available versions
- old (default type): Old version, with the old sign (¤). The sign is placed after the cost.
- green:A green version of it exists.
- new: New version from 0.24, with the new sign: . The sign is placed before the cost.
- green:A green version of it exists. The sign take the green color too.