Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:WoW constants
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{uitech}}{{tocright}} WoW constants are global WoW [[Lua]] variables, which are automatically replaced with their locale specific values when used within any [[XML UI]] .xml or .lua file. They are provided by the World of Warcraft base UI, and can be used in addons. Most of these values originally came from the old [[Cosmos (AddOn)|Cosmos AddOn]] [http://www.cosmosui.org/texts/BlizzardCommands.xml Blizzard Commands] and the WoW.exe itself. The list here will be out of date but most of these values should still be in use. Feel free to update the list. [[#Messages|Messages]], [[#Chat Log Messages|Chat Log Messages]] and [[#Other Messages|Other Messages]] can be considered strings. %s,%f,%g,%d are used to substitute values in, be it a player name or a numerical value; see the [[API format|format]] function. Some of these are meant as the complete message to be displayed in chat or on screen, while others are common words used in substitutions and construction of a message. It is unknown how these messages are affected by localization (someone with a non -en should expand on this!) This section also needs much work to separate messages into their proper categories, Chat and on-screen Messages need to be separated (Careful of alphabetization). There are now separate pages for ERR_.. [[WoW Constants/Errors]] and SPELL_.. [[WoW Constants/Spells]] (including SPELL_FAILED).
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)