Module:Case: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(didn't notice there was a ucfirst built-in function) |
||
Line 6: | Line 6: | ||
function p.uppercase_first_letter(frame) | function p.uppercase_first_letter(frame) | ||
return "[[" .. frame.args.link .. "|" .. mw.language:ucfirst(frame.args.link) .. "]]" | |||
return "[[" .. frame.args.link .. "|" .. | |||
end | end | ||
return p | return p |
Revision as of 21:31, 22 May 2021
See usage on Script error: The function "title_case" does not exist., Lua error at line 8: attempt to call method 'ucfirst' (a nil value)., and template:l.