Module:Sandbox/MSGJ
Appearance
require('strict')
local p = {}
p.main = function()
local template_code = mw.title.new('Template:WikiProject Medicine/sandbox'):getContent()
local match = string.match(
template_code,
'importance' .. '%s*=%s*{{{([^|}]*)'
)
if not match then match = 'nil' end
local match2 = string.match(
template_code,
'%|' .. 'importance' .. '%s*=%s*{{{([^|}]*)'
)
if not match2 then match2 = 'nil' end
return match, match2
end
return p