Template:Ribbon: Difference between revisions

From StarFleet Bureau of Information
No edit summary
No edit summary
 
(3 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 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|}}}|width=100px]]}}</div></div>
{{#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}}