Template:ForceRarity: Difference between revisions
m
no edit summary
IceSoulMOG (talk | contribs) (Created page with "<includeonly>{{#vardefine:icon_size|{{#switch:{{{size|}}}|1=20|2=32|#default=64}}}}<div style="{{#if:{{{float|}}}|float: {{{float|}}};}}position: relative; width:{{#var:icon_s...") |
IceSoulMOG (talk | contribs) mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:icon_size|{{#switch:{{{size|}}}|1=20|2=32|#default=64}}}}<div style="{{#if:{{{float|}}}|float: {{{float|}}};}}position: relative; width:{{#var:icon_size}}px; height:{{#var:icon_size}}px; display: inline-block; vertical-align: {{#if:{{{valign|}}}|{{{valign|}}}|middle}}"><div style="position: absolute; top:{{#switch:{{{size|}}}|1|2=-5|#default=0}}px; left: 0; z-index: 1; pointer-events: none;">[[File:Force Rarity - {{{rarity|}}}.png|{{#switch:{{{size|}}}|1=11|2=18|#default=36}}px]]</div> <div style="position: absolute;">[[File:{{{1|}}}|{{#var:icon_size}}px|link={{#if:{{{link|}}}|{{{link|}}}|File:{{{1|}}}}}]]</div></div></includeonly><noinclude>{{Doc}}</noinclude> | <includeonly>{{#vardefine:icon_size|{{#switch:{{{size|}}}|1=20|2=32|#default=64}}}}<div style="{{#if:{{{float|}}}|float: {{{float|}}};}}position: relative; width:{{#var:icon_size}}px; height:{{#var:icon_size}}px; display: inline-block; vertical-align: {{#if:{{{valign|}}}|{{{valign|}}}|middle}}"><div style="position: absolute; top:{{#switch:{{{size|}}}|1|2=-5|#default=0}}px; left: 0; z-index: 1; pointer-events: none;">[[File:Force Rarity - {{#switch:{{{rarity|}}}|Elite|elite=Elite|Unique|unique=Unique|Legend|legend=Legend|#default=Rare}}.png|{{#switch:{{{size|}}}|1=11|2=18|#default=36}}px]]</div> <div style="position: absolute;">[[File:{{{1|}}}|{{#var:icon_size}}px|link={{#if:{{{link|}}}|{{{link|}}}|File:{{{1|}}}}}{{#if: {{{name|}}}|{{!}}{{{name|}}}]]|]]}}</div></div></includeonly><noinclude>{{Doc}}</noinclude> |