Module:Infobox item: Difference between revisions

Jump to navigation Jump to search
m Reverted edit by Gammaton32 (talk) to last revision by Monster Domosed
Tag: Rollback
Vergir (talk | contribs)
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