Editing Module:Utils
From Eco - English Wiki
Revision as of 07:26, 23 November 2024 by StalEF (talk | contribs) (Replaced content with "local p = {} --- Trims and parses the args into a table, then returns the table function p.normalise(args) for k, v in pairs(args) do v = mw.text.trim(tostring(v)) if v ~= '' then args[k] = v end end return args end --- Trims and parses the args into a table, then returns the table -- @author User:Avaren function p.normaliseArgs(frame) local origArgs = frame:getParent().args local args = {} for k, v in pairs(origArgs) do v = mw.text.trim(tostrin...")
Jump to:navigation, search
Warning: You are editing an out-of-date revision of this page.
If you publish it, any changes made since this revision will be lost.
Your changes will be displayed to readers once an authorized user accepts them. (help)
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Retrieved from "https://wiki.play.eco/en/Module:Utils"