Difference between revisions of "Template:Category Icons"

From WikiPETia.info

(Maybe now?)
(Fix switch)
Line 10: Line 10:
 
         | <span style="display:none;">{{ #var: i }}</span>
 
         | <span style="display:none;">{{ #var: i }}</span>
 
           {{ #switch: {{{ {{ #var: i }} | }}}
 
           {{ #switch: {{{ {{ #var: i }} | }}}
             | File:Icon Companies = company.png{{!}}[[Companies]]
+
             | Companies = File:Icon company.png{{!}}[[Companies]]
             | File:Icon Events = event.png{{!}}[[Events]]
+
             | Events = File:Icon event.png{{!}}[[Events]]
             | File:Icon People = people.png{{!}}[[People]]
+
             | People = File:Icon people.png{{!}}[[People]]
             | File:Icon Material = material.png{{!}}[[Material]]
+
             | Material = File:Icon material.png{{!}}[[Material]]
             | File:Icon Recycling = recycling.png{{!}}[[PET recycling]]
+
             | Recycling = File:Icon recycling.png{{!}}[[PET recycling]]
             | File:Icon Preforms = preform.png{{!}}[[Preform production]]
+
             | Preforms = File:Icon preform.png{{!}}[[Preform production]]
             | File:Icon Bottle making = bottle.png{{!}}[[Bottle making]]
+
             | Bottle making = File:Icon bottle.png{{!}}[[Bottle making]]
             | File:Icon Filling = filling.png{{!}}[[Filling]]
+
             | Filling = File:Icon filling.png{{!}}[[Filling]]
             | File:Icon Capping = capping.png{{!}}[[Capping]]
+
             | Capping = File:Icon capping.png{{!}}[[Capping]]
             | File:Icon Labelling = labeling.png{{!}}[[Labelling]]
+
             | Labelling = File:Icon labeling.png{{!}}[[Labelling]]
 
           }}
 
           }}
 
           {{ #vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }}
 
           {{ #vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }}

Revision as of 16:50, 28 March 2017