Difference between revisions of "Template:TopMenu"
From eRepublik Official Wiki
m (Andycro moved page User:VSkyzv/Template:TopMenu to Template:TopMenu: implementing) |
(update) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
{{{2|}}} | {{{2|}}} | ||
|}</includeonly> | |}</includeonly> | ||
− | <noinclude> | + | <noinclude> |
This template creates a menu intended to be put at the top of articles (below the languages menu). | This template creates a menu intended to be put at the top of articles (below the languages menu). | ||
==Usage== | ==Usage== | ||
− | <pre><nowiki>{{ | + | <pre><nowiki>{{TopMenu|<menu title>|<menu items>}}</pre> |
==Example== | ==Example== | ||
− | <pre>{{ | + | <pre>{{TopMenu|Products:| |
− | [[File:Food.png|50px|link=Food]] | + | [[File:Icon - Food Q1.png|50px|link=Food]] |
− | [[File: | + | [[File:Icon - Weapon_Q1.png|50px|link=Weapon]] |
− | [[File: | + | [[File:Icon - House_Q1.png|50px|link=House]] |
− | [[File: | + | [[File:Icon - Food_Raw_Materials.png|50px|link=Food raw material]] |
− | [[File: | + | [[File:Icon - Weapon_Raw_Materials.png|50px|link=Weapon raw material]] |
− | [[File: | + | [[File:Icon - House_Raw_Materials.png|50px|link=Weapon raw material]] |
− | [[File: | + | [[File:Icon - Defense_system_Q5.png|50px|link=Defense system]] |
− | [[File: | + | [[File:Icon - Hospital_Q5.png|50px|link=Hospital]] |
+ | [[File:Icon - Moving_ticket_Q1.png|50px|link=Moving ticket]] | ||
}}</pre> | }}</pre> | ||
− | {{ | + | {{TopMenu|Products:| |
− | [[File:Food.png|50px|link=Food]] | + | [[File:Icon - Food Q1.png|50px|link=Food]] |
− | [[File: | + | [[File:Icon - Weapon_Q1.png|50px|link=Weapon]] |
− | [[File: | + | [[File:Icon - House_Q1.png|50px|link=House]] |
− | [[File: | + | [[File:Icon - Food_Raw_Materials.png|50px|link=Food raw material]] |
− | [[File: | + | [[File:Icon - Weapon_Raw_Materials.png|50px|link=Weapon raw material]] |
− | [[File: | + | [[File:Icon - House_Raw_Materials.png|50px|link=Weapon raw material]] |
− | [[File: | + | [[File:Icon - Defense_system_Q5.png|50px|link=Defense system]] |
− | [[File: | + | [[File:Icon - Hospital_Q5.png|50px|link=Hospital]] |
− | }} | + | [[File:Icon - Moving_ticket_Q1.png|50px|link=Moving ticket]] |
+ | }}[[Category:Menu Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 05:56, 30 March 2015
This template creates a menu intended to be put at the top of articles (below the languages menu).
Usage
<nowiki>{{TopMenu|<menu title>|<menu items>}}
Example
{{TopMenu|Products:| [[File:Icon - Food Q1.png|50px|link=Food]] [[File:Icon - Weapon_Q1.png|50px|link=Weapon]] [[File:Icon - House_Q1.png|50px|link=House]] [[File:Icon - Food_Raw_Materials.png|50px|link=Food raw material]] [[File:Icon - Weapon_Raw_Materials.png|50px|link=Weapon raw material]] [[File:Icon - House_Raw_Materials.png|50px|link=Weapon raw material]] [[File:Icon - Defense_system_Q5.png|50px|link=Defense system]] [[File:Icon - Hospital_Q5.png|50px|link=Hospital]] [[File:Icon - Moving_ticket_Q1.png|50px|link=Moving ticket]] }}
Products: |