Module:Infobox item: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Added icons for status effects |
Gammaton32 (talk | contribs) 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 | ||