Template:ER

From eRepublik Official Wiki
Jump to: navigation, search
Languages: 
EnglishIcon-English.png
FrançaisIcon-France.png
RomânăIcon-Romania.png

[edit] [purge]

Documentation

This is the Energy Recovery template. It will produce the Energy icon 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 Icon energy.png 20 Energy recovery. If no number is specified, the template will default to Icon energy.png 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