User:Rich/Sandbox: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|7}}
{{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|7}}


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


===Old Example===
And here's how it looks in a service rack:
 
<pre>{{Awardstar|Awards ServiceRibbons LegionOfMerit 2011.jpg|200|silver}}</pre>
 
gives you
 
{{Awardstar|Awards ServiceRibbons LegionOfMerit 2011.jpg|200|silver}}
 
and
 
<pre>{{Awardstar|Awards ServiceRibbons SilverStar 2011.jpg|100|gold}}</pre>
 
gives you
 
{{Awardstar|Awards ServiceRibbons SilverStar 2011.jpg|100|gold}}
 
And how it looks in a service rack:


{| cellpadding="0" style="border: 1px solid darkgray;"
{| cellpadding="0" style="border: 1px solid darkgray;"
|- border="0"
|- border="0"
| [[File:Awards_General_Tosma1_2011.jpg|100px]]
| [[File:Awards_General_Tosma1_2011.jpg|100px]]
| {{Awardstar|Awards ServiceRibbons LegionOfMerit 2011.jpg|100|silver}}
| {{Ribbons|Awards ServiceRibbons LegionOfMerit 2011.jpg|100|7}}
|-
|-
| {{Awardstar|Awards ServiceRibbons SilverStar 2011.jpg|100|gold}}
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|3}}
| [[File:Awards_General_Neelix_2011.jpg‎|100px]]
| [[File:Awards_General_Neelix_2011.jpg‎|100px]]
|-
|-
Line 56: Line 40:
|- border="0"
|- border="0"
| [[File:Awards_General_Tosma1_2011.jpg|100px]]
| [[File:Awards_General_Tosma1_2011.jpg|100px]]
| {{Awardstar|Awards ServiceRibbons LegionOfMerit 2011.jpg|100|silver}}
| {{Ribbons|Awards ServiceRibbons LegionOfMerit 2011.jpg|100|7}}
|-
|-
| {{Awardstar|Awards ServiceRibbons SilverStar 2011.jpg|100|gold}}
| {{Ribbons|Awards ServiceRibbons SilverStar 2011.jpg|100|3}}
| [[File:Awards_General_Neelix_2011.jpg‎|100px]]
| [[File:Awards_General_Neelix_2011.jpg‎|100px]]
|-
|-

Revision as of 01:21, 26 January 2014

NEW! EVEN EASIER!

Just type in

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

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
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]]
|-
|}