Module:EncounterTable: Difference between revisions

dynamic namespace support?
mNo edit summary
(dynamic namespace support?)
Tag: Reverted
Line 69: Line 69:
             end
             end


             finalTable[i].item = 'Item from [[Data:' .. linkstr  .. '|' .. row.table .. ']]'
             finalTable[i].item = 'Item from [[{{NAMESPACE}}:' .. linkstr  .. '|' .. row.table .. ']]'
         else
         else
             error'A table and item cannot be specified at the same time!'
             error'A table and item cannot be specified at the same time!'