<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ml">
	<id>https://schoolwiki.in/index.php?action=history&amp;feed=atom&amp;title=%E0%B4%AB%E0%B4%B2%E0%B4%95%E0%B4%82%3AMultiple_gallery%2Fdoc</id>
	<title>ഫലകം:Multiple gallery/doc - നാൾവഴി</title>
	<link rel="self" type="application/atom+xml" href="https://schoolwiki.in/index.php?action=history&amp;feed=atom&amp;title=%E0%B4%AB%E0%B4%B2%E0%B4%95%E0%B4%82%3AMultiple_gallery%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://schoolwiki.in/index.php?title=%E0%B4%AB%E0%B4%B2%E0%B4%95%E0%B4%82:Multiple_gallery/doc&amp;action=history"/>
	<updated>2026-06-10T10:33:19Z</updated>
	<subtitle>വിക്കിയിൽ ഈ താളിന്റെ നാൾവഴി</subtitle>
	<generator>MediaWiki 1.43.4</generator>
	<entry>
		<id>https://schoolwiki.in/index.php?title=%E0%B4%AB%E0%B4%B2%E0%B4%95%E0%B4%82:Multiple_gallery/doc&amp;diff=2890236&amp;oldid=prev</id>
		<title>Ranjithsiji: &#039;This template creates a responsive image gallery with multiple layout options.  == Parameters ==  === Layout Parameters === * &#039;&#039;&#039;align&#039;&#039;&#039; - Alignment of the gallery box: right (default), left, center * &#039;&#039;&#039;direction&#039;&#039;&#039; - Layout direction: horizontal (default), vertical * &#039;&#039;&#039;background color&#039;&#039;&#039; - Background color of the box (e.g., #f0f0f0, lightblue) * &#039;&#039;&#039;width&#039;&#039;&#039; - Sets the same width for all images (in pixels, integer...&#039; താൾ സൃഷ്ടിച്ചിരിക്കുന്നു</title>
		<link rel="alternate" type="text/html" href="https://schoolwiki.in/index.php?title=%E0%B4%AB%E0%B4%B2%E0%B4%95%E0%B4%82:Multiple_gallery/doc&amp;diff=2890236&amp;oldid=prev"/>
		<updated>2025-10-27T14:15:59Z</updated>

		<summary type="html">&lt;p&gt;&amp;#039;This template creates a responsive image gallery with multiple layout options.  == Parameters ==  === Layout Parameters === * &amp;#039;&amp;#039;&amp;#039;align&amp;#039;&amp;#039;&amp;#039; - Alignment of the gallery box: right (default), left, center * &amp;#039;&amp;#039;&amp;#039;direction&amp;#039;&amp;#039;&amp;#039; - Layout direction: horizontal (default), vertical * &amp;#039;&amp;#039;&amp;#039;background color&amp;#039;&amp;#039;&amp;#039; - Background color of the box (e.g., #f0f0f0, lightblue) * &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; - Sets the same width for all images (in pixels, integer...&amp;#039; താൾ സൃഷ്ടിച്ചിരിക്കുന്നു&lt;/p&gt;
&lt;p&gt;&lt;b&gt;പുതിയ താൾ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This template creates a responsive image gallery with multiple layout options.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
=== Layout Parameters ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;align&amp;#039;&amp;#039;&amp;#039; - Alignment of the gallery box: right (default), left, center&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;direction&amp;#039;&amp;#039;&amp;#039; - Layout direction: horizontal (default), vertical&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;background color&amp;#039;&amp;#039;&amp;#039; - Background color of the box (e.g., #f0f0f0, lightblue)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039; - Sets the same width for all images (in pixels, integer only, overrides individual width[n])&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;total_width&amp;#039;&amp;#039;&amp;#039; - Scales all images to same height with this total width (don&amp;#039;t use with width parameter)&lt;br /&gt;
&lt;br /&gt;
=== Header Parameters ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;header&amp;#039;&amp;#039;&amp;#039; - Text for the gallery header&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;header_background&amp;#039;&amp;#039;&amp;#039; - Background color for header&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;header_align&amp;#039;&amp;#039;&amp;#039; - Header text alignment: center (default), left, right&lt;br /&gt;
&lt;br /&gt;
=== Footer Parameters ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;footer&amp;#039;&amp;#039;&amp;#039; - Caption that spans entire gallery box&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;footer_background&amp;#039;&amp;#039;&amp;#039; - Background color for footer&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;footer_align&amp;#039;&amp;#039;&amp;#039; - Footer text alignment: left (default), center, right&lt;br /&gt;
&lt;br /&gt;
=== Image Parameters ===&lt;br /&gt;
For each image (where [n] = 1 to 10):&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;image[n]&amp;#039;&amp;#039;&amp;#039; - Filename of the image (required)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;width[n]&amp;#039;&amp;#039;&amp;#039; - Width in pixels (integer, no &amp;quot;px&amp;quot;) or original width if using total_width&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;height[n]&amp;#039;&amp;#039;&amp;#039; - Original height in pixels (required if using total_width)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;alt[n]&amp;#039;&amp;#039;&amp;#039; - Alt text description for the image&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;link[n]&amp;#039;&amp;#039;&amp;#039; - Page to link when image is clicked (empty value disables linking)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;thumbtime[n]&amp;#039;&amp;#039;&amp;#039; - For video files, time for thumbnail (seconds or HH:MM:SS)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;caption[n]&amp;#039;&amp;#039;&amp;#039; - Caption text for the image&lt;br /&gt;
&lt;br /&gt;
=== Caption Parameters ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;caption_align&amp;#039;&amp;#039;&amp;#039; - Caption alignment: left (default), center, right&lt;br /&gt;
&lt;br /&gt;
== Usage Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Basic Horizontal Gallery ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Gallery&lt;br /&gt;
|align=center&lt;br /&gt;
|direction=horizontal&lt;br /&gt;
|header=My Photo Collection&lt;br /&gt;
|header_align=center&lt;br /&gt;
|image1=Example1.jpg&lt;br /&gt;
|width1=200&lt;br /&gt;
|caption1=First photo&lt;br /&gt;
|image2=Example2.jpg&lt;br /&gt;
|width2=200&lt;br /&gt;
|caption2=Second photo&lt;br /&gt;
|image3=Example3.jpg&lt;br /&gt;
|width3=200&lt;br /&gt;
|caption3=Third photo&lt;br /&gt;
|footer=All photos taken in 2024&lt;br /&gt;
|footer_align=center&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Vertical Gallery with Custom Colors ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Gallery&lt;br /&gt;
|align=right&lt;br /&gt;
|direction=vertical&lt;br /&gt;
|background color=#e8f4f8&lt;br /&gt;
|header=Vertical Layout&lt;br /&gt;
|header_background=#d0e8f0&lt;br /&gt;
|header_align=left&lt;br /&gt;
|image1=Photo1.jpg&lt;br /&gt;
|width1=300&lt;br /&gt;
|alt1=Description of first photo&lt;br /&gt;
|caption1=First image in vertical layout&lt;br /&gt;
|image2=Photo2.jpg&lt;br /&gt;
|width2=300&lt;br /&gt;
|alt2=Description of second photo&lt;br /&gt;
|caption2=Second image&lt;br /&gt;
|footer=Gallery footer text&lt;br /&gt;
|footer_background=#d0e8f0&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Uniform Width Gallery ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Gallery&lt;br /&gt;
|direction=horizontal&lt;br /&gt;
|width=250&lt;br /&gt;
|header=Same Size Images&lt;br /&gt;
|image1=Image1.jpg&lt;br /&gt;
|caption1=All images same width&lt;br /&gt;
|image2=Image2.jpg&lt;br /&gt;
|caption2=Using width parameter&lt;br /&gt;
|image3=Image3.jpg&lt;br /&gt;
|caption3=Overrides individual widths&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Scaled to Total Width ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Gallery&lt;br /&gt;
|direction=horizontal&lt;br /&gt;
|total_width=800&lt;br /&gt;
|header=Scaled Gallery&lt;br /&gt;
|image1=Photo1.jpg&lt;br /&gt;
|width1=1200&lt;br /&gt;
|height1=800&lt;br /&gt;
|caption1=Original: 1200x800&lt;br /&gt;
|image2=Photo2.jpg&lt;br /&gt;
|width2=1600&lt;br /&gt;
|height2=1200&lt;br /&gt;
|caption2=Original: 1600x1200&lt;br /&gt;
|image3=Photo3.jpg&lt;br /&gt;
|width3=800&lt;br /&gt;
|height3=600&lt;br /&gt;
|caption3=Original: 800x600&lt;br /&gt;
|footer=All scaled to same height, total width 800px&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Gallery with Custom Links ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Gallery&lt;br /&gt;
|image1=Example1.jpg&lt;br /&gt;
|link1=Page_Name&lt;br /&gt;
|caption1=Links to Page_Name&lt;br /&gt;
|image2=Example2.jpg&lt;br /&gt;
|link2=&lt;br /&gt;
|caption2=No link (linking disabled)&lt;br /&gt;
|image3=Example3.jpg&lt;br /&gt;
|caption3=Links to image description (default)&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Video Gallery with Thumbnails ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Gallery&lt;br /&gt;
|image1=Video1.ogv&lt;br /&gt;
|thumbtime1=5&lt;br /&gt;
|width1=300&lt;br /&gt;
|caption1=Thumbnail at 5 seconds&lt;br /&gt;
|image2=Video2.ogv&lt;br /&gt;
|thumbtime2=1:30&lt;br /&gt;
|width2=300&lt;br /&gt;
|caption2=Thumbnail at 1 min 30 sec&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Left-Aligned Caption Gallery ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Gallery&lt;br /&gt;
|direction=horizontal&lt;br /&gt;
|caption_align=left&lt;br /&gt;
|image1=Photo1.jpg&lt;br /&gt;
|width1=200&lt;br /&gt;
|caption1=Left-aligned caption text&lt;br /&gt;
|image2=Photo2.jpg&lt;br /&gt;
|width2=200&lt;br /&gt;
|caption2=All captions align left&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation Instructions ==&lt;br /&gt;
&lt;br /&gt;
1. &amp;#039;&amp;#039;&amp;#039;Create the Module:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   - Navigate to: &amp;#039;&amp;#039;&amp;#039;Module:Gallery&amp;#039;&amp;#039;&amp;#039; on your wiki&lt;br /&gt;
   - Copy and paste the Lua module code&lt;br /&gt;
   - Save the page&lt;br /&gt;
&lt;br /&gt;
2. &amp;#039;&amp;#039;&amp;#039;Create the Template:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   - Navigate to: &amp;#039;&amp;#039;&amp;#039;Template:Gallery&amp;#039;&amp;#039;&amp;#039; on your wiki&lt;br /&gt;
   - Copy this entire page content&lt;br /&gt;
   - Save the page&lt;br /&gt;
&lt;br /&gt;
3. &amp;#039;&amp;#039;&amp;#039;Use in Articles:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   - Add {{Gallery|image1=File.jpg|...}} to any page&lt;br /&gt;
   - Customize with the parameters listed above&lt;br /&gt;
&lt;br /&gt;
== Complete Feature List ==&lt;br /&gt;
&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Alignment Options:&amp;#039;&amp;#039;&amp;#039; Left, center, or right alignment for the entire gallery&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Direction Modes:&amp;#039;&amp;#039;&amp;#039; Horizontal (side-by-side) or vertical (stacked) layouts&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Uniform Sizing:&amp;#039;&amp;#039;&amp;#039; Set same width for all images with width parameter&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Proportional Scaling:&amp;#039;&amp;#039;&amp;#039; Scale images to same height with total_width parameter&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Headers &amp;amp; Footers:&amp;#039;&amp;#039;&amp;#039; Add titled headers and spanning footers with custom backgrounds&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Custom Colors:&amp;#039;&amp;#039;&amp;#039; Set background colors for box, header, and footer&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Image Captions:&amp;#039;&amp;#039;&amp;#039; Individual captions with alignment control&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Alt Text Support:&amp;#039;&amp;#039;&amp;#039; Accessibility support with alt text for each image&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Custom Links:&amp;#039;&amp;#039;&amp;#039; Link images to specific pages or disable linking entirely&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Video Support:&amp;#039;&amp;#039;&amp;#039; Set thumbnail times for Ogg Theora video files&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Mobile Responsive:&amp;#039;&amp;#039;&amp;#039; Automatically adapts to tablet and mobile screens&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Hover Effects:&amp;#039;&amp;#039;&amp;#039; Subtle zoom effect on image hover&lt;br /&gt;
✓ &amp;#039;&amp;#039;&amp;#039;Up to 10 Images:&amp;#039;&amp;#039;&amp;#039; Support for image1 through image10&lt;br /&gt;
&lt;br /&gt;
== Mobile Behavior ==&lt;br /&gt;
&lt;br /&gt;
The gallery automatically responds to screen size:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Desktop (&amp;gt;768px):&amp;#039;&amp;#039;&amp;#039; Full layout as specified&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Tablet (≤768px):&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
  - Floats removed, centered layout&lt;br /&gt;
  - Horizontal galleries convert to vertical&lt;br /&gt;
  - Images scale to fit screen&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Mobile (≤480px):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  - Reduced padding and margins&lt;br /&gt;
  - Smaller font sizes for captions&lt;br /&gt;
  - Optimized spacing&lt;br /&gt;
  - Full-width images&lt;br /&gt;
&lt;br /&gt;
== Important Notes ==&lt;br /&gt;
&lt;br /&gt;
⚠️ &amp;#039;&amp;#039;&amp;#039;Do NOT use both width and total_width&amp;#039;&amp;#039;&amp;#039; - These parameters conflict&lt;br /&gt;
&lt;br /&gt;
⚠️ &amp;#039;&amp;#039;&amp;#039;For total_width:&amp;#039;&amp;#039;&amp;#039; You must specify both width[n] and height[n] for each image&lt;br /&gt;
&lt;br /&gt;
⚠️ &amp;#039;&amp;#039;&amp;#039;Link parameter:&amp;#039;&amp;#039;&amp;#039; Setting link[n]= (empty) disables linking entirely&lt;br /&gt;
&lt;br /&gt;
⚠️ &amp;#039;&amp;#039;&amp;#039;Free licensed images:&amp;#039;&amp;#039;&amp;#039; Be careful with link parameter on GFDL/CC licensed images&lt;br /&gt;
&lt;br /&gt;
⚠️ &amp;#039;&amp;#039;&amp;#039;Video files:&amp;#039;&amp;#039;&amp;#039; Use thumbtime[n] to set which frame appears as thumbnail&lt;br /&gt;
&lt;br /&gt;
[[Category:Gallery templates]]&lt;/div&gt;</summary>
		<author><name>Ranjithsiji</name></author>
	</entry>
</feed>