Difference between revisions of "Template:Gallery items"
Jump to navigation
Jump to search
Template documentation
imported>Great Brightstar |
imported>Great Brightstar |
||
| Line 5: | Line 5: | ||
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
| This template uses Lua: |
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|...}}
- item1
caption1
- item2
caption2
- item3
caption3
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |