Template:Multiple image

From The Jedi Academy Archives
Revision as of 13:00, 11 September 2011 by Masta (talk | contribs) (Created page with "<includeonly><div class="thumb {{#switch: {{{align|}}} | left = tleft | center | centre = tnone | tright}}" style="width:{{#ifeq: {{{direction|horizontal}}} | vertical | {{#expr:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 Template:Tem 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 = MKwii Greenshell.jpg
| alt1 = green shell

| image2 = MKwii Redshell.jpg
| 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 = Mario
| width1 = 80
|caption1 = Mario 

| image2 = LuigiNSMBWii.PNG
| alt2 = Luigi
| width2 = 70
|caption2 = Luigi 

| image3 = NSMBWiiPeach.png
| alt3 = Princess Peach
| width3 = 75
|caption3 = Princess Peach 

| image4 = BowserNSMBWii.png
| alt4 = Bowser
| width4 = 95
|caption4 = Bowser
}}
Mario
Luigi
Princess Peach
Bowser
Marioverse Protagonists