Template:CardColor

From Little Troubles
Revision as of 11:22, 26 August 2026 by Chesto (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

rgba(170, 170, 170, 1.0)

Ignore the above, changing from onlyinclude to includeonly breaks absolutely everything.

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)

{{CardColor|CardType=Action|CardArea=body|opacity=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

Works with wikitables:

Type
Character
Hybrid
Type
Character
Hybrid

and other tables

Card Type Hybrid