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 mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
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:Spell with no purchasable scroll list by Class phantom
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}} |
| |||||||||||||||
{{Spell with no purchasable scroll list by Class phantom| %TITLE% = 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]
- Add page to Category:Pages with invalid template arguments if any parameter value is identified as invalid