Module:EncounterTable: Difference between revisions

dynamic namespace support?
Tag: Reverted
change data namespace to Population
 
(One intermediate revision by one other user not shown)
Line 69: Line 69:
             end
             end


             finalTable[i].item = 'Item from [[{{NAMESPACE}}:' .. linkstr  .. '|' .. row.table .. ']]'
             finalTable[i].item = 'Item from [[Population:' .. 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!'