Difference between revisions of "Template:TopMenu"
From eRepublik Official Wiki
m (small corrections) |
(update) |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
==Example== | ==Example== | ||
<pre>{{TopMenu|Products:| | <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:| | {{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]] |
− | }}[[Category: | + | [[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: |