Difference between revisions of "Template:Gallery items"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Great Brightstar
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
{{documentation|content=
 
{{documentation|content=
 
{{Lua|Module:Gallery items}}
 
{{Lua|Module:Gallery items}}
 +
{{Uses TemplateStyles|Template:Gallery items/styles.css}}
 
This template generates a "gallery" of items with a similar format to gallery of images using the {{tag|gallery}} tag.
 
This template generates a "gallery" of items with a similar format to gallery of images using the {{tag|gallery}} tag.
 
== Usage ==
 
== Usage ==
 +
The basic usage of the template is shown below. The optional parameters are ''class'', ''style'', ''width'', ''itemalign'' and ''captionalign''.
 +
 
{{tld|gallery items|item1|caption1|item2|caption2|item3|caption3|...}}
 
{{tld|gallery items|item1|caption1|item2|caption2|item3|caption3|...}}
 
{{gallery items|item1|caption1|item2|caption2|item3|caption3}}
 
{{gallery items|item1|caption1|item2|caption2|item3|caption3}}
 
[[Category:Image formatting and function templates]]
 
[[Category:Image formatting and function templates]]
 
}}</noinclude>
 
}}</noinclude>

Latest revision as of 16:27, 19 May 2020

Template documentation

Script error: No such module "Uses TemplateStyles". This template generates a "gallery" of items with a similar format to gallery of images using the <gallery>...</gallery> tag.

Usage

The basic usage of the template is shown below. The optional parameters are class, style, width, itemalign and captionalign.

{{gallery items|item1|caption1|item2|caption2|item3|caption3|...}}