Difference between revisions of "Template:Image frame"
(Created page with '<includeonly>{{#ifeq:{{{align|right}}}|center|<div class="center">|}}<div class="thumb {{#switch: {{{align|right}}} | right=tright | left=tleft | center=tnone | none=tnone | trig…') |
(test) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#ifeq:{{{align|right}}}|center|<div class="center">|}}<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}} | + | <includeonly>{{#ifeq:{{{align|right}}}|center|<div class="center">|}}<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}};}}">{{#ifeq: {{{pos|bottom}}} | bottom |<div class="thumbimage" style="{{#if:{{{width|}}}|width:{{{width}}};}}">{{{content}}}</div>|}}<div class="thumbcaption">{{#if: {{{link|}}} | <div class="magnify" style="float:right">{{{linkoverride|[[:{{{link}}}|info]]}}}</div> |}}{{{caption|}}}</div>{{#ifeq: {{{pos|bottom}}} | top | <div class="thumbimage" style="{{#if:{{{width|}}}|width:{{{width}}};}}">{{{content}}}</div> |}}</div></div>{{#ifeq:{{{align|right}}}|center|</div>|}}</includeonly><noinclude> |
{{Wikipedia doc}} | {{Wikipedia doc}} | ||
[[Category:Formatting templates|Image frame]] | [[Category:Formatting templates|Image frame]] | ||
[[Category:Templates|Image frame]] | [[Category:Templates|Image frame]] | ||
</noinclude> | </noinclude> |
Revision as of 23:38, 27 December 2010
Documentation for this template is available at Template:Image frame on Wikipedia. |