Template:SpellList/doc

From Archaelund Wiki
< Template:SpellList
Revision as of 13:58, 5 January 2025 by MikeB (talk | contribs) (Created page with "== Description == This template contains a list of all spells and is necessary for populating the respective overview tables (e.g. Spells) with information from the individual spell pages. == Usage (for constructing overview tables) == <pre> {{SpellList|TableEntry|<param1>|<param2>}} </pre> This generates the body of a table with information from specific spells, defined by the selection parameters <param1> & <param2>. If a selector is specified in <param1> (e.g., {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This template contains a list of all spells and is necessary for populating the respective overview tables (e.g. Spells) with information from the individual spell pages.

Usage (for constructing overview tables)

{{SpellList|TableEntry|<param1>|<param2>}}

This generates the body of a table with information from specific spells, defined by the selection parameters <param1> & <param2>. If a selector is specified in <param1> (e.g., Type • Discipline • Attribute), output is only generated for spells matching the respective value of <param2>. If no selector is specified, all spells are included in the output.

How to add new spells

In order to add a new spell to the list, you have to insert the following line in the template's code (only parts indicated by <...> may be edited):

-->{{:<pagename>|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--

Here, <pagename> is the name of an individual spell page.