Module:ItemData/nav: Difference between revisionsGive feedback
Use the single lowGraphics flag for navbox cards now that ItemBox bundles the cheap layers and the 1x icon request (with help from vergir-bot LLM) |
Tag: Undo |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 14: | Line 14: | ||
-- The card navboxes put every item on a single page, so their cards opt into | -- The card navboxes put every item on a single page, so their cards opt into | ||
-- the cheaper ItemBox rendering | -- the cheaper ItemBox rendering via lowGraphics. This swaps the paper texture | ||
-- | -- from the normal-mode multiply (which blends two images and is re-rasterised | ||
-- | -- every scrolled frame) to a transparent-paper overlay that is a single | ||
-- | -- cacheable image, the one change that carried the navbox scroll cost. The wear | ||
-- and icon masks stay at full detail, since a single-image mask caches fine. | |||
-- See [[Template:ItemBox]]. Only the ItemBox branch of write_wrapped_item_list | |||
-- uses this; the ItemIcon lists are unaffected. | |||
local LOW_GRAPHICS = "|lowGraphics=true" | local LOW_GRAPHICS = "|lowGraphics=true" | ||