Changes

Jump to navigation Jump to search
switch case to allow image size other than 24px
Line 1: Line 1:  
<includeonly>{|
 
<includeonly>{|
|<span class="sortkey" style="display:none;">{{#len:{{{2|}}}}}{{{2|}}}</span>[[File:{{{1|}}}.png|24px|link=]]
+
|<span class="sortkey" style="display:none;">{{#len:{{{2|}}}}}{{{2|}}}</span>[[File:{{{1|}}}.png|{{#switch: {{{size|}}} |16=16px|32=32px|64=64px|#default=24px}}|link=]]
 
|{{#expr:trunc({{{2|}}})}}g
 
|{{#expr:trunc({{{2|}}})}}g
 
{{#if: {{#pos:{{{hide|}}}|silver}}
 
{{#if: {{#pos:{{{hide|}}}|silver}}
106,703

edits

Navigation menu