Template:SpellGallery
Jump to navigation
Jump to search
Shows a gallery of spell icons linking to their respective spell page.
The spells displayed are filtered depending on the arguments given:
{{SpellGallery|class=X}} |
only keeps spells available to the class X. |
{{SpellGallery|school=X}} |
only keeps spells in school X. |
{{SpellGallery|accumulated=true}} |
only keeps accumulated spells. |
{{SpellGallery|persistent=true}} |
only keeps persistent spells. |
Other arguments:
{{SpellGallery|title=X}} |
Sets the table title to X. |
{{SpellGallery|collapsed=true}} |
Initially collapses the table. |
Usage & preview
Type in this:
{{SpellGallery |class=Necromancer |school=Summoning }}
to see this:
Spells | |||
---|---|---|---|
The data is pulled directly from Module:Data/Spells, and the function creating the gallery is defined in Module:Spells.