Template:Ribbons: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 59: Line 59:
<div style="position: absolute; left: {{#expr:({{{2}}}/1.65)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
<div style="position: absolute; left: {{#expr:({{{2}}}/1.65)}}px; top: {{#expr:({{{2}}}/16)}}px; padding: 0;"><!--
       -->[[File:Award-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}|{{RibbonName|{{{1}}}}}]]</div>
       -->[[File:Award-silverstar.png|{{#expr:({{{2}}}/5) round 0}}px|link=File:{{{1}}}|{{RibbonName|{{{1}}}}}]]</div>
}}[[File:{{{1}}}|{{{2}}}px|{{RibbonName|{{{1}}}}}]]</div></includeonly>
}}[[File:{{RibbonNametoFile|{{{1}}}}}|{{{2}}}px|{{RibbonName|{{{1}}}}}]]</div></includeonly>
<noinclude>===Displaying Multiple Citations of a [[Service Ribbons|Service Ribbon]]===
<noinclude>===Displaying Multiple Citations of a [[Service Ribbons|Service Ribbon]]===
{{Quote box
{{Quote box
Line 82: Line 82:


{{Ribbons|Awards ServiceRibbons LegionOfMerit 2011.jpg|200|4}}
{{Ribbons|Awards ServiceRibbons LegionOfMerit 2011.jpg|200|4}}
{| cellspacing="3" width="70%"
|- valign="top"
|bgcolor="#F5FAFF" 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===
{|
|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
|}
Example:
<pre>{{Ribbons|Silver Star}}</pre>
{{Ribbons|Silver Star}}
|}


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:

Navigation menu