Module:ItemData/nav: Difference between revisions

changed displayed cost for Legendary items in ItemBox list (needs to be changed for Active table as well)
fixed localized name in navbox
Line 72: Line 72:
                     else
                     else
                         -- For non-English pages, include lang and localized name
                         -- For non-English pages, include lang and localized name
                         item_template = "{{ItemIcon|" .. item_name_english .. "|lang=" .. lang_code .. "|" .. item_name_local .. "}}"
                         item_template = "{{ItemIcon|" .. item_name_english .. "|lang=" .. lang_code .. "|l1=" .. item_name_local .. "}}"
                     end
                     end
                 elseif template == "ItemBox" then
                 elseif template == "ItemBox" then