Template:ItemBox: Difference between revisions

Add texture=blend and blend1/2/3 modes, and give lowGraphics the cacheable blended paper instead of no texture (with help from vergir-bot LLM)
Fix texture=blend: use the item's hashed texture variant rather than an undefined variable (with help from vergir-bot LLM)
Line 39: Line 39:
     no    - drop it entirely
     no    - drop it entirely
     1/2/3 - one shared paper via the mix-blend overlay (does not cache)
     1/2/3 - one shared paper via the mix-blend overlay (does not cache)
     blend - paper multiplied into the card art, per item, cacheable
     blend - paper multiplied into the card art, per item, cacheable. The paper
     blend1/blend2/blend3 - the cacheable blend with one shared paper
            image is picked up from the item's texture-vN variant class.
-->{{#vardefine:lite|{{#switch:{{{wearMask|}}}|no=itembox-flat-wear|ramp=itembox-ramp-wear|soft=itembox-soft-wear}} {{#ifeq:{{{iconMask|}}}|no|itembox-flat-icon}} {{#switch:{{{texture|}}}|no=itembox-no-texture|1=itembox-force-tex-1|2=itembox-force-tex-2|3=itembox-force-tex-3|blend=itembox-blend-texture {{#var:variants-blend}}|blend1=itembox-blend-texture itembox-blend-tex-1|blend2=itembox-blend-texture itembox-blend-tex-2|blend3=itembox-blend-texture itembox-blend-tex-3}}}}<!--
     blend1/blend2/blend3 - the cacheable blend forced to one shared paper
-->{{#vardefine:lite|{{#switch:{{{wearMask|}}}|no=itembox-flat-wear|ramp=itembox-ramp-wear|soft=itembox-soft-wear}} {{#ifeq:{{{iconMask|}}}|no|itembox-flat-icon}} {{#switch:{{{texture|}}}|no=itembox-no-texture|1=itembox-force-tex-1|2=itembox-force-tex-2|3=itembox-force-tex-3|blend=itembox-blend-texture|blend1=itembox-blend-texture itembox-blend-tex-1|blend2=itembox-blend-texture itembox-blend-tex-2|blend3=itembox-blend-texture itembox-blend-tex-3}}}}<!--


     Links.
     Links.