Template:Ribbons: Difference between revisions
No edit summary |
No edit summary |
||
Line 86: | Line 86: | ||
|- valign="top" | |- valign="top" | ||
|bgcolor="#CCFFCC" style="border:1px solid #CEDFF2; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"| | |bgcolor="#CCFFCC" style="border:1px solid #CEDFF2; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"| | ||
===NEW! | ===NEW!=== | ||
You can also just type in the formal name of the ribbon instead of the file name: | |||
<pre>{{Ribbons|Legion of Merit|200|4}}</pre> | |||
{{Ribbons|Legion of Merit|200|4}} | |||
===Use the following formal names:=== | |||
{| | {| | ||
|Prisoner of War Ribbon | |Prisoner of War Ribbon | ||
Line 183: | Line 190: | ||
{{Ribbons|Silver Lifesaving Ribbon|100|7}} | {{Ribbons|Silver Lifesaving Ribbon|100|7}} | ||
If you wish though, you can still use the raw file names instead. | |||
|} | |} | ||
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: | 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| | <pre>{{Ribbons|Silver Star|100|7}}</pre> | ||
and get | and get | ||
{{Ribbons| | {{Ribbons|Silver Star|100|7}} | ||
Line 207: | Line 216: | ||
For instance, | For instance, | ||
<pre>{{Ribbons| | <pre>{{Ribbons|Silver Lifesaving Ribbon|100|2r}}</pre> | ||
gives you | gives you | ||
{{Ribbons| | {{Ribbons|Silver Lifesaving Ribbon|100|2r}} | ||
|} | |} | ||
Line 229: | Line 238: | ||
!style="background:#C0C0C0"|1 | !style="background:#C0C0C0"|1 | ||
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120}} | ! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Silver Star|120}}</nowiki> | ||
|- | |- | ||
!style="background:#C0C0C0"|2 | !style="background:#C0C0C0"|2 | ||
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|2}} | ! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|2}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Silver Star|120|2}}</nowiki> | ||
|- | |- | ||
!style="background:#C0C0C0"|2r | !style="background:#C0C0C0"|2r | ||
! style="background:#343434;" |{{Ribbons|Awards ServiceRibbons LifesavingSilver 2011.jpg|120|2r}} | ! style="background:#343434;" |{{Ribbons|Awards ServiceRibbons LifesavingSilver 2011.jpg|120|2r}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Silver Lifesaving Ribbon|120|2r}}</nowiki> | ||
|- | |- | ||
!style="background:#C0C0C0"|3 | !style="background:#C0C0C0"|3 | ||
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|3}} | ! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|3}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Silver Star|120|3}}</nowiki> | ||
|- | |- | ||
!style="background:#C0C0C0"|4 | !style="background:#C0C0C0"|4 | ||
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|4}} | ! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|4}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Silver Star|120|4}}</nowiki> | ||
|- | |- | ||
!style="background:#C0C0C0"|5 | !style="background:#C0C0C0"|5 | ||
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|5}} | ! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|5}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Silver Star|120|5}}</nowiki> | ||
|- | |- | ||
!style="background:#C0C0C0"|6 | !style="background:#C0C0C0"|6 | ||
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|6}} | ! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|6}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Silver Star|120|6}}</nowiki> | ||
|- | |- | ||
!style="background:#C0C0C0"|6r | !style="background:#C0C0C0"|6r | ||
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons Explorers 2011.jpg|120|6r}} | ! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons Explorers 2011.jpg|120|6r}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Explorer's Ribbon|120|6r}}</nowiki> | ||
|- | |- | ||
!style="background:#C0C0C0"|7 | !style="background:#C0C0C0"|7 | ||
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|7}} | ! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|7}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Silver Star|120|7}}</nowiki> | ||
|- | |- | ||
!style="background:#C0C0C0"|8 | !style="background:#C0C0C0"|8 | ||
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|8}} | ! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|8}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Silver Star|120|8}}</nowiki> | ||
|- | |- | ||
!style="background:#C0C0C0"|9 | !style="background:#C0C0C0"|9 | ||
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|9}} | ! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|9}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Silver Star|120|9}}</nowiki> | ||
|- | |- | ||
!style="background:#C0C0C0"|10 | !style="background:#C0C0C0"|10 | ||
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|10}} | ! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|10}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Silver Star|120|10}}</nowiki> | ||
|- | |- | ||
!style="background:#C0C0C0"|11 | !style="background:#C0C0C0"|11 | ||
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|11}} | ! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|11}} | ||
|<nowiki>{{Ribbons| | |<nowiki>{{Ribbons|Silver Star|120|11}}</nowiki> | ||
|} | |} | ||
|} | |} | ||
Line 286: | Line 295: | ||
{| cellpadding="0" style="border: 1px solid darkgray;" | {| cellpadding="0" style="border: 1px solid darkgray;" | ||
|- border="0" | |- border="0" | ||
| | | {{Ribbons|TOSMA|100}} | ||
| {{Ribbons| | | {{Ribbons|Legion of Merit|100|4}} | ||
|- | |- | ||
| {{Ribbons| | | {{Ribbons|Silver Star|100|7}} | ||
| {{Ribbons| | | {{Ribbons|Purple Heart|100|2}} | ||
|- | |- | ||
| | | {{Ribbons|Vaadwaur Invasion Campaign Ribbon|100}} | ||
| {{Ribbons| | | {{Ribbons|Gold Lifesaving Ribbon|100|2r}} | ||
|} | |} | ||
Line 301: | Line 310: | ||
{| cellpadding="0" style="border: 1px solid darkgray;" | {| cellpadding="0" style="border: 1px solid darkgray;" | ||
|- border="0" | |- border="0" | ||
| | | {{Ribbons|TOSMA|100}} | ||
| {{Ribbons| | | {{Ribbons|Legion of Merit|100|4}} | ||
|- | |- | ||
| {{Ribbons| | | {{Ribbons|Silver Star|100|7}} | ||
| {{Ribbons| | | {{Ribbons|Purple Heart|100|2}} | ||
|- | |- | ||
| | | {{Ribbons|Vaadwaur Invasion Campaign Ribbon|100}} | ||
| {{Ribbons| | | {{Ribbons|Gold Lifesaving Ribbon|100|2r}} | ||
|} | |} | ||
</pre> | </pre> |
Revision as of 21:04, 19 February 2014
Displaying Multiple Citations of a 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!
NEW!You can also just type in the formal name of the ribbon instead of the file name: {{Ribbons|Legion of Merit|200|4}}
Use the following formal names:
Examples: {{Ribbons|Silver Star}}
{{Ribbons|Silver Lifesaving Ribbon|100|7}}
If you wish though, you can still use the raw file names instead. |
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|Silver Star|100|7}}
and get
Right-aligned single starSome 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|Silver Lifesaving Ribbon|100|2r}} gives you
|
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 at a width of 120 pixels:
|
And here's how it looks in a service rack:
The code used for that:
{| cellpadding="0" style="border: 1px solid darkgray;" |- border="0" | {{Ribbons|TOSMA|100}} | {{Ribbons|Legion of Merit|100|4}} |- | {{Ribbons|Silver Star|100|7}} | {{Ribbons|Purple Heart|100|2}} |- | {{Ribbons|Vaadwaur Invasion Campaign Ribbon|100}} | {{Ribbons|Gold Lifesaving Ribbon|100|2r}} |}
Problems or Questions?
Let Rich know!