[edit] [ ] Template documentation
Documentation[]
This template is used to create tables for galleries that serve as indexes. The template accepts three parameters:
- The first parameter is required and must be "start" or "end", signifying its position.
- The second parameter is optional and specifies the table's background color, and it must be specified in the template preceding the gallery to have an effect.
- The parameter "text" is optional an specifies the text at the top of the gallery, otherwise it defaults to a standard message. It must be specified in the template preceding the gallery to have an effect.
Example[]
{{Indexgallery|start|#FADDF8}} <gallery captionalign="center" orientation="landscape" spacing="small" widths="150" position="center" bordersize="none"> Twilight Sparkle pondering S1E01.png|[[Twilight Sparkle/Gallery/Season 1#Friendship is Magic, part 1|Friendship is Magic, part 1]] Main ponies activated the Elements of Harmony S01E02.png|[[/Season 1#Friendship is Magic, part 2|Friendship is Magic, part 2]] </gallery> {{indexgallery|end}}
Result:
This gallery serves as an index. Click on a caption to browse the corresponding image gallery. |
The above documentation is transcluded from Template:Indexgallery/doc. (edit | history) Editors can experiment in a sandbox. Please add categories and interwikis to the /doc subpage. Subpages of this template. |