Template:Multiple image: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
Megadardery (talk | contribs) m (actually showing the difference between alt and caption in the last example.) |
(condensing: don't need the spaces everywhere) |
||
Line 19: | Line 19: | ||
<pre style="width:60%"> | <pre style="width:60%"> | ||
{{multiple image | {{multiple image | ||
|align = left/center/right | |align= left/center/right | ||
|direction = vertical/horizontal | |direction= vertical/horizontal | ||
|header = header for pictures | |header= header for pictures | ||
|footer = A single footer for all the pics | |footer= A single footer for all the pics | ||
|width = size for all the pictures, use numbers only | |width= size for all the pictures, use numbers only | ||
| image1 = set a pic | |image1= set a pic | ||
| alt1 = alternate text for pic | |alt1= alternate text for pic | ||
| width1 = size for an specific picture, use numbers only | |width1= size for an specific picture, use numbers only | ||
|caption1 = caption for an specific picture | |caption1= caption for an specific picture | ||
| image2 = | |image2= | ||
| alt2 = | |alt2= | ||
| width2 = | |width2= | ||
|caption2 = | |caption2= | ||
}} | }} | ||
</pre> | </pre> | ||
Line 45: | Line 45: | ||
<pre style="width:100%"> | <pre style="width:100%"> | ||
{{multiple image | {{multiple image | ||
|align = center | |align=center | ||
|direction = horizontal | |direction=horizontal | ||
|footer = Two Koopa Shells | |footer=Two Koopa Shells | ||
|width = 100 | |width=100 | ||
|image1=Green Shell Artwork - Mario Kart Wii.png | |||
| image1 = Green Shell Artwork - Mario Kart Wii.png | |alt1=green shell | ||
| alt1 = green shell | |image2=Red Shell Artwork - Mario Kart Wii.png | ||
|alt2=red shell | |||
| image2 = Red Shell Artwork - Mario Kart Wii.png | |||
| alt2 = red shell | |||
}} | }} | ||
</pre> | </pre> | ||
| | | | ||
{{multiple image | {{multiple image | ||
|align = center | |align=center | ||
|direction = horizontal | |direction=horizontal | ||
|footer = Two Koopa Shells | |footer=Two Koopa Shells | ||
|width = 100 | |width=100 | ||
|image1=Green Shell Artwork - Mario Kart Wii.png | |||
| image1 = Green Shell Artwork - Mario Kart Wii.png | |alt1=green shell | ||
| alt1 = green shell | |image2=Red Shell Artwork - Mario Kart Wii.png | ||
|alt2=red shell | |||
| image2 = Red Shell Artwork - Mario Kart Wii.png | |||
| alt2 = red shell | |||
}} | }} | ||
|- bgcolor=gainsboro | |- bgcolor=gainsboro | ||
Line 77: | Line 73: | ||
<pre style="width:100%"> | <pre style="width:100%"> | ||
{{multiple image | {{multiple image | ||
|align = center | |align=center | ||
|direction =vertical | |direction=vertical | ||
|footer = The Mario Bros. | |footer=The Mario Bros. | ||
|width = 100 | |width=100 | ||
|image1=MarioNSMBWii.PNG | |||
| image1 = MarioNSMBWii.PNG | |alt1=Mario | ||
| alt1 = Mario | |image2=LuigiNSMBWii.PNG | ||
|alt2=Luigi | |||
| image2 = LuigiNSMBWii.PNG | |||
| alt2 = Luigi | |||
}} | }} | ||
</pre> | </pre> | ||
| | | | ||
{{multiple image | {{multiple image | ||
|align = center | |align=center | ||
|direction = vertical | |direction=vertical | ||
|footer = The Mario Bros. | |footer=The Mario Bros. | ||
|width = 100 | |width=100 | ||
|image1=MarioNSMBWii.PNG | |||
| image1 = MarioNSMBWii.PNG | |alt1=Mario | ||
| alt1 = Mario | |image2=LuigiNSMBWii.PNG | ||
|alt2=Luigi | |||
| image2 = LuigiNSMBWii.PNG | |||
| alt2 = Luigi | |||
}} | }} | ||
|- bgcolor=gainsboro | |- bgcolor=gainsboro | ||
Line 109: | Line 101: | ||
<pre style="width:100%"> | <pre style="width:100%"> | ||
{{multiple image | {{multiple image | ||
|align = right | |align=right | ||
|direction = horizontal | |direction=horizontal | ||
|footer_align=center | |footer_align=center | ||
|footer = Marioverse Protagonists | |footer=Marioverse Protagonists | ||
| image1 = MarioNSMBWii.PNG | |image1=MarioNSMBWii.PNG | ||
| alt1 = The plumber | |alt1=The plumber | ||
| width1 = 80 | |width1=80 | ||
|caption1 = Mario | |caption1=Mario | ||
| image2 = LuigiNSMBWii.PNG | |image2=LuigiNSMBWii.PNG | ||
| alt2 = Mario's younger brother | |alt2=Mario's younger brother | ||
| width2 = 70 | |width2=70 | ||
|caption2 = Luigi | |caption2=Luigi | ||
| image3 = NSMBWiiPeach.png | |image3=NSMBWiiPeach.png | ||
| alt3 = Damsel in distress | |alt3=Damsel in distress | ||
| width3 = 75 | |width3=75 | ||
|caption3 = Princess Peach | |caption3=Princess Peach | ||
| image4 = BowserNSMBWii.png | |image4=BowserNSMBWii.png | ||
| alt4 = King Koopa | |alt4=King Koopa | ||
| width4 = 95 | |width4=95 | ||
|caption4 = Bowser | |caption4=Bowser | ||
}} | }} | ||
</pre> | </pre> | ||
| | | | ||
{{multiple image | {{multiple image | ||
|align = right | |align=right | ||
|direction = horizontal | |direction=horizontal | ||
|footer_align=center | |footer_align=center | ||
|footer = Marioverse Protagonists | |footer=Marioverse Protagonists | ||
| image1 = MarioNSMBWii.PNG | |image1=MarioNSMBWii.PNG | ||
| alt1 = The plumber | |alt1=The plumber | ||
| width1 = 80 | |width1=80 | ||
|caption1 = Mario | |caption1=Mario | ||
| image2 = LuigiNSMBWii.PNG | |image2=LuigiNSMBWii.PNG | ||
| alt2 = Mario's younger brother | |alt2=Mario's younger brother | ||
| width2 = 70 | |width2=70 | ||
|caption2 = Luigi | |caption2=Luigi | ||
| image3 = NSMBWiiPeach.png | |image3=NSMBWiiPeach.png | ||
| alt3 = Damsel in distress | |alt3=Damsel in distress | ||
| width3 = 75 | |width3=75 | ||
|caption3 = Princess Peach | |caption3=Princess Peach | ||
| image4 = BowserNSMBWii.png | |image4=BowserNSMBWii.png | ||
| alt4 = King Koopa | |alt4=King Koopa | ||
| width4 = 95 | |width4=95 | ||
|caption4 = Bowser | |caption4=Bowser | ||
}} | }} | ||
|} | |} | ||
[[Category:Media Templates|{{PAGENAME}}]] | [[Category:Media Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 16:40, November 22, 2015
Basic Usage | |
---|---|
The multiple image template allows to set two or more images at the same time in a image box, kinda similar to a gallery but without wasting space. You can use up to 10 pictures arranged in a row either horizontally or vertically. Combine the next features to create your own gallery this time! You can go here to see more advanced results or to the {{Multiframe}} template where the images share the same image frame. {{multiple image |align= left/center/right |direction= vertical/horizontal |header= header for pictures |footer= A single footer for all the pics |width= size for all the pictures, use numbers only |image1= set a pic |alt1= alternate text for pic |width1= size for an specific picture, use numbers only |caption1= caption for an specific picture |image2= |alt2= |width2= |caption2= }} | |
Examples | |
Example 1 | Result |
{{multiple image |align=center |direction=horizontal |footer=Two Koopa Shells |width=100 |image1=Green Shell Artwork - Mario Kart Wii.png |alt1=green shell |image2=Red Shell Artwork - Mario Kart Wii.png |alt2=red shell }} |
|
Example 2 | Result |
{{multiple image |align=center |direction=vertical |footer=The Mario Bros. |width=100 |image1=MarioNSMBWii.PNG |alt1=Mario |image2=LuigiNSMBWii.PNG |alt2=Luigi }} |
|
Example 3 | Result |
{{multiple image |align=right |direction=horizontal |footer_align=center |footer=Marioverse Protagonists |image1=MarioNSMBWii.PNG |alt1=The plumber |width1=80 |caption1=Mario |image2=LuigiNSMBWii.PNG |alt2=Mario's younger brother |width2=70 |caption2=Luigi |image3=NSMBWiiPeach.png |alt3=Damsel in distress |width3=75 |caption3=Princess Peach |image4=BowserNSMBWii.png |alt4=King Koopa |width4=95 |caption4=Bowser }} |