Template:Gold/doc

From eRepublik Official Wiki
Jump to: navigation, search
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:Gold.

This is the Gold template. It will produce the Gold icon as it appears on eRepublik with a specified amount of Gold and the word "GOLD" in bold. The text of the template will not wrap around at the end of a line.

Writing {{Gold|20}} will produce Icon - Gold.gif 20 GOLD. If no number is specified, the template will default to Icon - Gold.gif 0 GOLD.

Translation

To create a translation, simply use the following format:

<includeonly>{{Gold/Core|{{{1}}}|iGOLD=TRANSLATION}}</includeonly>
<noinclude>{{LangMenu|Template:Gold}}
[[Category:Translated Templates|Gold]]</noinclude>

In the above format, simply replace the word TRANSLATION with the word for GOLD in your language to fit the template.

Also useful

  • {{Currency}} - recommended to use if you want to create a link to Gold page; also useful if the Gold template doesn't have the translation in the language which you want to use
  • {{LP}} - The template will produce the Loyalty program icon with a specified amount of points
  • {{Euro}} - recommended to use if you would like to specify the value in RL money.
  • {{Money}} - recommended to use if you don't want to specify a currency, but would like to mention the in-game money value (CC)