Module:HotfixBlog

From Wowpedia
Revision as of 01:37, 10 August 2020 by Eithris (talk | contribs) (Protected "Module:HotfixBlog" ([Edit=Block all non-admin users] (indefinite) [Move=Block all non-admin users] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Documentation for this module may be created at Module:HotfixBlog/doc

local p = {}

local BLOG_LINK_FORMAT = "https://worldofwarcraft.com/en-us/news/%s/"
local BLOGS = mw.loadData("Module:HotfixBlog/data")

function p.main(frame)
    return BLOG_LINK_FORMAT:format(BLOGS[frame:getParent().args.date])
end

return p