Template:ItemBox: Difference between revisionsGive feedback
Add texture=over and over1/2/3 for the plain-overlay paper variant (with help from vergir-bot LLM) |
Add texture=over-light preset so the lighter overlay can be set without inline style (with help from vergir-bot LLM) |
||
| Line 43: | Line 43: | ||
over / over1..3 - paper as a plain alpha overlay over the whole card, | over / over1..3 - paper as a plain alpha overlay over the whole card, | ||
cacheable; lightens instead of multiplying | cacheable; lightens instead of multiplying | ||
-->{{#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|over=itembox-over-texture|over1=itembox-over-texture itembox-blend-tex-1|over2=itembox-over-texture itembox-blend-tex-2|over3=itembox-over-texture itembox-blend-tex-3}}}}<!-- | over-light - the plain overlay (paper 3) at a lighter opacity | ||
-->{{#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|over=itembox-over-texture|over1=itembox-over-texture itembox-blend-tex-1|over2=itembox-over-texture itembox-blend-tex-2|over3=itembox-over-texture itembox-blend-tex-3|over-light=itembox-over-texture itembox-blend-tex-3 itembox-over-light}}}}<!-- | |||
Links. | Links. | ||