Editing Module:Infobox itemGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 757: | Line 757: | ||
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 | ||