User:Rich/Sandbox

From 118Wiki
< User:Rich
Revision as of 01:25, 26 January 2014 by Rich (talk | contribs)
Jump to navigation Jump to search

NEW! EVEN EASIER!

Just type in

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

Where the last number is the number of times you've been awarded that ribbon and you'll get the appropriate arrangement of stars!

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


So for instance, let's say you've been awarded the Silver Star 7 times (wow!). You'd type in:

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

and get

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


The number after the award name is obviously how wide in pixels you want the ribbon.

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

Awards General Tosma1 2011.jpg
Awards General Neelix 2011.jpg
Awards-ServiceRibbon-VaadwaurInvasion.jpg KlingonInvasion.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|7}}
|-
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|3}}
| [[File:Awards_General_Neelix_2011.jpg‎|100px]]
|-
| [[File:Awards-ServiceRibbon-VaadwaurInvasion.jpg|100px]]
| [[File:KlingonInvasion.jpg|100px]]
|-
|}