Difference between revisions of "Template:Currency"
From eRepublik Official Wiki
(description updated) |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{Nowrap|1=[[File:{{Currency/Switch|{{{1}}}}}|16px]] {{#if: {{{2|}}}|{{{2}}} }}{{Currency/Switch2|{{{1}}}}}|<font color="blue">{{{1|GOLD}}}</font>}}</includeonly><noinclude>This is the '''Currency template''' | + | <includeonly>{{Nowrap|1=[[File:{{Currency/Switch|{{{1}}}}}|16px]] {{#if: {{{2|}}}|{{{2}}} }}{{Currency/Switch2|{{{1}}}}}|<font color="blue">{{{1|GOLD}}}</font>}}</includeonly><noinclude>This is the '''Currency template'''. It will produce the flag of the [[currency]] entered with a link to the currency of the respective country. If an amount is specified, then it will be shown as well. The text of the template will not wrap around at the end of a line. |
+ | __NOTOC__ | ||
+ | ==Currency code== | ||
+ | Writing {{Pre|code=yes|<nowiki>{{Currency|PKR|20}}</nowiki>}} will produce {{Currency|PKR|20}}. | ||
− | Writing {{Pre|code=yes|<nowiki>{{Currency| | + | ==Country== |
+ | Writing {{Pre|code=yes|<nowiki>{{Currency|Croatia|50}}</nowiki>}} will produce {{Currency|Croatia|50}}. | ||
+ | ==Gold== | ||
[[Gold]] is also included with this template. If you write {{Pre|code=yes|<nowiki>{{Currency|Gold|5}}</nowiki>}}, the template will produce {{Currency|Gold|5}}. | [[Gold]] is also included with this template. If you write {{Pre|code=yes|<nowiki>{{Currency|Gold|5}}</nowiki>}}, the template will produce {{Currency|Gold|5}}. | ||
+ | |||
+ | ==Nothing specified== | ||
+ | If no currency is specified, the template will default to {{Currency}}. | ||
+ | |||
+ | ==See also== | ||
+ | *{{Tl|Money}} - The template will produce the Money icon as it appears on eRepublik with a specified amount of Money | ||
+ | *{{Tl|LP}} - The template will produce the [[Loyalty program]] icon with a specified amount of points | ||
+ | *{{Tl|Gold}} - The template will produce the Gold icon as it appears on eRepublik with a specified amount of Gold | ||
+ | *{{Tl|Euros}} - The template will produce the Euro icon with a specified amount of Euro | ||
[[Category:Graphical Aid Templates|Currency]]</noinclude> | [[Category:Graphical Aid Templates|Currency]]</noinclude> |
Revision as of 15:56, 20 April 2019
This is the Currency template. It will produce the flag of the currency entered with a link to the currency of the respective country. If an amount is specified, then it will be shown as well. The text of the template will not wrap around at the end of a line.
Currency code
Writing {{Currency|PKR|20}} will produce 20 PKR.
Country
Writing {{Currency|Croatia|50}} will produce 50 HRK.
Gold
Gold is also included with this template. If you write {{Currency|Gold|5}}, the template will produce 5 Gold.
Nothing specified
If no currency is specified, the template will default to Gold.
See also
- {{Money}} - The template will produce the Money icon as it appears on eRepublik with a specified amount of Money
- {{LP}} - The template will produce the Loyalty program icon with a specified amount of points
- {{Gold}} - The template will produce the Gold icon as it appears on eRepublik with a specified amount of Gold
- {{Euros}} - The template will produce the Euro icon with a specified amount of Euro