Difference between revisions of "Template:TopMenu"
From eRepublik Official Wiki
m (Andycro moved page User:VSkyzv/Template:TopMenu to Template:TopMenu: implementing) |
m (small corrections) |
||
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:Food.png|50px|link=Food]] | ||
[[File:Icon_Weapon_Q1.png|50px|link=Weapons]] | [[File:Icon_Weapon_Q1.png|50px|link=Weapons]] | ||
Line 21: | Line 21: | ||
[[File:Icon_Moving_ticket_Q1.png|50px|link=Moving ticket]] | [[File:Icon_Moving_ticket_Q1.png|50px|link=Moving ticket]] | ||
}}</pre> | }}</pre> | ||
− | {{ | + | {{TopMenu|Products:| |
[[File:Food.png|50px|link=Food]] | [[File:Food.png|50px|link=Food]] | ||
[[File:Icon_Weapon_Q1.png|50px|link=Weapons]] | [[File:Icon_Weapon_Q1.png|50px|link=Weapons]] | ||
Line 30: | Line 30: | ||
[[File:Icon_House_Q5.png|50px|link=House]] | [[File:Icon_House_Q5.png|50px|link=House]] | ||
[[File:Icon_Moving_ticket_Q1.png|50px|link=Moving ticket]] | [[File:Icon_Moving_ticket_Q1.png|50px|link=Moving ticket]] | ||
− | }} | + | }}[[Category:Wiki Management Templates]] |
</noinclude> | </noinclude> |
Revision as of 04:28, 28 July 2014
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:Food.png|50px|link=Food]] [[File:Icon_Weapon_Q1.png|50px|link=Weapons]] [[File:Food_Raw_Material.png|50px|link=Food raw material]] [[File:Weapon_Raw_Material.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_House_Q5.png|50px|link=House]] [[File:Icon_Moving_ticket_Q1.png|50px|link=Moving ticket]] }}
Products: |