Difference between revisions of "Template:Gold"
From eRepublik Official Wiki
m |
(langmenu added + translation instructions) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{Gold/{{TemplateLang|Gold}}|{{{1}}}|iGOLD=GOLD}}</includeonly><noinclude>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}}{{-}}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. | ||
Writing {{Pre|code|<nowiki>{{Gold|20}}</nowiki>}} will produce {{Gold|20}}. If no number is specified, the template will default to {{Gold}}. | Writing {{Pre|code|<nowiki>{{Gold|20}}</nowiki>}} will produce {{Gold|20}}. If no number is specified, the template will default to {{Gold}}. | ||
+ | |||
+ | ==Translation== | ||
+ | To create translation, simply use the format below and replace TRANSLATION word with GOLD on your lanugage. | ||
+ | <pre> | ||
+ | <includeonly>{{Gold/Core|{{{1}}}|iGOLD=TRANSLATION}}</includeonly> | ||
+ | <noinclude>{{LangMenu|Template:Gold}}</noinclude> | ||
+ | [[Category:Translated Templates|Gold]] | ||
+ | </pre> | ||
[[Category:Graphical Aid Templates|Gold]]</noinclude> | [[Category:Graphical Aid Templates|Gold]]</noinclude> |
Revision as of 04:11, 29 March 2014
Languages: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This is the Gold template. It is intended to serve as a graphical aid for tutorials. 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 20 GOLD. If no number is specified, the template will default to {{{1}}} GOLD.
Translation
To create translation, simply use the format below and replace TRANSLATION word with GOLD on your lanugage.
<includeonly>{{Gold/Core|{{{1}}}|iGOLD=TRANSLATION}}</includeonly> <noinclude>{{LangMenu|Template:Gold}}</noinclude> [[Category:Translated Templates|Gold]]