Template:Force: Difference between revisions
From Elwiki
No edit summary |
m (I made sure to test this with previews before saving) |
||
Line 1: | Line 1: | ||
<includeonly><div style="{{#if:{{{float|}}}|float: {{{float|}}};}}position: relative; width:{{#ifeq:{{{size|}}}|1|20|54}}px; height:{{#ifeq:{{{size|}}}|1|20|54}}px; display: inline-block; vertical-align: {{#if:{{{valign|}}}|{{{valign|}}}|middle}}"><div style="position: absolute; top:{{#ifeq:{{{size|}}}|1|-5|-2}}px; left: 0; z-index: 2; pointer-events: none;">[[File:ForceIcon.png|{{#ifeq:{{{size|}}}|1|10|24}}px]]</div> <div style="position: absolute;">[[File:{{{1|}}}|{{#ifeq:{{{size|}}}|1|20|54}}px|link={{#if:{{{link|}}}|{{{link|}}}/ModA| | <includeonly><div style="{{#if:{{{float|}}}|float: {{{float|}}};}}position: relative; width:{{#ifeq:{{{size|}}}|1|20|54}}px; height:{{#ifeq:{{{size|}}}|1|20|54}}px; display: inline-block; vertical-align: {{#if:{{{valign|}}}|{{{valign|}}}|middle}}"><div style="position: absolute; top:{{#ifeq:{{{size|}}}|1|-5|-2}}px; left: 0; z-index: 2; pointer-events: none;">[[File:ForceIcon.png|{{#ifeq:{{{size|}}}|1|10|24}}px]]</div> <div style="position: absolute;">[[File:{{{1|}}}|{{#ifeq:{{{size|}}}|1|20|54}}px|link={{#if:{{{link|}}}|{{{link|}}}/ModA}}{{#if:{{{2|}}}|{{!}}{{{2|}}}|}}]]</div></div></includeonly> |