Template:CampaignRibbons: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><div style="position: relative; width: {{{2}}}px;">{{ #switch: {{{3}}} | 1 = <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{...")
 
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}}}
  | 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 55: Line 53:
<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:52, 16 April 2015