Module:HF

local HF = mw.InfoboxBuilderHF local getArgs = require('Dev:Arguments').getArgs

function HF.bareFile( frame ) local args = getArgs(frame) local reference = args[1] or '' local response = reference:match('%[?%[?([^%|]*)%|?'):gsub('%[%[', ):gsub('%]%]', ) return response end

return HF