Module:Case

From Heroes 3 wiki
Revision as of 14:44, 22 May 2021 by Imahero (talk | contribs) (Created page with "local p = {} --p stands for package function p.lowercase(frame) return "" + string.lower(frame.args.link) + "" end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

See usage on Script error: The function "title_case" does not exist., Script error: The function "uppercase_first_letter" does not exist., and Lua error at line 4: attempt to perform arithmetic on a string value..


local p = {} --p stands for package

function p.lowercase(frame)
    return "[[" + frame.args.link + "|" + string.lower(frame.args.link) + "]]"
end

return p