Template:Ribbons: Difference between revisions

Jump to navigation Jump to search
no edit summary
(added right aligned star example in rack)
No edit summary
Line 60: Line 60:
       -->[[File:Award-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}]]</div>
       -->[[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>__NOTOC__
===Displaying Multiple Citations of the Same [[Service Ribbons|Service Ribbon]]===
{{Quote box
{{Quote box
  |title = Multiple Service Ribbons Policy
  |title = Multiple Service Ribbons Policy
Line 69: Line 70:
  |qalign = center
  |qalign = center
}}
}}
 
===How to use this template:===
'''How to use this template:'''


<nowiki>{{Ribbons|</nowiki>[[:Category:Service Ribbons Award Images|'''''file name''' of service ribbon'']]|'''''width''' in pixels''|'''''number of times awarded'''''<nowiki>}}</nowiki>
<nowiki>{{Ribbons|</nowiki>[[:Category:Service Ribbons Award Images|'''''file name''' of service ribbon'']]|'''''width''' in pixels''|'''''number of times awarded'''''<nowiki>}}</nowiki>
Line 92: Line 92:
{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|7}}
{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|7}}


{| cellspacing="3" width="70%"
|- valign="top"
|bgcolor="#F5FAFF" style="border:1px solid #CEDFF2; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"|
===Right-aligned single star===
===Right-aligned single star===
Some service ribbons such as the Explorer’s Ribbon and the Gold and Silver Lifesaving Ribbons have a special design in the center. If you don't want to block it with your star, use '''2r''' and '''6r''' to display a gold (2 citations) and silver star (6 citations) respectively, aligned to the right of the ribbon's center.
Some service ribbons such as the Explorer’s Ribbon and the Gold and Silver Lifesaving Ribbons have a special design in the center. If you don't want to block it with your star, use '''2r''' and '''6r''' to display a gold (2 citations) and silver star (6 citations) respectively, aligned to the right of the ribbon's center.
Line 102: Line 106:


{{Ribbons|Awards ServiceRibbons LifesavingSilver 2011.jpg|100|2r}}
{{Ribbons|Awards ServiceRibbons LifesavingSilver 2011.jpg|100|2r}}
|}


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.
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.

Navigation menu