Template:Ribbons: Difference between revisions
No edit summary |
No edit summary |
||
Line 76: | Line 76: | ||
<pre>{{Ribbons|Awards ServiceRibbons LegionOfMerit 2011.jpg|200|4}}</pre> | <pre>{{Ribbons|Awards ServiceRibbons LegionOfMerit 2011.jpg|200|4}}</pre> | ||
if you earned the Legion of Merit a total of four times and you'll get the appropriate arrangement of stars! | if you earned the Legion of Merit a total of four times, and you'll get the appropriate arrangement of stars! | ||
{{Ribbons|Awards ServiceRibbons LegionOfMerit 2011.jpg|200|4}} | {{Ribbons|Awards ServiceRibbons LegionOfMerit 2011.jpg|200|4}} | ||
Let's say you've been awarded the Silver Star 7 times (wow!). You'd type in: | 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: | ||
<pre>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|7}}</pre> | <pre>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|7}}</pre> | ||
Line 97: | Line 97: | ||
|- border="0" | |- border="0" | ||
!1 | !1 | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg| | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120}} | ||
|- | |- | ||
!2 | !2 | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg| | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|2}} | ||
|- | |- | ||
!3 | !3 | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg| | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|3}} | ||
|- | |- | ||
!4 | !4 | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg| | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|4}} | ||
|- | |- | ||
!5 | !5 | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg| | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|5}} | ||
|- | |- | ||
!6 | !6 | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg| | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|6}} | ||
|- | |- | ||
!7 | !7 | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg| | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|7}} | ||
|- | |- | ||
!8 | !8 | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg| | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|8}} | ||
|- | |- | ||
!9 | !9 | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg| | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|9}} | ||
|- | |- | ||
!10 | !10 | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg| | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|10}} | ||
|- | |- | ||
!11 | !11 | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg| | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|11}} | ||
|} | |} | ||
Line 139: | Line 139: | ||
|- | |- | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|7}} | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|7}} | ||
| | | {{Ribbons|Awards ServiceRibbons PurpleHeart 2011.jpg|100|2}} | ||
|- | |- | ||
| [[File:Awards-ServiceRibbon-VaadwaurInvasion.jpg|100px]] | | [[File:Awards-ServiceRibbon-VaadwaurInvasion.jpg|100px]] | ||
Line 154: | Line 154: | ||
|- | |- | ||
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|3}} | | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|3}} | ||
| | | {{Ribbons|Awards ServiceRibbons PurpleHeart 2011.jpg|100|2}} | ||
|- | |- | ||
| [[File:Awards-ServiceRibbon-VaadwaurInvasion.jpg|100px]] | | [[File:Awards-ServiceRibbon-VaadwaurInvasion.jpg|100px]] |
Revision as of 09:10, 26 January 2014
Displaying Multiple Citations of the Same Service Ribbon
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!
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
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 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 |
And here's how it looks in a service rack:
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|7}} |- | {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|3}} | {{Ribbons|Awards ServiceRibbons PurpleHeart 2011.jpg|100|2}} |- | [[File:Awards-ServiceRibbon-VaadwaurInvasion.jpg|100px]] | [[File:KlingonInvasion.jpg|100px]] |}
Problems or Questions?
Let Rich know!