Template:Ribbons: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 85: Line 85:
{| cellspacing="3" width="70%"  
{| cellspacing="3" width="70%"  
|- valign="top"
|- valign="top"
|bgcolor="#F5FAFF" style="border:1px solid #CEDFF2; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"|
|bgcolor="lightgreen" style="border:1px solid #CEDFF2; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"|
===NEW! Now you can type in the following names to get the correct ribbon as well rather than the actual file name===
===NEW! Now you can type in the following names to get the correct ribbon as well rather than the actual file name===
{|
{|
Line 174: Line 174:
|}
|}


Example:
Examples:
<pre>{{Ribbons|Silver Star}}</pre>
<pre>{{Ribbons|Silver Star}}</pre>


{{Ribbons|Silver Star}}
{{Ribbons|Silver Star}}
<pre>{{Ribbons|Silver Lifesaving Ribbon|100|7}}</pre>
{{Ribbons|Silver Lifesaving Ribbon|100|7}}
|}
|}



Revision as of 20:51, 19 February 2014

Displaying Multiple Citations of a 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!

Legion of Merit
Legion of Merit
Legion of Merit
Legion of Merit


NEW! Now you can type in the following names to get the correct ribbon as well rather than the actual file name

Prisoner of War Ribbon Purple Heart Explorer's Ribbon Medical Science Ribbon
Defense of Temporal Flow Ribbon Joint Meritorious Unit Award First Contact Ribbon Extended Service Ribbon
Peacekeeper Service Ribbon Federation Cross Good Conduct Ribbon Distinguished Service Ribbon
Silver Star Legion of Merit UFP Medal of Freedom Gold Lifesaving Ribbon
Silver Lifesaving Ribbon Lifesaving Ribbon Galactic War with Borg Service Medal Romulan Campaign Medal
Hobus Heroism Ribbon Ithassa Region Campaign Medal Gorn Campaign Ribbon Bajoran Campaign Ribbon
Vaadwaur Invasion Campaign Ribbon Gorn Invasion Ribbon Grendellai Operations Ribbon Klingon Invasion Ribbon
Gateway Ribbon TOSMA Genesis Badge Scotty Cross
Neelix Award Nebula Bar Silver Palm Sheathed Sword
B-Plot Award Russ Bar 3-year Member 5-year Member
10-year Member Locutus Award Sarpeidon Award Data Artistic Award
Boothby Award Rising Star Award Kalendra Award Xalor Clan Xifilis Award
Great Bird Award Prantares Ribbon Natasha Yar Pin Voyager Medallion
Sisko Tactical Cross Phoenix Award Cochrane Award Pilot's Sextant
Order of Valiant Heart Semper Fidelis Award Strange Medallion Black Cross
Lwaxana Troi Medallion Staff Member of Year Award James T. Kirk Cross Sarek Star
Christopher Pike Pendant Shuvalis Diamond of Recognition Kathryn Janeway Award Picard Award

Examples:

{{Ribbons|Silver Star}}
Silver Star


{{Ribbons|Silver Lifesaving Ribbon|100|7}}
Silver Lifesaving Ribbon
Silver Lifesaving Ribbon
Silver Lifesaving Ribbon


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

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

Awards ServiceRibbons Explorers 2011.jpg Awards ServiceRibbons LifesavingGold 2011.jpg Awards ServiceRibbons LifesavingSilver 2011.jpg

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


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:

Citations Ribbon Wikicode
1 {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120}}
2 {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|2}}
2r {{Ribbons|Awards ServiceRibbons LifesavingSilver 2011.jpg|120|2r}}
3 {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|3}}
4 {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|4}}
5 {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|5}}
6 {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|6}}
6r {{Ribbons|Awards ServiceRibbons Explorers 2011.jpg|120|6r}}
7 {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|7}}
8 {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|8}}
9 {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|9}}
10 {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|10}}
11 {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|120|11}}


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

Awards General Tosma1 2011.jpg
Awards-ServiceRibbon-VaadwaurInvasion.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!