Template:Ribbons: Difference between revisions

no edit summary
mNo edit summary
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>===Displaying Multiple Citations of a [[Service Ribbons|Service Ribbon]]===
{{Quote box
{{Quote box
  |title = Multiple Service Ribbons Policy
  |title = Multiple Service Ribbons Policy
  |quote  = 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).
  |quote  = Any [[Service Ribbons|'''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).
  |source = -The [[Captains Council]]
  |source = -The [[Captains Council]]
  |width  = 50%
  |width  = 50%
Line 96: Line 96:
|bgcolor="#F5FAFF" style="border:1px solid #CEDFF2; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"|
|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.
<center>
[[File:Awards ServiceRibbons Explorers 2011.jpg|100px]] [[File:Awards ServiceRibbons LifesavingGold 2011.jpg|100px]] [[File:Awards ServiceRibbons LifesavingSilver 2011.jpg|100px]]
</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,
For instance,
Line 110: Line 115:
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.


Here's how they all look:
Here's how they all look at a width of 120 pixels:


{| cellpadding="0" style="border: 1px solid darkgray;"
{|border='2' cellspacing='0'
!Citations
|-
!Ribbon
|
|- border="0"
{|border='0' cellspacing='0' cellpadding='10'
!1
!style="background:#343434; color:white"|Citations
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120}}
!style="background:#343434; color:white"|Ribbon
!style="background:#343434; color:white"|Wikicode
|-
!style="background:#C0C0C0"|1
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120}}
|<nowiki>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120}}</nowiki>
|-
|-
!2
!style="background:#C0C0C0"|2
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|2}}
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|2}}
|<nowiki>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|2}}</nowiki>
|-
|-
!2r
!style="background:#C0C0C0"|2r
| {{Ribbons|Awards ServiceRibbons LifesavingSilver 2011.jpg|120|2r}}
! style="background:#343434;" |{{Ribbons|Awards ServiceRibbons LifesavingSilver 2011.jpg|120|2r}}
|<nowiki>{{Ribbons|Awards ServiceRibbons LifesavingSilver 2011.jpg|120|2r}}</nowiki>
|-
|-
!3
!style="background:#C0C0C0"|3
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|3}}
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|3}}
|<nowiki>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|3}}</nowiki>
|-
|-
!4
!style="background:#C0C0C0"|4
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|4}}
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|4}}
|<nowiki>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|4}}</nowiki>
|-
|-
!5
!style="background:#C0C0C0"|5
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|5}}
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|5}}
|<nowiki>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|5}}</nowiki>
|-
|-
!6
!style="background:#C0C0C0"|6
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|6}}
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|6}}
|<nowiki>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|6}}</nowiki>
|-
|-
!6r
!style="background:#C0C0C0"|6r
| {{Ribbons|Awards ServiceRibbons Explorers 2011.jpg|120|6r}}
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons Explorers 2011.jpg|120|6r}}
|<nowiki>{{Ribbons|Awards ServiceRibbons Explorers 2011.jpg|120|6r}}</nowiki>
|-
|-
!7
!style="background:#C0C0C0"|7
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|7}}
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|7}}
|<nowiki>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|7}}</nowiki>
|-
|-
!8
!style="background:#C0C0C0"|8
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|8}}
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|8}}
|<nowiki>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|8}}</nowiki>
|-
|-
!9
!style="background:#C0C0C0"|9
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|9}}
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|9}}
|<nowiki>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|9}}</nowiki>
|-
|-
!10
!style="background:#C0C0C0"|10
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|10}}
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|10}}
|<nowiki>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|10}}</nowiki>
|-
|-
!11
!style="background:#C0C0C0"|11
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|11}}
! style="background:#343434;"|{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|11}}
|<nowiki>{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|11}}</nowiki>
|}
|}
|}