Template:EB/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:EB.
To view the Template page itself, see Template:EB.
This is the Energy Bar template. It will produce the 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 20 Energy bar. If no number is specified, the template will default to 0 Energy bar.
Translation
To create a translation, simply copy the following format:
<noinclude>{{LangMenu|Template:EB}}[[Category:Translated Templates|{{SUBPAGENAME}}]]{{EB/{{SUBPAGENAME}}}}</noinclude> <includeonly>{{Nowrap|1=[[File:Icon - Energy bar.png|25px|link=]] {{{1|0}}} {{L|Energy_bar|TRANSLATION}}}}</includeonly>
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}}]]{{EB/{{SUBPAGENAME}}}}</noinclude> <includeonly>{{Nowrap|1=[[File:Icon - Energy bar.png|25px|link=]] {{{1|0}}} {{DL|Energy_bar|TRANSLATION}}}}</includeonly>
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.