Template:MontageBox: Difference between revisions

From EvaWiki
Jump to navigation Jump to search
Line 68: Line 68:
Including any of the following code snippets will generate the ImageBoxes shown below them
Including any of the following code snippets will generate the ImageBoxes shown below them


===Example 1===
<pre>{{ImagesBox
|image1  =[[Image:Reimoon2.jpg|150px]]
|caption =
*text here
*and here
}}</pre>
{{-}}
{{ImagesBox
{{ImagesBox
|image1  =[[Image:Reimoon2.jpg|150px]]
|image1  =[[Image:Reimoon2.jpg|150px]]
Line 75: Line 83:
}}
}}
{{-}}
{{-}}
===Example 2===
<pre>{{ImagesBox
|title  =Image of Rei
|image1  =[[Image:Reimoon2.jpg|150px]]
|caption =
*text here
*and here
}}</pre>
{{-}}
{{ImagesBox
{{ImagesBox
|title  =Image of Rei
|title  =Image of Rei
Line 83: Line 101:
}}
}}
{{-}}
{{-}}
===Example 3===
<pre>{{ImagesBox
|title  =3 Images of Rei (3 column table)
|columns = 3
|image1  =[[Image:Reimoon2.jpg|150px]]
|image2  =[[Image:Reimoon1a.jpg|150px]]
|image3  =[[Image:Reimoon4.jpg|150px]]
|caption =
*text here
*and here
}}</pre>
{{-}}
{{ImagesBox
{{ImagesBox
|title  =3 Images of Rei (3 column table)
|title  =3 Images of Rei (3 column table)
Line 94: Line 125:
}}
}}
{{-}}
{{-}}
===Example 4===
<pre>{{ImagesBox
|title  =3 Images of Rei (2 column table)
|columns = 2
|image1  =[[Image:Reimoon2.jpg|150px]]
|image2  =[[Image:Reimoon1a.jpg|150px]]
|image3  =[[Image:Reimoon4.jpg|150px]]
|caption =
*text here
*and here
}}</pre>
{{-}}
{{ImagesBox
{{ImagesBox
|title  =3 Images of Rei (2 column table)
|title  =3 Images of Rei (2 column table)
Line 104: Line 149:
*and here
*and here
}}
}}
{{-}}
===Example 5===
<pre>{{ImagesBox
|title  =4 Images (2 column table)
|columns = 2
|image1  =[[Image:Shinji Rei Escalator.jpg|200px]]
|image2  =[[Image: Japan Blackout.jpg|200px]]
|image3  =[[Image:Dance Vs Israfel.jpg|200px]]
|image4  =[[Image:Fuyutsuki Candle.jpg|200px]]
|caption =
*text here
*and here
}}</pre>
{{-}}
{{-}}


Line 118: Line 177:
}}
}}
{{-}}
{{-}}
 
 
===Example 6===
<pre>{{ImagesBox
|title  =8 Images (3 column table)
|columns = 3
|image1  =[[Image:Reimoon2.jpg|150px]]
|image2  =[[Image:Reimoon1a.jpg|150px]]
|image3  =[[Image:Reimoon4.jpg|150px]]
|image4  =[[Image:Nerv swimming pool.jpg|150px]]
|image5  =[[Image:Shinji Rei Escalator.jpg|150px]]
|image6  =[[Image: Japan Blackout.jpg|150px]]
|image7  =[[Image:Dance Vs Israfel.jpg|150px]]
|image8  =[[Image:Fuyutsuki Candle.jpg|150px]]
|caption =
Various Images in a Table
}}</pre>
{{-}}
 
{{ImagesBox
{{ImagesBox
|title  =8 Images (3 column table)
|title  =8 Images (3 column table)
Line 133: Line 209:
Various Images in a Table
Various Images in a Table
}}
}}
{{-}}
===Example 7===
<pre>{{ImagesBox
|title  =12 Images (3 column table)
|columns = 3
|image1  =[[Image:Reimoon2.jpg|150px]]
|image2  =[[Image:Reimoon1a.jpg|150px]]
|image3  =[[Image:Reimoon4.jpg|150px]]
|image4  =[[Image:Nerv swimming pool.jpg|150px]]
|image5  =[[Image:Shinji Rei Escalator.jpg|150px]]
|image6  =[[Image: Japan Blackout.jpg|150px]]
|image7  =[[Image:Dance Vs Israfel.jpg|150px]]
|image8  =[[Image:Fuyutsuki Candle.jpg|150px]]
|image9  =[[Image:FGC 01 C003a.jpg|150px]]
|image10 =[[Image:FGC 01 C076d.jpg|150px]]
|image11 =[[Image:FGC 01 C219b.jpg|150px]]
|image12 =[[Image:FGC 01 C284r.jpg|150px]]
|caption =
The maximimum number of images in a table with three columns.
}}</pre>


{{-}}
{{-}}
Line 155: Line 253:
}}
}}


{{-}}
===Example 8===
<pre>{{ImagesBox
|title  =12 Images (2 column table)
|columns = 2
|image1  =[[Image:Reimoon2.jpg|150px]]
|image2  =[[Image:Reimoon1a.jpg|150px]]
|image3  =[[Image:Reimoon4.jpg|150px]]
|image4  =[[Image:Nerv swimming pool.jpg|150px]]
|image5  =[[Image:Shinji Rei Escalator.jpg|150px]]
|image6  =[[Image: Japan Blackout.jpg|150px]]
|image7  =[[Image:Dance Vs Israfel.jpg|150px]]
|image8  =[[Image:Fuyutsuki Candle.jpg|150px]]
|image9  =[[Image:FGC 01 C003a.jpg|150px]]
|image10 =[[Image:FGC 01 C076d.jpg|150px]]
|image11 =[[Image:FGC 01 C219b.jpg|150px]]
|image12 =[[Image:FGC 01 C284r.jpg|150px]]
|caption =
The maximimum number of images in a table with two columns.
}}</pre>
{{-}}
{{-}}



Revision as of 03:24, 4 April 2008

This template is intended to make the presentation of multiple images in one gallery group easier.

The ImagesBox can handle up to 12 images, in a 2 or three column format. The format creates a new row if a column is full, and fills up the next row from left to right.

The ImagesBox is also capable of displaying a single image.

In all cases, a title and caption may be provided, and floating behavior specified.

How To Use This

{{ImagesBox
|float   =
|columns =
|title   =
|image1  =
|image2  =
|image3  =
|image4  =
|image5  =
|image6  =
|image7  =
|image8  =
|image9  =
|image10 =
|image11 =
|image12 =
|caption =

}}

Not all images need be supplied. The title and caption are optional. The default float behaviour is "left".

Examples

Including any of the following code snippets will generate the ImageBoxes shown below them

Example 1

{{ImagesBox
|image1  =[[Image:Reimoon2.jpg|150px]]
|caption =
*text here
*and here
}}


  • text here
  • and here


Example 2

{{ImagesBox
|title   =Image of Rei
|image1  =[[Image:Reimoon2.jpg|150px]]
|caption =
*text here
*and here
}}


Image of Rei
  • text here
  • and here


Example 3

{{ImagesBox
|title   =3 Images of Rei (3 column table)
|columns = 3
|image1  =[[Image:Reimoon2.jpg|150px]]
|image2  =[[Image:Reimoon1a.jpg|150px]]
|image3  =[[Image:Reimoon4.jpg|150px]]
|caption =
*text here
*and here
}}


3 Images of Rei (3 column table)
  • text here
  • and here


Example 4

{{ImagesBox
|title   =3 Images of Rei (2 column table)
|columns = 2
|image1  =[[Image:Reimoon2.jpg|150px]]
|image2  =[[Image:Reimoon1a.jpg|150px]]
|image3  =[[Image:Reimoon4.jpg|150px]]
|caption =
*text here
*and here
}}


3 Images of Rei (2 column table)
  • text here
  • and here


Example 5

{{ImagesBox
|title   =4 Images (2 column table)
|columns = 2
|image1  =[[Image:Shinji Rei Escalator.jpg|200px]]
|image2  =[[Image: Japan Blackout.jpg|200px]]
|image3  =[[Image:Dance Vs Israfel.jpg|200px]]
|image4  =[[Image:Fuyutsuki Candle.jpg|200px]]
|caption =
*text here
*and here
}}


4 Images (2 column table)
  • text here
  • and here


Example 6

{{ImagesBox
|title   =8 Images (3 column table)
|columns = 3
|image1  =[[Image:Reimoon2.jpg|150px]]
|image2  =[[Image:Reimoon1a.jpg|150px]]
|image3  =[[Image:Reimoon4.jpg|150px]]
|image4  =[[Image:Nerv swimming pool.jpg|150px]]
|image5  =[[Image:Shinji Rei Escalator.jpg|150px]]
|image6  =[[Image: Japan Blackout.jpg|150px]]
|image7  =[[Image:Dance Vs Israfel.jpg|150px]]
|image8  =[[Image:Fuyutsuki Candle.jpg|150px]]
|caption =
Various Images in a Table
}}


8 Images (3 column table)

Various Images in a Table



Example 7

{{ImagesBox
|title   =12 Images (3 column table)
|columns = 3
|image1  =[[Image:Reimoon2.jpg|150px]]
|image2  =[[Image:Reimoon1a.jpg|150px]]
|image3  =[[Image:Reimoon4.jpg|150px]]
|image4  =[[Image:Nerv swimming pool.jpg|150px]]
|image5  =[[Image:Shinji Rei Escalator.jpg|150px]]
|image6  =[[Image: Japan Blackout.jpg|150px]]
|image7  =[[Image:Dance Vs Israfel.jpg|150px]]
|image8  =[[Image:Fuyutsuki Candle.jpg|150px]]
|image9  =[[Image:FGC 01 C003a.jpg|150px]]
|image10 =[[Image:FGC 01 C076d.jpg|150px]]
|image11 =[[Image:FGC 01 C219b.jpg|150px]]
|image12 =[[Image:FGC 01 C284r.jpg|150px]]
|caption =
The maximimum number of images in a table with three columns.
}}


12 Images (3 column table)

The maximimum number of images in a table with three columns.



Example 8

{{ImagesBox
|title   =12 Images (2 column table)
|columns = 2
|image1  =[[Image:Reimoon2.jpg|150px]]
|image2  =[[Image:Reimoon1a.jpg|150px]]
|image3  =[[Image:Reimoon4.jpg|150px]]
|image4  =[[Image:Nerv swimming pool.jpg|150px]]
|image5  =[[Image:Shinji Rei Escalator.jpg|150px]]
|image6  =[[Image: Japan Blackout.jpg|150px]]
|image7  =[[Image:Dance Vs Israfel.jpg|150px]]
|image8  =[[Image:Fuyutsuki Candle.jpg|150px]]
|image9  =[[Image:FGC 01 C003a.jpg|150px]]
|image10 =[[Image:FGC 01 C076d.jpg|150px]]
|image11 =[[Image:FGC 01 C219b.jpg|150px]]
|image12 =[[Image:FGC 01 C284r.jpg|150px]]
|caption =
The maximimum number of images in a table with two columns.
}}


12 Images (2 column table)

The maximimum number of images in a table with two columns.