CreateBanner
This compatibility method behaves like AddBanner. Adds a prominent message surface with optional artwork and actions. It is kept so scripts written with the older CreateBanner name continue to work.
CreateBanner
Compatibility alias
CreateBanner is an alternate name for AddBanner. New code can use AddBanner.
What it does
This compatibility method behaves like AddBanner. Adds a prominent message surface with optional artwork and actions. It is kept so scripts written with the older CreateBanner name continue to work.
When to use it
Use it for announcements, warnings, promotions, or any message that should stand out from normal page content. Prefer AddBanner in new code so the method name matches the current API.
ElementFunction:CreateBanner(BannerConfig)
local Result = Section:CreateBanner({
Name = "Example",
Callback = function(value)
print(value)
end,
})Behavior and return value
This alias forwards to AddBanner, so its options, callbacks, and returned value follow the canonical method.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.
Related reference
CreateAreaChart
This compatibility method behaves like CreateChart. Creates a configurable line or filled chart with a bounded point history. It is kept so scripts written with the older CreateAreaChart name continue to work.
CreateCooldownButton
This compatibility method behaves like AddCooldownButton. Adds an action button that temporarily locks itself after activation. It is kept so scripts written with the older CreateCooldownButton name continue to work.