Module:Infobox item: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) m Reverted edit by Gammaton32 (talk) to last revision by Monster Domosed Tag: Rollback |
m Pass nocat arg to infobox item |
||
| Line 538: | Line 538: | ||
if item.StreetBrawl == true then | if item.StreetBrawl == true then | ||
insert(lines, "| street_brawl = true") | insert(lines, "| street_brawl = true") | ||
end | |||
-- Pass through nocat arg to the Infobox item template if provided | |||
local nocat = frame.args.nocat | |||
if nocat and nocat ~= "" then | |||
insert(lines, "| nocat = " .. nocat) | |||
end | end | ||