Template:CampaignRibbons: Difference between revisions

no edit summary
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;">{{
#switch: {{{3}}}
#switch: {{{3|}}}
   | 2 = <div style="position: absolute; left: {{#expr:({{{2}}}/5)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
   | 2 = <div style="position: absolute; left: {{#expr:({{{2}}}/5)}}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>