Template:Image frame: Difference between revisions
From Archon Arcana - The KeyForge Wiki
no edit summary
imported>Gerbilo m (+iw) |
No edit summary |
||
Line 7: | Line 7: | ||
{{#ifeq: {{{pos|bottom}}} | top | <div class="thumbimage" style="{{#if:{{{width|}}}|width:{{{width}}}px;}}">{{{content}}}</div> |}}</div></div> | {{#ifeq: {{{pos|bottom}}} | top | <div class="thumbimage" style="{{#if:{{{width|}}}|width:{{{width}}}px;}}">{{{content}}}</div> |}}</div></div> | ||
{{#ifeq:{{{align|right}}}|center|</div>|}}</includeonly><noinclude> | {{#ifeq:{{{align|right}}}|center|</div>|}}</includeonly><noinclude> | ||
This template creates a | This template creates a PICTURE like those surrounding images. This template can be used to put two or more images into a frame together, or as a wrapper for more complicated templates like {{tl|superimpose}}. Sample code for using this template is presented below. | ||
<pre width=100%> | <pre width=100%> | ||
{{Imageframe|width=|content=|caption=|link=|align=|pos=}} | {{Imageframe|width=|content=|caption=|link=|align=|pos=}} |