Difference between revisions of "Template:ER"
From eRepublik Official Wiki
m |
(Documentation added;) |
||
Line 1: | Line 1: | ||
− | < | + | <noinclude>{{LangMenu|Template:ER}}{{-}}{{Documentation}}[[Category:Graphical Aid Templates|Energy Recovery]]</noinclude> |
+ | <includeonly>{{ER/{{TemplateLang|ER}}|{{{1|}}}|iER=ER}}</includeonly> |
Revision as of 11:58, 21 January 2024
Languages: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This is the Energy Recovery template. It will produce the as it appears on eRepublik with a specified amount of Energy to be recovered with the word "Energy recovery" linked to the Energy recovery article. The text of the template will not wrap around at the end of a line. Writing {{ER|20}} will produce 20 Energy recovery. If no number is specified, the template will default to 0 Energy recovery.
Translation
To create a translation, simply copy the following format:
<noinclude>{{LangMenu|Template:ER}}[[Category:Translated Templates|{{SUBPAGENAME}}]]</noinclude>{{Nowrap|1=[[File:Icon_energy.png|16px|link=]] {{L|Energy recovery|{{{1|0}}} TRANSLATION}}}}
In the above format, only replace the word TRANSLATION with the word (or a phrase or an abbreviation) for ENERGY RECOVERY in your language to fit the template.
- Note
- You can also replace the {{L}} template with {{DL}} template if the energy recovery article exists in your language. The code before changing the word would be then as follows:
<noinclude>{{LangMenu|Template:ER}}[[Category:Translated Templates|{{SUBPAGENAME}}]]</noinclude>{{Nowrap|1=[[File:Icon_energy.png|16px|link=]] {{DL|Energy recovery|{{{1|0}}} TRANSLATION}}}}
Also useful
- {{EB}} - Energy Bar template which will produce the energy bar icon as it appears on eRepublik with a specified amount of Energy bars with the word "Energy bar" linked to the Energy bar article