Module:EncounterTable: Difference between revisions

10 bytes removed ,  23:43, 22 November 2019
fix for custom ns
(moved stuff to new module)
(fix for custom ns)
Line 39: Line 39:
         linkstr = row['table']
         linkstr = row['table']
       end
       end
       finalTable[i]['item'] = 'Item from [[EncounterTable:' .. linkstr  .. '|' .. row['table'] .. ']]'
       finalTable[i]['item'] = 'Item from [[Data:' .. 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!')