Template:CampaignRibbons: Difference between revisions

From 118Wiki
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;">{{
#switch: {{{3|}}}
#switch: {{{3|<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>}}}
  | 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>
   | 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>
Line 53: Line 56:
<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>

Revision as of 02:56, 16 April 2015