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!

User:Nom/sandbox/dpl/Template:Lookup

From DDO wiki
Jump to navigation Jump to search

Usage[edit]

{{Lookup|key_root|val_root|match_val}}

Given a set of field pairs (key_rootN, val_rootN), if a key_rootN matches match_val, then return val_rootN.

  • If there are multiple matches, return the last one.
  • If there are no matches, return nil.

Coding[edit]

Notes[edit]

This doesn't seem to work. We need a way to pass the parent host template's argument list into the child template.