Template:CampaignRibbons: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
m (Protected "Template:CampaignRibbons" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="position: relative; width: {{{2}}}px;">{{
<includeonly><div style="position: relative; width: {{{2}}}px;">{{#if: {{{3}}}
#switch: {{{3|}}}
|{{#switch: {{{3}}}
  | 1 = <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
      -->[[File:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
<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-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{RibbonName|{{{1}}}}}]]</div>
       -->[[File:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
   | 3 = <div style="position: absolute; left: {{#expr:({{{2}}}/8)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
   | 3 = <div style="position: absolute; left: {{#expr:({{{2}}}/8)}}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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/1.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<div style="position: absolute; left: {{#expr:({{{2}}}/1.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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
   | 4 = <div style="position: absolute; left: {{#expr:({{{2}}}/15)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
   | 4 = <div style="position: absolute; left: {{#expr:({{{2}}}/15)}}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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/3.5)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<div style="position: absolute; left: {{#expr:({{{2}}}/3.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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/1.95)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<div style="position: absolute; left: {{#expr:({{{2}}}/1.95)}}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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/1.36)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<div style="position: absolute; left: {{#expr:({{{2}}}/1.36)}}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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
   | 5 = <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
   | 5 = <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}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={{RibbonName|{{{1}}}}}]]</div>
   | 6 = <div style="position: absolute; left: {{#expr:({{{2}}}/5)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
   | 6 = <div style="position: absolute; left: {{#expr:({{{2}}}/5)}}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={{RibbonName|{{{1}}}}}]]</div>
<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-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{RibbonName|{{{1}}}}}]]</div>
       -->[[File:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
   | 7 = <div style="position: absolute; left: {{#expr:({{{2}}}/8)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
   | 7 = <div style="position: absolute; left: {{#expr:({{{2}}}/8)}}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={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/1.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<div style="position: absolute; left: {{#expr:({{{2}}}/1.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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
   | 8 = <div style="position: absolute; left: {{#expr:({{{2}}}/15)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
   | 8 = <div style="position: absolute; left: {{#expr:({{{2}}}/15)}}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={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/3.5)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<div style="position: absolute; left: {{#expr:({{{2}}}/3.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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/1.95)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<div style="position: absolute; left: {{#expr:({{{2}}}/1.95)}}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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/1.36)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<div style="position: absolute; left: {{#expr:({{{2}}}/1.36)}}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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
   | 9 = <div style="position: absolute; left: {{#expr:({{{2}}}/25)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
   | 9 = <div style="position: absolute; left: {{#expr:({{{2}}}/25)}}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={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/4.5)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<div style="position: absolute; left: {{#expr:({{{2}}}/4.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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/1.71)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<div style="position: absolute; left: {{#expr:({{{2}}}/1.71)}}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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
<div style="position: absolute; left: {{#expr:({{{2}}}/1.31)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<div style="position: absolute; left: {{#expr:({{{2}}}/1.31)}}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:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
   | 10 = <div style="position: absolute; left: {{#expr:({{{2}}}/5)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
   | 10 = <div style="position: absolute; left: {{#expr:({{{2}}}/5)}}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={{RibbonName|{{{1}}}}}]]</div>
<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={{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>
|<div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
}}[[File:{{RibbonNametoFile|{{{1}}}}}|{{{2}}}px|{{RibbonName|{{{1}}}}}]]</div></includeonly>
       -->[[File:Campaign-star.png|{{#expr:({{{2}}}/5) round 0}}px|link={{RibbonName|{{{1}}}}}]]</div>
}}[[File:{{RibbonNametoFile|{{{1}}}}}|{{{2}}}px|link={{RibbonName|{{{1}}}}}]]</div></includeonly><noinclude>Used in '''[[Template:Ribbons]]''' to create campaign [[service ribbons]].
[[Category:Wiki System Templates]]</noinclude>

Latest revision as of 20:31, 30 April 2016

Used in Template:Ribbons to create campaign service ribbons.