Module:EncounterTable: Difference between revisions

m
Reverted edits by Egocarib (talk) to last revision by Teamtoto
(dynamic namespace support?)
Tag: Reverted
m (Reverted edits by Egocarib (talk) to last revision by Teamtoto)
Tag: Rollback
Line 69: Line 69:
             end
             end


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