Template:Ribbons: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
mNo 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>__NOTOC__
<noinclude>===Displaying Multiple Citations of the Same [[Service Ribbons|Service Ribbon]]===
===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 190: Line 189:
===Problems or Questions?===
===Problems or Questions?===
Let [[User:Rich|Rich]] know!
Let [[User:Rich|Rich]] know!
 
__NOTOC__
[[Category:Templates]]
[[Category:Templates]]
[[Category:Commendations]]
[[Category:Commendations]]
</noinclude>
</noinclude>

Revision as of 09:51, 26 January 2014

Displaying Multiple Citations of the Same Service Ribbon

Multiple Service Ribbons Policy

Any general ribbon, ribbon of gallantry & heroism, or lifesaving ribbon may be awarded multiple times, but any campaign ribbon may only be awarded once. A gold star represents each repeated citation, and a silver star represents five additional citations (and therefore five gold stars).

How to use this template:

{{Ribbons|file name of service ribbon|width in pixels|number of times awarded}}

Service Ribbons are available here: Category:Service Ribbons Award Images

So for instance, just type in

{{Ribbons|Awards ServiceRibbons LegionOfMerit 2011.jpg|200|4}}

if you earned the Legion of Merit a total of four times, and you'll get the appropriate arrangement of stars!

Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
Awards ServiceRibbons LegionOfMerit 2011.jpg


Let's say you've been awarded the Silver Star 7 times (wow!) and you want to display the ribbon at a width of 100 pixels. You'd type in:

{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|7}}

and get

Award-silverstar.png
Award-goldstar.png
Awards ServiceRibbons SilverStar 2011.jpg


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.

For instance,

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

gives you

Award-goldstar.png
Awards ServiceRibbons LifesavingSilver 2011.jpg


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:

Citations Ribbon
1
Awards ServiceRibbons SilverStar 2011.jpg
2
Award-goldstar.png
Awards ServiceRibbons SilverStar 2011.jpg
2r
Award-goldstar.png
Awards ServiceRibbons LifesavingSilver 2011.jpg
3
Award-goldstar.png
Award-goldstar.png
Awards ServiceRibbons SilverStar 2011.jpg
4
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
Awards ServiceRibbons SilverStar 2011.jpg
5
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
Awards ServiceRibbons SilverStar 2011.jpg
6
Award-silverstar.png
Awards ServiceRibbons SilverStar 2011.jpg
6r
Award-silverstar.png
Awards ServiceRibbons Explorers 2011.jpg
7
Award-silverstar.png
Award-goldstar.png
Awards ServiceRibbons SilverStar 2011.jpg
8
Award-silverstar.png
Award-goldstar.png
Award-goldstar.png
Awards ServiceRibbons SilverStar 2011.jpg
9
Award-silverstar.png
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
Awards ServiceRibbons SilverStar 2011.jpg
10
Award-silverstar.png
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
Awards ServiceRibbons SilverStar 2011.jpg
11
Award-silverstar.png
Award-silverstar.png
Awards ServiceRibbons SilverStar 2011.jpg


And here's how it looks in a service rack:

Awards General Tosma1 2011.jpg
Award-goldstar.png
Award-goldstar.png
Award-goldstar.png
Awards ServiceRibbons LegionOfMerit 2011.jpg
Award-silverstar.png
Award-goldstar.png
Awards ServiceRibbons SilverStar 2011.jpg
Award-goldstar.png
Awards ServiceRibbons PurpleHeart 2011.jpg
Awards-ServiceRibbon-VaadwaurInvasion.jpg
Award-goldstar.png
Awards ServiceRibbons LifesavingGold 2011.jpg

The code used for that:

{| cellpadding="0" style="border: 1px solid darkgray;"
|- border="0"
| [[File:Awards_General_Tosma1_2011.jpg|100px]]
| {{Ribbons|Awards ServiceRibbons LegionOfMerit 2011.jpg|100|4}}
|-
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|7}}
| {{Ribbons|Awards ServiceRibbons PurpleHeart 2011.jpg|100|2}}
|-
| [[File:Awards-ServiceRibbon-VaadwaurInvasion.jpg|100px]]
| {{Ribbons|Awards ServiceRibbons LifesavingGold 2011.jpg|100|2r}}
|}

Problems or Questions?

Let Rich know!