Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

SecureTemplates

Last wiki revision 2020-08-09

SecureTemplates are a family of protected frame and button templates defined as part of FrameXML. Through attribute-based configuration, they allow addons to access some of the protected functionality. The templates are defined in FrameXML/SecureTemplates.xml, and functionality supporting them resides in FrameXML/SecureTemplates.lua

Suppose we wanted to create a button that, when clicked, would cast Mark of the Wild on the player. This can be solved by inheriting from SecureActionButtonTemplate and setting the relevant attributes. For example, using only XML:

Categories

  • UI technical details

Source

https://warcraft.wiki.gg/wiki/SecureTemplates · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.