Template:CampaignRibbons: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div style="position: relative; width: {{{2}}}px;">{{ | <includeonly><div style="position: relative; width: {{{2}}}px;">{{#if: {{{3}}} | ||
# | |{{#switch: {{{3}}} | ||
| 1 = <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | | 1 = <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{RibbonName|{{{1}}}}}]]</div> | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{RibbonName|{{{1}}}}}]]</div> | ||
Line 56: | Line 55: | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/1.65)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | <div style="position: absolute; left: {{#expr:({{{2}}}/1.65)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{RibbonName|{{{1}}}}}]]</div> | -->[[File:Award-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{RibbonName|{{{1}}}}}]]</div> | ||
}} | |||
|<div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | |||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{RibbonName|{{{1}}}}}]]</div> | |||
}}[[File:{{RibbonNametoFile|{{{1}}}}}|{{{2}}}px|{{RibbonName|{{{1}}}}}]]</div></includeonly> | }}[[File:{{RibbonNametoFile|{{{1}}}}}|{{{2}}}px|{{RibbonName|{{{1}}}}}]]</div></includeonly> |