Difference between revisions of "Template:TopMenu"

From eRepublik Official Wiki
Jump to: navigation, search
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:Icon_Weapon_Q1.png|50px|link=Weapons]]
+
[[File:Icon - Weapon_Q1.png|50px|link=Weapon]]
[[File:Food_Raw_Material.png|50px|link=Food raw material]]
+
[[File:Icon - House_Q1.png|50px|link=House]]
[[File:Weapon_Raw_Material.png|50px|link=Weapon raw material]]
+
[[File:Icon - Food_Raw_Materials.png|50px|link=Food raw material]]
[[File:Icon_Defense_system_Q5.png|50px|link=Defense system]]
+
[[File:Icon - Weapon_Raw_Materials.png|50px|link=Weapon raw material]]
[[File:Icon_Hospital_Q5.png|50px|link=Hospital]]
+
[[File:Icon - House_Raw_Materials.png|50px|link=Weapon raw material]]
[[File:Icon_House_Q5.png|50px|link=House]]
+
[[File:Icon - Defense_system_Q5.png|50px|link=Defense system]]
[[File:Icon_Moving_ticket_Q1.png|50px|link=Moving ticket]]
+
[[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:Icon_Weapon_Q1.png|50px|link=Weapons]]
+
[[File:Icon - Weapon_Q1.png|50px|link=Weapon]]
[[File:Food_Raw_Material.png|50px|link=Food raw material]]
+
[[File:Icon - House_Q1.png|50px|link=House]]
[[File:Weapon_Raw_Material.png|50px|link=Weapon raw material]]
+
[[File:Icon - Food_Raw_Materials.png|50px|link=Food raw material]]
[[File:Icon_Defense_system_Q5.png|50px|link=Defense system]]
+
[[File:Icon - Weapon_Raw_Materials.png|50px|link=Weapon raw material]]
[[File:Icon_Hospital_Q5.png|50px|link=Hospital]]
+
[[File:Icon - House_Raw_Materials.png|50px|link=Weapon raw material]]
[[File:Icon_House_Q5.png|50px|link=House]]
+
[[File:Icon - Defense_system_Q5.png|50px|link=Defense system]]
[[File:Icon_Moving_ticket_Q1.png|50px|link=Moving ticket]]
+
[[File:Icon - Hospital_Q5.png|50px|link=Hospital]]
}}[[Category:Wiki Management Templates]]
+
[[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:

Icon - Food Q1.png Icon - Weapon Q1.png Icon - House Q1.png Icon - Food Raw Materials.png Icon - Weapon Raw Materials.png Icon - House Raw Materials.png Icon - Defense system Q5.png Icon - Hospital Q5.png Icon - Moving ticket Q1.png