Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Documentation for this module may be created at Module:API info/main/widget/doc

local infobox_module = require("Module:API_info/util/infobox")
local wowprog_data = mw.loadData("Module:API_info/wowprog/widgets")
local m = {}

function m.main(f)
	local widget, method = f.args[1]:match("API (%w+) (%w+)")
	local info = {}
	local items = {}
	table.insert(items, "! Links")
	table.insert(items, {
		icon = "GitHub_Octocat.png",
		text = "FrameXML",
		url = string.format("https://github.com/Gethe/wow-ui-source/search?q=", method),
	})
	-- if wowprog_data[widget..":"..method] then
	-- 	table.insert(items, {
	-- 		icon = "Wowprogramming.png",
	-- 		text = "Wowprogramming",
	-- 		url = string.format("https://wowprogramming.com/docs/widgets/%s/%s.html", widget, method),
	-- 	})
	-- end
	return infobox_module:main(info, items)
end

return m
Advertisement