Template:ItemBox: Difference between revisions

Jump to navigation Jump to search
Vergir (talk | contribs)
wearMask also accepts soft (with help from vergir-bot LLM)
Vergir (talk | contribs)
texture now also accepts 1, 2 or 3 to force a single paper texture on every card (with help from vergir-bot LLM)
Line 27: Line 27:
     no  - tint moves behind the artwork, so only the card stock is coloured
     no  - tint moves behind the artwork, so only the card stock is coloured
     ramp - tint stays on top, fading in from the card's edges
     ramp - tint stays on top, fading in from the card's edges
     soft - tint stays on top but uniform and lighter, with the name lifted clear
     soft - tint stays on top, uniform and lighter, with the name lifted clear
-->{{#vardefine:lite|{{#switch:{{{wearMask|}}}|no=itembox-flat-wear|ramp=itembox-ramp-wear|soft=itembox-soft-wear}} {{#ifeq:{{{iconMask|}}}|no|itembox-flat-icon}} {{#ifeq:{{{texture|}}}|no|itembox-no-texture}}}}<!--
    texture accepts no to drop the paper blend entirely, or 1, 2 or 3 to give
    every card the same paper instead of one picked from the item's name.
-->{{#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}}}}<!--


     Links.
     Links.