Template:Ribbon: Difference between revisions

From StarFleet Bureau of Information
No edit summary
No edit summary
Line 1: Line 1:
{{#ifexpr: {{{number|0}}} > 0 | <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; width:{{{width|100}}}px; border:none; display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline;">
<div style="position:relative; display:inline-block;"> }}
<div style="position:relative; display:inline-block;">
 
{{#switch: {{{number}}}
{{#switch: {{{number}}}
|1=
|1=
|2=<div style="position: absolute; font-size:large; left: 30px; 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>
|3=<div style="position: absolute; font-size:large; left: 30px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div>
<div style="position: absolute; font-size:large; left: 20px; top: 5px; padding: 0;">[[image:BronzeStar.png|20px|]]</div>
}}
}}
{{#if:{{{image|}}} | [[image:{{{image|}}}]]}}
{{#if:{{{image|}}} | [[image:{{{image|}}}]]}}
</div></div>

Revision as of 17:52, 21 May 2009