Module:Large labels

local p = {}

p.main = function( frame ) local idents = mw.text.split( frame.args.idents, '%s' ) local out = '' for _,ident in pairs( idents ) do		local label = mw.getCurrentFrame:expandTemplate{ title = 'large label', args = { ident } } -- Add the label twice (e.g. front and side of box) out = out .. label .. label end return '' .. out .. ' ' end

-- =p.main({args={idents='foo\nbar'}}) return p