Difference between revisions of "Template:Gold"

From eRepublik Official Wiki
Jump to: navigation, search
(description updated (feel free to improve it xD))
(Documentation added;)
 
Line 1: Line 1:
<includeonly>{{Gold/{{TemplateLang|Gold}}|{{{1}}}|iGOLD=GOLD}}</includeonly><noinclude>{{LangMenu|Template:Gold}}This is the '''Gold template'''. It is intended to serve as a graphical aid for tutorials. It will produce the [[:Image:Icon - Gold.gif|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.
+
<includeonly>{{Gold/{{TemplateLang|Gold}}|{{{1}}}|iGOLD=GOLD}}</includeonly><noinclude>{{LangMenu|Template:Gold}}{{-}}{{Documentation}}[[Category:Graphical Aid Templates|Gold]]</noinclude>
 
+
Writing '''<nowiki>{{Gold|20}}</nowiki>''' will produce {{Gold|20}}. If no number is specified, the template will default to {{Gold}}.
+
 
+
==Translation==
+
To create a translation, simply use the format [[Template talk:Gold|in the talk page]] and replace the word TRANSLATION with the word for [[Gold|GOLD]] in your language.
+
 
+
==Also useful==
+
*{{Tl|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
+
*{{Tl|Euro}} - recommended to use if you want to specify the value in RL money.
+
*{{Tl|Money}} - recommended to use if you don't want to specify a currency, but would like to mention the in-game money value (CC)
+
[[Category:Graphical Aid Templates|Gold]]</noinclude>
+

Latest revision as of 06:06, 21 January 2024

Languages: 
EnglishIcon-English.png
ShqipIcon-Albania.png
БеларускаяIcon-Belarus.png
БългарскиIcon-Bulgaria.png
中文(简体)Icon-China.png
HrvatskiIcon-Croatia.png
فارسیIcon-Iran.png
SuomiIcon-Finland.png
FrançaisIcon-France.png
ქართულიIcon-Georgia.png
DeutschIcon-Germany.png
ΕλληνικάIcon-Greece.png
MagyarIcon-Hungary.png
Bahasa IndonesiaIcon-Indonesia.png
עבריתIcon-Israel.png
한글Icon-South Korea.png
LatviešuIcon-Latvia.png
МакедонскиIcon-North Macedonia.png
NederlandsIcon-Netherlands.png
PolskiIcon-Poland.png
PortuguêsIcon-Portugal.png
Portugues BrasileiroIcon-Brazil.png
RomânăIcon-Romania.png
РусскийIcon-Russia.png
СрпскиIcon-Serbia.png
EspañolIcon-Spain.png
TürkçeIcon-Turkey.png
УкраїнськаIcon-Ukraine.png

[edit] [purge]

Documentation

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)