Template:Image frame: Difference between revisions
From Archon Arcana - The KeyForge Wiki
rm newline
imported>Largoplazo m (Reverted 1 edit by 66.63.126.251 identified as vandalism to last revision by Gerbilo. (TW)) |
imported>Gary (rm newline) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{align|right}}}|center|<div class="center">|}} | <includeonly>{{#ifeq:{{{align|right}}}|center|<div class="center">|}} | ||
<div class="thumb {{#switch: {{{align|right}}} | right=tright | left=tleft | center=tnone | none=tnone | | <div class="thumb {{#switch: {{{align|right}}} | right=tright | left=tleft | center=tnone | none=tnone | tright}}"><div class="thumbinner" style="{{#if:{{{width|}}}|width:{{#expr:{{{width}}}+2}}px;}}"> | ||
tright}}"><div class="thumbinner" style="{{#if:{{{width|}}}|width:{{#expr:{{{width}}}+2}}px;}}"> | |||
{{#ifeq: {{{pos|bottom}}} | bottom |<div class="thumbimage" style="{{#if:{{{width|}}}|width:{{{width}}}px;}}">{{{content}}}</div>|}} | {{#ifeq: {{{pos|bottom}}} | bottom |<div class="thumbimage" style="{{#if:{{{width|}}}|width:{{{width}}}px;}}">{{{content}}}</div>|}} | ||
<div class="thumbcaption">{{#if: {{{link|}}} | <div class="magnify" style="float:right">{{{linkoverride|[[:{{{link}}}|info]]}}}</div> |}} | <div class="thumbcaption">{{#if: {{{link|}}} | <div class="magnify" style="float:right">{{{linkoverride|[[:{{{link}}}|info]]}}}</div> |}} |