Module:GameDesc: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 23: Line 23:
local gameLink = frame:expandTemplate{ title = "Link", args = { "Game", game } }
local gameLink = frame:expandTemplate{ title = "Link", args = { "Game", game } }
if not dataTable[thing] then
if not dataTable[thing] then
error("Description of \"" .. thing .. "\" for " .. game .. " not found")
error(capitalizeFirstLetter(category) .. " \"" .. thing .. "\" not defined for " .. game)
end
end
if dataTable[thing]["effect_note"] then
if dataTable[thing]["effect_note"] then

Navigation menu