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

Thank you for your patience while we continue to upgrade DDOwiki to the latest MediaWiki LTS version. If you find any errors on the site, please visit the Discord chat server and let us know.

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


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

Template:Spell with no purchasable scroll list by Class phantom

From DDO wiki
Jump to navigation Jump to search

Purpose[edit]

  • Used as a transform/phantom template by Template:Spell with no purchasable scroll list by Class
  • Determines if no purchasable scroll exists for a given spell and generates output based on results
    • (Primary benefit is to be used by classes that scribe spells to help decide which spells to learn when leveling)

Usage (inputs)[edit]

{{Spell with no purchasable scroll list by Class phantom
    | %TITLE% = Name of the Spell page to process
                (Variable is automatically injected when called by DPL extension through the include = {<EXISTING TEMPLATE>|<TRANSFORM TEMPLATE>} parameter)
    | <all parameters supplied to the Infobox-spell template will be passed through to this template via DPL include parameter>
    | <name   = Name of the spell (if defined by the Infobox-spell call)>
}}

Usage (outputs)[edit]

  • Output will be a set of thirteen or fourteen table data cells
    • Page name (as identified by the argument passed in through %TITLE%)
    • Spell name (as calculated by existence of either the "name" argument passed in through dpl, Page name if "name" parameter empty)
    • One cell for each class to represent the level of the spell for the corresponding class (Alc,Art,...)
    • Cell containing a table of all the (non purchasable) scrolls that exist that cast the spell (if no scrolls exist, no cell data will exist here)

Examples[edit]

code result
{{Spell with no purchasable scroll list by Class phantom| %TITLE% = Ablative Armor}}
{{Spell with no purchasable scroll list by Class phantom| %TITLE% = Angelskin}}
Angelskin Angelskin 2
{{Spell with no purchasable scroll list by Class phantom| %TITLE% = Remove Blindness}}
Remove Blindness Remove Blindness 3 3 3
Item:Scroll of Remove Blindness

Uses[edit]

  • Template:GetPageTemplateParameter used to retrieve class based level data based on spell
    • (spell level data retrieval log may (?) be able to be refactored to use dpl to pull all data points in one pass)

Categorization[edit]

Coding[edit]