Module:EncounterTableSandbox: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 91: Line 91:
function EncounterTable.formatTable(final, tablefooter)
function EncounterTable.formatTable(final, tablefooter)
     local TABLE_HEADER = '<tr><th>Item</th><th>Quantity</th><th>Weight</th><th>Chance</th></tr>'
     local TABLE_HEADER = '<tr><th>Item</th><th>Quantity</th><th>Weight</th><th>Chance</th></tr>'
     local tableRows = ''
     local tableRows = {}
     local footer = tablefooter or {}
     local footer = tablefooter or {}