Year of the Dragon: Through May 28th, claim free Expansion Pack (excluding Vecna Unleashed) or a Greater Elixir of Discovery! Speak to Xatheral in the Hall of Heroes. edit

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!

Template:Spells/SpellCount

From DDO wiki
Jump to navigation Jump to search

Purpose[edit]

A #DPL count of spells based on parameters for classes, level and school. Leaving these parameters blank will use a wildcard (%) when counting spell pages.
Therefore {{Spells/SpellCount}} will count all spell pages on the wiki.

classes uses the name of the class(es), separated by a comma (,). This is intended for grouping Archetype counts together.
Sorcerer and Wizard spells are conjoined. Use: Sorcerer / Wizard instead of Sorcerer or Wizard.

zeroChar will use this character in instead of the default 'blank' when returning no results.

Note: Be wary of using this template many times on a page (such as populating a table etc.), it is likely to be slow!

Examples[edit]

{{Spells/SpellCount|school=Transmutation}}

135

{{Spells/SpellCount|level=2|classes=Bard,Stormsinger,Sorcerer / Wizard}}

41

{{Spells/SpellCount|classes=Alchemist|school=Abjuration|zeroChar=None!}} // There are no Abjuration Alchemist Spells, return 'None!'

None!

Code[edit]