Difference between revisions of "Template:Country Stats"
From eRepublik Official Wiki
m |
(documentation added) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><div id="newcountrystats" style="float:{{{float|left}}};"> |
− | < | + | <ul id="nav"> |
− | + | <span style="width:16px;height:55px;overflow:hidden; float:left; vertical-align:middle;">[[File:Country stats bg.png|link=]]</span> | |
− | + | <li id="menu1">{{L|Society|<span>{{Country Stats/String|society}}</span>}}</li> | |
− | + | <li id="menu2">{{L|Economy|<span>{{Country Stats/String|economy}}</span>}}</li> | |
− | + | <li id="menu3">{{L|Politics|<span>{{Country Stats/String|politics}}</span>}}</li> | |
− | + | <li id="menu4">{{L|Military|<span>{{Country Stats/String|military}}</span>}}</li> | |
− | + | <li id="menu5">{{L|Country administration|<span>{{Country Stats/String|administration}}</span>}}</li> | |
− | + | <span style="width:16px;height:55px;overflow:hidden; float:left; vertical-align:middle;"><span style="margin-left:-745px;">[[File:Country stats bg.png|link=]]</span></span> | |
− | + | ||
− | + | ||
− | + | ||
</ul> | </ul> | ||
− | </ | + | </div> |
− | + | {{-}}</includeonly><noinclude> | |
− | + | {{Documentation}} | |
− | { | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{ | + | |
− | + | ||
− | + | ||
</noinclude> | </noinclude> |
Latest revision as of 15:01, 11 February 2019
Usage
This template in meant to be used on My country, Society, Economy, Politics, Military and Country administration pages to represent existing in-game menu. Simply place the code below to get the menu (works the same on English and translated pages).
{{Country Stats}}
Note: For the moment, highlighting an open tab is not possible (work in progress).
Translation
If the menu is not translated into your language, you can add the translation to Template:Country Stats/Strings with the following code:
<!-- « Your language name » translation -->| society_«lang code» = «Society translation»| economy_«lang code» = «Economy translation»| politics_«lang code» = «Politics translation»| military_«lang code» = «Military translation»| administration_«lang code» = «Administration translation»|
- Example
<!-- Portuguese translation -->| society_pt = Sociedade| economy_pt = Economia| politics_pt = Política| military_pt = Militar| administration_pt = Administração|Note: two-letter ISO code must be placed in Template:Language codes, otherwise the translation won't work.