Template:CardColor: Difference between revisions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
|Pregame Action|Pre-game Action|PregameAction|Pre-gameAction=rgba(183,58,57,{{{opacity|1.0}}}) | |Pregame Action|Pre-game Action|PregameAction|Pre-gameAction=rgba(183,58,57,{{{opacity|1.0}}}) | ||
|Hybrid=linear-gradient(180deg,rgba(84, 146, 196, {{{opacity|1.0}}}) 0%, rgba(111, 81, 153, {{{opacity|1.0}}}) 100%) | |Hybrid=linear-gradient(180deg,rgba(84, 146, 196, {{{opacity|1.0}}}) 0%, rgba(111, 81, 153, {{{opacity|1.0}}}) 100%) | ||
|#default=rgba( | |#default=rgba(187, 187, 187, {{{opacity|1.0}}}) | ||
}} | }} | ||
|frame={{#switch: {{{CardType}}} | |frame={{#switch: {{{CardType}}} | ||
Revision as of 09:25, 26 August 2026
rgba(187, 187, 187, 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)
{{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