Template:Ribbon: Difference between revisions
From StarFleet Bureau of Information
Dunstvangeet (talk | contribs) No edit summary |
Dunstvangeet (talk | contribs) No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This is a template to display Ribbon Devices with multiple award stars properly displayed. Syntax for this template is <code><nowiki>{{ribbon|number=4|image=Brs.png}}</nowiki></code> | |||
</noinclude> | |||
<includeonly><div style="position:relative; width:{{{width|100}}}px; border:none; display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline;"><div style="position:relative; display:inline-block;">{{#switch:{{{number}}} | <includeonly><div style="position:relative; width:{{{width|100}}}px; border:none; display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline;"><div style="position:relative; display:inline-block;">{{#switch:{{{number}}} | ||
|2=<div style="position: absolute; font-size:large; left: 40px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | |2=<div style="position: absolute; font-size:large; left: 40px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | ||
Line 238: | Line 241: | ||
<div style="position: absolute; font-size:large; left: 40px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 40px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: 60px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 60px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: | <div style="position: absolute; font-size:large; left: 80px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | ||
|55=<div style="position: absolute; font-size:large; left: 10px; top: 0px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | |55=<div style="position: absolute; font-size:large; left: 10px; top: 0px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: 20px; top: 10px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 20px; top: 10px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: 30px; top: | <div style="position: absolute; font-size:large; left: 30px; top: 0px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: 50px; top: 0px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 50px; top: 0px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: 60px; top: 10px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 60px; top: 10px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | ||
Line 256: | Line 259: | ||
<div style="position: absolute; font-size:large; left: 40px; top: 5px; padding: 0;">[[image:SilverStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 40px; top: 5px; padding: 0;">[[image:SilverStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: 60px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 60px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: | <div style="position: absolute; font-size:large; left: 80px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | ||
|59=<div style="position: absolute; font-size:large; left: 10px; top: 0px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | |59=<div style="position: absolute; font-size:large; left: 10px; top: 0px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: 20px; top: 10px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 20px; top: 10px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | ||
Line 278: | Line 281: | ||
<div style="position: absolute; font-size:large; left: 40px; top: 5px; padding: 0;">[[image:SilverStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 40px; top: 5px; padding: 0;">[[image:SilverStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: 60px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 60px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: | <div style="position: absolute; font-size:large; left: 80px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | ||
|63=<div style="position: absolute; font-size:large; left: 10px; top: 0px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | |63=<div style="position: absolute; font-size:large; left: 10px; top: 0px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: 20px; top: 10px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 20px; top: 10px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | ||
Line 304: | Line 307: | ||
<div style="position: absolute; font-size:large; left: 40px; top: 5px; padding: 0;">[[image:SilverStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 40px; top: 5px; padding: 0;">[[image:SilverStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: 60px; top: 5px; padding: 0;">[[image:SilverStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 60px; top: 5px; padding: 0;">[[image:SilverStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: | <div style="position: absolute; font-size:large; left: 80px; top: 5px; padding: 0;">[[image:SilverStar.png|20px|]]</div> | ||
|67=<div style="position: absolute; font-size:large; left: 10px; top: 0px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | |67=<div style="position: absolute; font-size:large; left: 10px; top: 0px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: 20px; top: 10px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 20px; top: 10px; padding: 0;">[[image:GoldStar.png|20px|]]</div> | ||
Line 365: | Line 368: | ||
<div style="position: absolute; font-size:large; left: 70px; top: 10px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | <div style="position: absolute; font-size:large; left: 70px; top: 10px; padding: 0;">[[image:BronzeStar.png|20px|]]</div> | ||
<div style="position: absolute; font-size:large; left: 80px; top: 0px; padding: 0;">[[image:BronzeStar.png|20px|]]</div>}} | <div style="position: absolute; font-size:large; left: 80px; top: 0px; padding: 0;">[[image:BronzeStar.png|20px|]]</div>}} | ||
{{#if:{{{image|}}} | [[image:{{{image|}}}| | {{#if:{{{image|}}} | [[image:{{{image|}}}|100px]]}}</div></div> | ||
</includeonly> | </includeonly> |
Latest revision as of 20:18, 25 May 2009
This is a template to display Ribbon Devices with multiple award stars properly displayed. Syntax for this template is {{ribbon|number=4|image=Brs.png}}