Module:Infobox: Difference between revisions
Jump to navigation
Jump to search
imported the makeEmptyColumnEmpty function from Module/Infobox/split |
(No difference)
|
Revision as of 16:29, 26 October 2024
Documentation for this module may be created at Module:Infobox/doc
local p = {}
-- This removes nowiki tags from the contents so that you can check whether
-- there is actual content or not.
p.makeEmptyPartEmpty = function(frame)
-- The weird string matches nowiki strip markers
local ret = string.gsub(frame.args[1], "\127'\"`UNIQ%-%-nowiki%-%x%x%x%x%x%x%x%x%-QINU`\"'\127", "")
return ret
end
return p