Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Created page with "--[=[ -- Standardized functions to parse Infobox params --]=] -- <nowiki> local p = {} -- Standardized "name" function function param.name(arg) return string.match(arg or '', '%S') and arg or nil end -- Standardized "has content" function function param.has_content(arg, default) -- Return arg if any non-whitespace character is found return string.match(arg or '', '%S') and arg or default end -- Create a standardized release function, since so many pages use it...")
 
No edit summary
Line 4: Line 4:
-- <nowiki>
-- <nowiki>


local p = {}
local param = {}