Template:Ribbons: Difference between revisions

adding in multiple phases campaign ribbon parameter
(fixing star links)
(adding in multiple phases campaign ribbon parameter)
Line 1: Line 1:
<includeonly><div style="position: relative; width: {{{2}}}px;">{{
<includeonly>{{#switch: {{{1}}}
#switch: {{{3}}}
|Prometheus Ribbon = {{CampaignRibbons|{{{1}}}|{{{2|}}}|{{{3|}}}}}
  | 2 = <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
|{{StandardRibbons|{{{1}}}|{{{2|}}}|{{{3|}}}}}
      -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{RibbonNametoFile|{{{1}}}}}|{{RibbonName|{{{1}}}}}]]</div>
}}</includeonly>
  | 2r = <div style="position: absolute; left: {{#expr:({{{2}}}/1.4)}}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>
  | 3 = <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>
<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>
  | 4 = <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>
<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}}}/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>
  | 5 = <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>
<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>
<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>
<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>
  | 6 = <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>
  | 6r = <div style="position: absolute; left: {{#expr:({{{2}}}/1.4)}}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>
  | 7 = <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>
<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>
  | 8 = <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>
<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}}}/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>
  | 9 = <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>
<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>
<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>
<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>
  | 10 = <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>
<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>
<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}}}/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>
<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>
  | 11 = <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>
<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:{{RibbonNametoFile|{{{1}}}}}|{{{2}}}px|{{RibbonName|{{{1}}}}}]]</div></includeonly>
<noinclude>{{Quote box
<noinclude>{{Quote box
  |title = Multiple Service Ribbons Policy
  |title = Multiple Service Ribbons Policy