Template:Multiframe: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary |
(fix) |
||
Line 1: | Line 1: | ||
{{#switch:{{{align}}} | {{#switch:{{{align}}}|left=<div class="thumb tleft">|none=<div class="thumb tnone">|center=<center><div class="thumb tnone">|#default=<div class="thumb tright">}}<div class=thumbinner style="<noinclude>width:82px</noinclude>{{#if:{{{size|}}}|width:{{#expr:{{{size}}}+2}}px}}"><div class=thumbimage clear=all>{{{1|<noinclude>[[File:Example.png|30px]][[File:Star.PNG|50px]]<br>[[File:MarioNSMBWii.PNG|70px]]</noinclude>}}}</div><div class=thumbcaption clear=all>{{{2|<noinclude>This is an example of the images' description. It will appear in a box behind them.</noinclude>}}}</div></div></div>{{#ifeq:{{{align}}}|center|</center>}}<noinclude>If you want to use more than one image in one box (or the image from foreign site), you can use this template. | ||
|left=<div class="thumb tleft"> | |||
|none=<div class="thumb tnone"> | |||
|center=<center><div class="thumb tnone"> | |||
|#default=<div class="thumb tright"> | |||
}} | |||
<div class=thumbinner style="<noinclude>width:82px</noinclude>{{#if:{{{size|}}}|width:{{#expr:{{{size}}}+2}}px}}"> | |||
<div class=thumbimage clear=all>{{{1|<noinclude>[[File:Example.png|30px]][[File:Star.PNG|50px]]<br>[[File:MarioNSMBWii.PNG|70px]]</noinclude>}}}</div> | |||
<div class=thumbcaption clear=all>{{{2|<noinclude>This is an example of the images' description. It will appear in a box behind them.</noinclude>}}}</div></div></div> | |||
{{#ifeq:{{{align}}}|center|</center>}} | |||
<noinclude> | |||
If you want to use more than one image in one box (or the image from foreign site), you can use this template. | |||
<pre style=font-size:10pt>{{multiframe | <pre style=font-size:10pt>{{multiframe | ||
| [[File:Example.png|30px]] <!-- You can put any image with any resolution --> | | [[File:Example.png|30px]] <!-- You can put any image with any resolution --> | ||
Line 22: | Line 11: | ||
If you want to use images in separate frames, you can use {{tem|multiple image}} instead. | If you want to use images in separate frames, you can use {{tem|multiple image}} instead. | ||
[[Category:Media Templates|Multiframe]] | [[Category:Media Templates|Multiframe]]</noinclude> | ||
</noinclude> |
Revision as of 06:44, March 10, 2011
If you want to use more than one image in one box (or the image from foreign site), you can use this template.
{{multiframe | [[File:Example.png|30px]] <!-- You can put any image with any resolution --> [[File:Star.PNG|50px]] <br> <!-- Put the below image under the above two --> [[File:MarioNSMBWii.PNG|70px]] | This is an example of the images' description. It will appear in a box behind them. <!-- Description --> | size= 80 <!-- Put width size (in pixels), the top two are equals 80 and the bottom 70, put the greater one --> | align= right <!-- Box's appearance (left/right/center) --> }}
If you want to use images in separate frames, you can use {{multiple image}} instead.