Template:ImageCaption: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div class="thumb t{{{align|right}}}"><div class="thumbinner">[[{{{1|{{{image1}}}}}}|{{{width1|{{{width|90px}}}}}}]][[{{{2|{{{image2}}}}}}|{{{width2|{{{width|90px}}}}}}]]<div style="" class="thumbcaption">[[File:Magnify-clip.png|right|link={{{1|{{{image1}}}}}}]][[File:Magnify-clip.png|right|link={{{2|{{{image2}}}}}}]]{{{caption}}}.</div></div></div></includeonly><noinclude>
<includeonly><div class="thumb t{{{align|right}}}"><div class="thumbinner">[[{{{1|{{{image1}}}}}}|{{{width1|{{{width|90px}}}}}}]][[{{{2|{{{image2}}}}}}|{{{width2|{{{width|90px}}}}}}]]{{#if:{{{3<includeonly>|</includeonly>}}} | [[{{{3|{{{image3}}}}}}|{{{width3|{{{width|90px}}}}}}]] }}<div style="" class="thumbcaption">[[File:Magnify-clip.png|right|link={{{1|{{{image1}}}}}}]][[File:Magnify-clip.png|right|link={{{2|{{{image2}}}}}}]]{{#if:{{{3<includeonly>|</includeonly>}}} | [[File:Magnify-clip.png|right|link={{{3|{{{image3}}}}}}]] }}{{{caption}}}.</div></div></div></includeonly><noinclude>
{{documentation}}[[Category:Templates]]</noinclude>
{{documentation}}[[Category:Templates]]</noinclude>

Revision as of 20:03, June 24, 2011

}}} | [[{{{image3}}}|90px]] }}

link={{{image1}}}
link={{{image2}}}
link={{{image3}}}
{{{caption}}}.

</includeonly>

Usage

This template allows you to place up to three images within one thumbnail frame.

{{ImageCaption
|image1  = the first image
|image2  = the second image
|image3  = the third image (optional)
|width1  = the width of the first image (default 90px)
|width2  = the width of the second image (default 90px)
|width3  = the width of the third image (default 90px)
|width   = the width of every image (optional, default 90px)
|size    = the width of the frame
|align   = the alignment of the image (optional, default right)
|caption = the caption
}}

Example

Smash Wiki's Logo.Smashwiki logo80.png
Part of the MediaWiki software. For use in {{ImageCaption}}
Part of the MediaWiki software. For use in {{ImageCaption}}
Caption..
{{ImageCaption
|image1 = File:Wiki.png
|image2 = File:Smashwiki logo80.png
|width1 = 100px
|width2 = 100px
|align  = right
|caption = Caption.
}}

Blank Code

{{ImageCaption
|image1  = 
|image2  = 
|width1  = 
|width2  = 
|align   = 
|caption = 
}}
(Transcluded documentation: view)