Template:ER/doc
From eRepublik Official Wiki
This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:ER.
To view the Template page itself, see Template:ER.
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