Template:EB

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

[edit] [purge]

Documentation

This is the Energy Bar template. It will produce the EB icon as it appears on eRepublik with a specified amount of Energy bars with the word "Energy bar" linked to the Energy bar article. The text of the template will not wrap around at the end of a line. Writing {{EB|20}} will produce Icon - Energy bar.png 20 Energy bar. If no number is specified, the template will default to Icon - Energy bar.png 0 Energy bar.

Translation

To create a translation, simply copy the following format:

<noinclude>{{LangMenu|Template:EB}}[[Category:Translated Templates|{{SUBPAGENAME}}]]</noinclude>{{Nowrap|1=[[File:Icon - Energy bar.png|25px|link=]] {{L|Energy_bar|{{{1|0}}} TRANSLATION}}}}

In the above format, only replace the word TRANSLATION with the word (or a phrase or an abbreviation in your language) for ENERGY BAR in your language to fit the template.

Note
You can also replace the {{L}} template with {{DL}} template if the energy bar article exists in your language. The code before changing the word would be then as follows:
<noinclude>{{LangMenu|Template:EB}}[[Category:Translated Templates|{{SUBPAGENAME}}]]</noinclude>{{Nowrap|1=[[File:Icon - Energy bar.png|25px|link=]] {{DL|Energy_bar|{{{1|0}}} TRANSLATION}}}}

Also useful

  • {{ER}} - Energy Recovery template which will produce the Energy recovery icon as it appears on eRepublik with a specified amount of Energy recovery and the word "Energy Recovery" linked to the Energy recovery article.