Template:CardColor

From Fogpiercer Official Wiki
Revision as of 15:07, 27 June 2026 by Aeredor (talk | contribs) (For use in other templates to keep the theme colors centralized to the color templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

For use in other templates. Allows author-friendly shortcuts to card colors while reusing the templated colors.

Usage

<style="color: {{CardColor|{{{card_color}}}}};">

where card_color is the other template's parameter in plain english, like "blue"

Examples

<span style="color: {{CardColor|blue}};">Blue</span>

Blue

<span style="color: {{CardColor|red}};">Red</span>

Red

<span style="color: {{CardColor|yellow}};">Yellow</span>

Yellow

<span style="color: {{CardColor}};">Default</span>

Default