Template:CardColor

From Little Troubles
Revision as of 09:15, 26 August 2026 by Chesto (talk | contribs) (Created page with "<onlyinclude>{{#switch: {{{CardArea|body}}} |body={{#switch: {{{CardType}}} |Character|Main Character|MainCharacter=rgba(84,146,196,{{{opacity|1.0}}}) |Action|DecisiveAction|Decisive Action|Quick Action|QuickAction|Decisive Quick Action|DecisiveQuickAction=rgba(183,58,57,{{{opacity|1.0}}}) |Field|Iconic Field|IconicField|Global Iconic Field|GlobalIconicField=rgba(74,172,72,{{{opacity|1.0}}}) |Toy|Shiny Toy|ShinyToy=rgba(111,81,153,{{{opacity|1.0}}}) |Scene|Memorabl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

rgba(238, 238, 238, 1.0)

Colours/effects for cards. Exports the raw color code, e.g. rgba(183,58,57,1.0).

Has three arguments:

  • CardType (name of card type)
  • CardArea (body/frame)
  • opacity (default 1.0)

Examples with <span style="background:[];">:

Body (code works for main type/subtype/uniques):

default Action Character Field Goal Scene Toy Hybrid

Frame (code works for main type/subtype/uniques):

default/non-unique type Decisive (Quick) Action Main Character Iconic Field Great Goal Memorable Scene Shiny Toy Hybrid