Module:Infobox item: Difference between revisions

Added icons for status effects
process "nocat" variable
Line 751: Line 751:
         if index and value ~= "" then
         if index and value ~= "" then
             insert(lines, format("| sound%s = %s", index, value))
             insert(lines, format("| sound%s = %s", index, value))
        end
    end
    ------------------------------------------------------------------
    -- no category (pass-through from frame args)
    ------------------------------------------------------------------
    for key, value in pairs(frame.args) do
        local index = tostring(key):match("nocat")
        if index and value ~= "" then
            insert(lines, format("| nocat = %s", index, value))
         end
         end
     end
     end