Difference between revisions of "Template:Currency/doc"

From eRepublik Official Wiki
Jump to: navigation, search
m
(description updated; minor corrections)
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
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.
+
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. Alternatively, instead of the country currency, gold or game tokens can be used, with icon representing it and link to the corresponding article.
 
__NOTOC__
 
__NOTOC__
 
==Currency code==
 
==Currency code==
Line 21: Line 21:
 
*{{Tl|LP}} - The template will produce the [[Loyalty program]] icon with a specified amount of points
 
*{{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|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
+
*{{Tl|Euro}} - The template will produce the EU icon with a specified amount of Euro

Latest revision as of 01:33, 2 July 2022

edit

Edit-copy green.png Documentation subpage

This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:Currency.

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. Alternatively, instead of the country currency, gold or game tokens can be used, with icon representing it and link to the corresponding article.

Currency code

Writing {{Currency|PKR|20}} will produce Flag-Pakistan.jpg 20 PKR.

Country

Writing {{Currency|Croatia|50}} will produce Flag-Croatia.jpg 50 HRK.

Gold

Gold is also included with this template. If you write {{Currency|Gold|5}}, the template will produce Icon - Gold.gifGold.

Game tokens

Game tokens are also included with this template. If you write {{Currency|Game tokens|5}}, the template will produce Icon - Game tokens.pngGame tokens.

Nothing specified

If no currency is specified, the template will default to Icon - Gold.gif 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
  • {{Euro}} - The template will produce the EU icon with a specified amount of Euro