No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
function m.main(f) |
function m.main(f) |
||
+ | local info = { |
||
− | + | name = f.args[1]:gsub("API ", ""):gsub(" ", "_") |
|
⚫ | |||
+ | } |
||
⚫ | |||
end |
end |
||
Revision as of 03:38, 25 May 2022
Documentation for this module may be created at Module:API info/main/widget/doc
local infobox_module = require("Module:API_info/util/infobox")
local m = {}
local items = {
"! Links",
{
{
icon = "GitHub_Octocat.png", iconsize = 24,
text = "FrameXML",
url = "https://github.com/Gethe/wow-ui-source/search?q=%s",
},
},
}
function m.main(f)
local info = {
name = f.args[1]:gsub("API ", ""):gsub(" ", "_")
}
return infobox_module:main(items, info)
end
return m