Module:Sandbox

-- TEST local phase = 0 local styleValue = '' local link = '' local linkEnd = '' local textOutput = '' local p = {} function p.main( f )

local args = f		if f == mw.getCurrentFrame then args = f:getParent.args end local items = args[1] or '' local components = {} for component in mw.text.gsplit( items, '%s*;%s*' ) do			if component == '' then table.insert( components, '  ' ) else if phase == 0 then table.insert( components, '   '..component..'') else table.insert( components, ' '..component..' ') end --table.insert( components, ' '..textOutput..' ' ) phase = phase + 1 end end components[1] = components[1]:gsub( '^ ', ' ' ) return ' ' .. table.concat( components ) .. ' '	end return p