<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Template%3AImage_array%2Fdoc</id>
	<title>Template:Image array/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Template%3AImage_array%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:Image_array/doc&amp;action=history"/>
	<updated>2026-04-30T11:12:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=Template:Image_array/doc&amp;diff=13096357&amp;oldid=prev</id>
		<title>imported&gt;HouseBlaster: /* Classes */ those are deprecated; see MediaWiki talk:Common.css/to do</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:Image_array/doc&amp;diff=13096357&amp;oldid=prev"/>
		<updated>2025-09-18T12:56:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Classes: &lt;/span&gt; those are deprecated; see &lt;a href=&quot;/index.php/MediaWiki_talk:Common.css/to_do&quot; title=&quot;MediaWiki talk:Common.css/to do&quot;&gt;MediaWiki talk:Common.css/to do&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{Warning|1={{large|Before making a gallery, please read over the &amp;#039;&amp;#039;&amp;#039;[[WP:IG|image use policy for galleries]]&amp;#039;&amp;#039;&amp;#039;. Generally, a gallery &amp;#039;&amp;#039;&amp;#039;should not be added&amp;#039;&amp;#039;&amp;#039; so long as there is space for images to be effectively presented adjacent to text.}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- Categories go at the bottom of this page. --&amp;gt;&lt;br /&gt;
{{lua|Module:Image array}}&lt;br /&gt;
This template is used to generate a rectangular image array, typically for use within an infobox.  For image galleries, please use {{tl|gallery}} or {{tag|gallery}}.  For most other uses, please consider using {{tl|multiple image}} instead.&lt;br /&gt;
&lt;br /&gt;
== Basic usage ==&lt;br /&gt;
A 4x4 image array&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{image array|perrow = 4&lt;br /&gt;
| image1 =   | caption1 =&lt;br /&gt;
| image2 =   | caption2 =&lt;br /&gt;
| image3 =   | caption3 =&lt;br /&gt;
| image4 =   | caption4 =&lt;br /&gt;
| image5 =   | caption5 =&lt;br /&gt;
| image6 =   | caption6 =&lt;br /&gt;
| image7 =   | caption7 =&lt;br /&gt;
| image8 =   | caption8 =&lt;br /&gt;
| image9 =   | caption9 =&lt;br /&gt;
| image10 =  | caption10 =&lt;br /&gt;
| image11 =  | caption11 =&lt;br /&gt;
| image12 =  | caption12 =&lt;br /&gt;
| image13 =  | caption13 =&lt;br /&gt;
| image14 =  | caption14 =&lt;br /&gt;
| image15 =  | caption15 =&lt;br /&gt;
| image16 =  | caption16 =&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{image array&lt;br /&gt;
| perrow    = 4&lt;br /&gt;
| image1    = &lt;br /&gt;
| caption1  = &lt;br /&gt;
| image2    = &lt;br /&gt;
| caption2  = &lt;br /&gt;
| image3    = &lt;br /&gt;
| caption3  = &lt;br /&gt;
| image4    = &lt;br /&gt;
| caption4  = &lt;br /&gt;
| image5    = &lt;br /&gt;
| caption5  = &lt;br /&gt;
| image6    = &lt;br /&gt;
| caption6  = &lt;br /&gt;
| image7    = &lt;br /&gt;
| caption7  = &lt;br /&gt;
| image8    = &lt;br /&gt;
| caption8  = &lt;br /&gt;
| image9    = &lt;br /&gt;
| caption9  = &lt;br /&gt;
| image10   = &lt;br /&gt;
| caption10 = &lt;br /&gt;
| image11   = &lt;br /&gt;
| caption11 = &lt;br /&gt;
| image12   = &lt;br /&gt;
| caption12 = &lt;br /&gt;
| image13   = &lt;br /&gt;
| caption13 = &lt;br /&gt;
| image14   = &lt;br /&gt;
| caption14 = &lt;br /&gt;
| image15   = &lt;br /&gt;
| caption15 = &lt;br /&gt;
| image16   = &lt;br /&gt;
| caption16 = &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A 5x5 image array&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{image array|perrow = 5&lt;br /&gt;
| image1 =   | caption1 =&lt;br /&gt;
| image2 =   | caption2 =&lt;br /&gt;
| image3 =   | caption3 =&lt;br /&gt;
| image4 =   | caption4 =&lt;br /&gt;
| image5 =   | caption5 =&lt;br /&gt;
| image6 =   | caption6 =&lt;br /&gt;
| image7 =   | caption7 =&lt;br /&gt;
| image8 =   | caption8 =&lt;br /&gt;
| image9 =   | caption9 =&lt;br /&gt;
| image10 =  | caption10 =&lt;br /&gt;
| image11 =  | caption11 =&lt;br /&gt;
| image12 =  | caption12 =&lt;br /&gt;
| image13 =  | caption13 =&lt;br /&gt;
| image14 =  | caption14 =&lt;br /&gt;
| image15 =  | caption15 =&lt;br /&gt;
| image16 =  | caption16 =&lt;br /&gt;
| image17 =  | caption17 =&lt;br /&gt;
| image18 =  | caption18 =&lt;br /&gt;
| image19 =  | caption19 =&lt;br /&gt;
| image20 =  | caption20 =&lt;br /&gt;
| image21 =  | caption21 =&lt;br /&gt;
| image22 =  | caption22 =&lt;br /&gt;
| image23 =  | caption23 =&lt;br /&gt;
| image24 =  | caption24 =&lt;br /&gt;
| image25 =  | caption25 =&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A 5x6 image array&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{image array|perrow = 5&lt;br /&gt;
| image1 =   | caption1 =&lt;br /&gt;
| image2 =   | caption2 =&lt;br /&gt;
| image3 =   | caption3 =&lt;br /&gt;
| image4 =   | caption4 =&lt;br /&gt;
| image5 =   | caption5 =&lt;br /&gt;
| image6 =   | caption6 =&lt;br /&gt;
| image7 =   | caption7 =&lt;br /&gt;
| image8 =   | caption8 =&lt;br /&gt;
| image9 =   | caption9 =&lt;br /&gt;
| image10 =  | caption10 =&lt;br /&gt;
| image11 =  | caption11 =&lt;br /&gt;
| image12 =  | caption12 =&lt;br /&gt;
| image13 =  | caption13 =&lt;br /&gt;
| image14 =  | caption14 =&lt;br /&gt;
| image15 =  | caption15 =&lt;br /&gt;
| image16 =  | caption16 =&lt;br /&gt;
| image17 =  | caption17 =&lt;br /&gt;
| image18 =  | caption18 =&lt;br /&gt;
| image19 =  | caption19 =&lt;br /&gt;
| image20 =  | caption20 =&lt;br /&gt;
| image21 =  | caption21 =&lt;br /&gt;
| image22 =  | caption22 =&lt;br /&gt;
| image23 =  | caption23 =&lt;br /&gt;
| image24 =  | caption24 =&lt;br /&gt;
| image25 =  | caption25 =&lt;br /&gt;
| image26 =  | caption26 =&lt;br /&gt;
| image27 =  | caption27 =&lt;br /&gt;
| image28 =  | caption28 =&lt;br /&gt;
| image29 =  | caption29 =&lt;br /&gt;
| image30 =  | caption30 =&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== Embedding ==&lt;br /&gt;
To create a simple floating image array, use the template with {{tl|Image frame}}.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Image frame&lt;br /&gt;
| content = {{image array|perrow = 4&lt;br /&gt;
| image1 =   | caption1 =&lt;br /&gt;
| image2 =   | caption2 =&lt;br /&gt;
| image3 =   | caption3 =&lt;br /&gt;
| image4 =   | caption4 =&lt;br /&gt;
| image5 =   | caption5 =&lt;br /&gt;
| image6 =   | caption6 =&lt;br /&gt;
| image7 =   | caption7 =&lt;br /&gt;
| image8 =   | caption8 =&lt;br /&gt;
| image9 =   | caption9 =&lt;br /&gt;
| image10 =  | caption10 =&lt;br /&gt;
| image11 =  | caption11 =&lt;br /&gt;
| image12 =  | caption12 =&lt;br /&gt;
| image13 =  | caption13 =&lt;br /&gt;
| image14 =  | caption14 =&lt;br /&gt;
| image15 =  | caption15 =&lt;br /&gt;
| image16 =  | caption16 =&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Additional parameters ==&lt;br /&gt;
&lt;br /&gt;
=== Default image size ===&lt;br /&gt;
The default image size is 60px by 70px.  To override this default, use {{para|width|YY}} and {{para|height|ZZ}}, where YY and ZZ are raw numbers, without the px units.&lt;br /&gt;
&lt;br /&gt;
=== Alternative text ===&lt;br /&gt;
To add alternative text for an image, use {{para|altX}}, where &amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt; is the image number.&lt;br /&gt;
&lt;br /&gt;
=== Hint text ===&lt;br /&gt;
To add hint or [[tooltip]] text for an image, use {{para|textX}}, where &amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt; is the image number.  To use the captions for the hint or [[tooltip]] text for all images, use {{para|text|y}}.&lt;br /&gt;
&lt;br /&gt;
=== Link text ===&lt;br /&gt;
By default, clicking on an image will direct the viewer to the file page, which contains licensing and attribution information for the image.  This is required for any non-public domain images.  To change the link to the image, use {{para|linkX}}, where &amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt; is the image number.  However, be careful to make sure that you only do this for public domain images that do not require attribution.&lt;br /&gt;
&lt;br /&gt;
=== Borders ===&lt;br /&gt;
To add a standard image border to an image, use {{para|borderX}}, where &amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt; is the image number. To add a border around all the image cells, use {{para|border-width|X}}, where &amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt; is the width in pixels.&lt;br /&gt;
&lt;br /&gt;
=== Classes ===&lt;br /&gt;
To add a class to the entire image array, use {{para|class}}. For example, {{para|class|floatright}}.&lt;br /&gt;
&lt;br /&gt;
== Examples.==&lt;br /&gt;
&lt;br /&gt;
=== Example 1: images only ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; style=&amp;quot;overflow:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{Image array&lt;br /&gt;
| image1 = On The Streets of Vilnius (5984257911).jpg&lt;br /&gt;
| image2 = Taiwanese Buddhist Nun Black Robes.jpeg&lt;br /&gt;
| image3 = Louise Marie Thérèse (The Black Nun of Moret).jpg&lt;br /&gt;
| image4 = Pakistani Nun - Convent School Rawalpindi.jpg&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Image array&lt;br /&gt;
| image1 = On The Streets of Vilnius (5984257911).jpg&lt;br /&gt;
| image2 = Taiwanese Buddhist Nun Black Robes.jpeg&lt;br /&gt;
| image3 = Louise Marie Thérèse (The Black Nun of Moret).jpg&lt;br /&gt;
| image4 = Pakistani Nun - Convent School Rawalpindi.jpg&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Example 2: optional parameters ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; style=&amp;quot;overflow:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{Image array&lt;br /&gt;
| perrow = 2&lt;br /&gt;
| width = 140&lt;br /&gt;
| height = 140&lt;br /&gt;
| border-width = 2&lt;br /&gt;
| image1 = On The Streets of Vilnius (5984257911).jpg | caption1 = caption1&lt;br /&gt;
| alt1 = alt1 | text1 = text1 | link1 = Vilnius&lt;br /&gt;
| image2 = Taiwanese Buddhist Nun Black Robes.jpeg | caption2 = caption2&lt;br /&gt;
| alt2 = alt2 | text2 = text2 | link2 = Bhikkhuni&lt;br /&gt;
| image3 = Louise Marie Thérèse (The Black Nun of Moret).jpg | caption3 = caption3&lt;br /&gt;
| alt3 = alt3 | text3 = text3 | link3 = Louise Marie Therese&lt;br /&gt;
| image4 = Pakistani Nun - Convent School Rawalpindi.jpg | caption4 = caption4&lt;br /&gt;
| alt4 = alt4 | text4 = text4 | link4 = Rawalpindi&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Image array&lt;br /&gt;
| perrow = 2&lt;br /&gt;
| width = 140&lt;br /&gt;
| height = 140&lt;br /&gt;
| border-width = 2&lt;br /&gt;
| image1 = On The Streets of Vilnius (5984257911).jpg | caption1 = caption1&lt;br /&gt;
| alt1 = alt1 | text1 = text1 | link1 = Vilnius&lt;br /&gt;
| image2 = Taiwanese Buddhist Nun Black Robes.jpeg | caption2 = caption2&lt;br /&gt;
| alt2 = alt2 | text2 = text2 | link2 = Bhikkhuni&lt;br /&gt;
| image3 = Louise Marie Thérèse (The Black Nun of Moret).jpg | caption3 = caption3&lt;br /&gt;
| alt3 = alt3 | text3 = text3 | link3 = Louise Marie Therese&lt;br /&gt;
| image4 = Pakistani Nun - Convent School Rawalpindi.jpg | caption4 = caption4&lt;br /&gt;
| alt4 = alt4 | text4 = text4 | link4 = Rawalpindi&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|Multiple image}}&lt;br /&gt;
* {{tl|Photomontage}}&lt;br /&gt;
* {{tl|Image frame}}&lt;br /&gt;
* [[Wikipedia:Collage tips]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{basepage subpage|&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Graphics templates]]&lt;br /&gt;
[[Category:Image formatting and function templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;HouseBlaster</name></author>
	</entry>
</feed>