Documentation for this module may be created at Module:Timeline/doc

local p = {}

function p.show(frame)

  local slotData = mw.slots.slotData("ws-data")
  local result = ""  
  for i,milestone in ipairs(slotData.milestones) do
    result = result .. frame:callParserFunction("#widget:Timeline",milestone)
  end

  return result
end

return p