Template:CampaignRibbons: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|{{#switch: {{{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: | -->[[File:Campaign-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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-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;"><!-- | <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-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;"><!-- | <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-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;"><!-- | <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{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: | -->[[File:Campaign-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;"><!-- | |<div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File: | -->[[File:Campaign-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><noinclude>Used in '''[[Template:Ribbons]]''' to create campaign [[service ribbons]]. | ||
[[Category:Wiki System Templates]]</noinclude> |
Revision as of 03:47, 16 April 2015
Used in Template:Ribbons to create campaign service ribbons.