Template:Collection: Difference between revisions
(Altered to have 2 columns + collapsible/collapsed parameters) |
(Fixing a formatting issue) |
||
| Line 8: | Line 8: | ||
{{!}}[[{{{2|}}}]] | {{!}}[[{{{2|}}}]] | ||
}} | }} | ||
{{#if:{{{3|}}}|{{!}}- | {{#if:{{{3|}}}|{{!}}- | ||
{{!}}[[File:White {{{3|}}}.png|x100px|link={{{3|}}}]] | {{!}}[[File:White {{{3|}}}.png|x100px|link={{{3|}}}]] | ||
| Line 16: | Line 15: | ||
{{!}}[[{{{4|}}}]] | {{!}}[[{{{4|}}}]] | ||
}} | }} | ||
{{#if:{{{5|}}}|{{!}}- | {{#if:{{{5|}}}|{{!}}- | ||
{{!}}[[File:White {{{5|}}}.png|x100px|link={{{5|}}}]] | {{!}}[[File:White {{{5|}}}.png|x100px|link={{{5|}}}]] | ||
| Line 24: | Line 22: | ||
{{!}}[[{{{6|}}}]] | {{!}}[[{{{6|}}}]] | ||
}} | }} | ||
{{#if:{{{7|}}}|{{!}}- | {{#if:{{{7|}}}|{{!}}- | ||
{{!}}[[File:White {{{7|}}}.png|x100px|link={{{7|}}}]] | {{!}}[[File:White {{{7|}}}.png|x100px|link={{{7|}}}]] | ||
| Line 32: | Line 29: | ||
{{!}}[[{{{8|}}}]] | {{!}}[[{{{8|}}}]] | ||
}} | }} | ||
{{#if:{{{9|}}}|{{!}}- | {{#if:{{{9|}}}|{{!}}- | ||
{{!}}[[File:White {{{9|}}}.png|x100px|link={{{9|}}}]] | {{!}}[[File:White {{{9|}}}.png|x100px|link={{{9|}}}]] | ||
| Line 40: | Line 36: | ||
{{!}}[[{{{10|}}}]] | {{!}}[[{{{10|}}}]] | ||
}} | }} | ||
{{#if:{{{11|}}}|{{!}}- | {{#if:{{{11|}}}|{{!}}- | ||
{{!}}[[File:White {{{11|}}}.png|x100px|link={{{11|}}}]] | {{!}}[[File:White {{{11|}}}.png|x100px|link={{{11|}}}]] | ||
Latest revision as of 01:00, 11 May 2026
| Template documentation follows |
|---|
| Visit Template:Collection/doc to edit this documentation. (How does this work?) |
| Editors can experiment in this template's sandbox and test case pages. |
Usage
Creates a table to showcase accessory collections. Images and names are linked to their respective pages. Accessory images are always the icon of the white color variant at a height of 100px.
Colors should be trimmed from an accessory name, otherwise the template will break.
- No: {{Collection|Teal Gilded Helm}}
- Yes: {{Collection|Gilded Helm}}
The template will break if not confined to a singular line as anonymous parameters preserve new-lines and white space. Limitations are detailed below.
Syntax
{{Collection|title=|}}
Examples
Functioning table:
| Kickstarter Exclusive Accessories | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Creeping Thicket | Creeping Vine | ||||||||
| Gilded Helm | Iridescent Trail | ||||||||
| Necromantic Cloak | Protogear | ||||||||
| Sacred Scepter | |||||||||
{{Collection|title=Kickstarter Exclusive Accessories|Creeping Thicket|Creeping Vine|Gilded Helm|Iridescent Trail|Necromantic Cloak|Protogear|Sacred Scepter}}
New lines and/or spaces will break the template:
| Kickstarter Exclusive Accessories | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| [[File:White Creeping Thicket
.png|x100px|link=Creeping Thicket ]] |
[[Creeping Thicket
]] |
[[File:White Creeping Vine
.png|x100px|link=Creeping Vine ]] |
[[Creeping Vine
]] | ||||||
| [[File:White Gilded Helm
.png|x100px|link=Gilded Helm ]] |
[[Gilded Helm
]] |
[[File:White Iridescent Trail
.png|x100px|link=Iridescent Trail ]] |
[[Iridescent Trail
]] | ||||||
| [[File:White Necromantic Cloak
.png|x100px|link=Necromantic Cloak ]] |
[[Necromantic Cloak
]] |
[[File:White Protogear
.png|x100px|link=Protogear ]] |
[[Protogear
]] | ||||||
| [[File:White Sacred Scepter
.png|x100px|link=Sacred Scepter ]] |
[[Sacred Scepter
]] |
||||||||
{{Collection|title=Kickstarter Exclusive Accessories
|Creeping Thicket
|Creeping Vine
|Gilded Helm
|Iridescent Trail
|Necromantic Cloak
|Protogear
|Sacred Scepter
}}
Template Data
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | The first item in the collection. Currently supports up to 12 items in a singular table. | Unknown | optional |
| title | title | Header text of the table, defaults to "See Also" if empty.
| Unknown | optional |
| collapsible | collapsible | Adds class "mw-collapsible" to the table. Adds the ability to expand or close the table. The table is open by default.
| Unknown | optional |
| collapsed | collapsed | Adds classes "mw-collapsible" and "mw-collapsed". Adds the ability to expand or close the table. The table is closed by default.
| Unknown | optional |
