24,070
edits
No edit summary |
(adjusting alignment and size of stars) |
||
Line 1: | Line 1: | ||
<includeonly><div style="position: relative; width: {{{2}}}px;">{{ | <includeonly><div style="position: relative; width: {{{2}}}px;">{{ | ||
#switch: {{{3}}} | #switch: {{{3}}} | ||
| 2 = <div style="position: absolute; left: {{#expr:({{{2}}}/2. | | 2 = <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
| 3 = <div style="position: absolute; left: {{#expr:({{{2}}}/5)}}px; top: {{#expr:({{{2}}}/ | | 3 = <div style="position: absolute; left: {{#expr:({{{2}}}/5)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/1. | <div style="position: absolute; left: {{#expr:({{{2}}}/1.65)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
| 4 = <div style="position: absolute; left: {{#expr:({{{2}}}/9)}}px; top: {{#expr:({{{2}}}/ | | 4 = <div style="position: absolute; left: {{#expr:({{{2}}}/9)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/8) round 0}}px|link=File:{{{1}}}]]</div> | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/2. | <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/1. | <div style="position: absolute; left: {{#expr:({{{2}}}/1.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
| 5 = <div style="position: absolute; left: {{#expr:({{{2}}}/15)}}px; top: {{#expr:({{{2}}}/ | | 5 = <div style="position: absolute; left: {{#expr:({{{2}}}/15)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/3. | <div style="position: absolute; left: {{#expr:({{{2}}}/3.5)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/ | <div style="position: absolute; left: {{#expr:({{{2}}}/1.95)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/1. | <div style="position: absolute; left: {{#expr:({{{2}}}/1.36)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
| 6 = <div style="position: absolute; left: {{#expr:({{{2}}}/2. | | 6 = <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-silverstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
| 7 = <div style="position: absolute; left: {{#expr:({{{2}}}/5)}}px; top: {{#expr:({{{2}}}/ | | 7 = <div style="position: absolute; left: {{#expr:({{{2}}}/5)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-silverstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/1. | <div style="position: absolute; left: {{#expr:({{{2}}}/1.65)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
| 8 = <div style="position: absolute; left: {{#expr:({{{2}}}/9)}}px; top: {{#expr:({{{2}}}/ | | 8 = <div style="position: absolute; left: {{#expr:({{{2}}}/9)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-silverstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-silverstar.png|{{#expr:({{{2}}}/8) round 0}}px|link=File:{{{1}}}]]</div> | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/2. | <div style="position: absolute; left: {{#expr:({{{2}}}/2.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/1. | <div style="position: absolute; left: {{#expr:({{{2}}}/1.48)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
| 9 = <div style="position: absolute; left: {{#expr:({{{2}}}/15)}}px; top: {{#expr:({{{2}}}/ | | 9 = <div style="position: absolute; left: {{#expr:({{{2}}}/15)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-silverstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/3. | <div style="position: absolute; left: {{#expr:({{{2}}}/3.5)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/ | <div style="position: absolute; left: {{#expr:({{{2}}}/1.95)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/ | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div> | ||
<div style="position: absolute; left: {{#expr:({{{2}}}/1. | <div style="position: absolute; left: {{#expr:({{{2}}}/1.36)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!-- | ||
-->[[File:Award-goldstar.png|{{#expr:({{{2}}}/4) round 0}}px|link=File:{{{1}}}]]</div> | -->[[File:Award-goldstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{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:{{{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:{{{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:{{{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:{{{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:{{{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:{{{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:{{{1}}}]]</div> | |||
}}[[File:{{{1}}}|{{{2}}}px]]</div></includeonly> | }}[[File:{{{1}}}|{{{2}}}px]]</div></includeonly> | ||
<noinclude>===Displaying Multiple Citations of the Same [[Service Ribbons|Service Ribbon]]=== | <noinclude>===Displaying Multiple Citations of the Same [[Service Ribbons|Service Ribbon]]=== | ||
Line 74: | Line 88: | ||
{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|7}} | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|7}} | ||
The template currently supports up to | The template currently supports up to 11 citations of the same service ribbon, and yes, you can use this template to also display a single citation of the ribbon as well by leaving off the last number or putting a 1. | ||
Here's how they all look: | Here's how they all look: | ||
Line 108: | Line 122: | ||
!9 | !9 | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|9}} | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|9}} | ||
|- | |||
!10 | |||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|10}} | |||
|- | |||
!11 | |||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|11}} | |||
|} | |} | ||