Module:HF

local HF = mw.InfoboxBuilderHF

function HF.bareFile( reference ) return reference:match('([^%|]*)%|?'):gsub('%[%[', ):gsub('%]%]', ) end

return HF