Difference between revisions of "Template:Country Stats"
From eRepublik Official Wiki
m |
(update to match the new design of the in-game menu) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><div id="newcountrystats" style="float:{{{float|left}}};"> |
− | {{Country Stats/{{ | + | <ul id="nav"> |
− | </includeonly><noinclude> | + | <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> | ||
+ | </div> | ||
+ | {{-}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
− | + | Place <pre style="width:140px">{{Country Stats}}</pre> at the top of the page to get the menu below: <br> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | {{Country Stats}} | |
− | + | ||
+ | For the moment, highlighting an open tab is not possible (work in progress). | ||
[[Category:Menu Templates]] | [[Category:Menu Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 08:40, 11 February 2019
Usage
Place{{Country Stats}}at the top of the page to get the menu below:
For the moment, highlighting an open tab is not possible (work in progress).