Template:TCG Rainbow color dark: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{|
<noinclude>{|
! {{e|{{#switch: {{#expr: {{#time: U}} mod 10}}|0=Colorless|1=Fighting|2=Fire|3=Grass|4=Lightning|5=Psychic|6=Water|7=Dragon|8=Metal|9=Fairy|Rainbow}}}}
! {{e|{{#switch: {{#expr: {{#time: U}} mod 11}}|0=Colorless|1=Grass|2=Fire|3=Water|4=Lightning|5=Psychic|6=Fighting|7=Darkness|8=Metal|9=Fairy|10=Dragon|Rainbow}}}}
! style="background:#{{tcg rainbow color dark}}; color:#FFFFFF" | <small>[[Rainbow Energy (TCG)|<span style="color:#FFFFFF">Rainbow</span>]] color dark:
! style="background:#{{tcg rainbow color dark}}; color:#FFFFFF" | <small>[[Rainbow Energy (TCG)|<span style="color:#FFFFFF">Rainbow</span>]] color dark:
|<span style="color:#{{tcg rainbow color dark}}">'''</noinclude>{{tcg {{#switch: {{#expr: {{#time: U}} mod 10}}|0=Colorless|1=Fighting|2=Fire|3=Grass|4=Lightning|5=Psychic|6=Water|7=Dragon|8=Metal|9=Fairy|Black}} color dark}}<noinclude>'''</span>
|<span style="color:#{{tcg rainbow color dark}}">'''</noinclude>{{tcg {{#switch: {{#expr: {{#time: U}} mod 11}}|0=Colorless|1=Grass|2=Fire|3=Water|4=Lightning|5=Psychic|6=Fighting|7=Darkness|8=Metal|9=Fairy|10=Dragon|Black}} color dark}}<noinclude>'''</span>
|}
|}


This template will randomly select one of the 11 TCG type colors to use, with a 9.09% chance for each.
This template will randomly select one of the 11 TCG type colors to use, with a 9.09% chance for each.
* However, it currently will not choose the Darkness color, due to legibility problems, giving each of the remaining 10 colours a 10% chance to be picked.
[[Category:Type color templates|TCG Rainbow]]</noinclude>
[[Category:Type color templates|TCG Rainbow]]</noinclude>

Latest revision as of 18:21, 19 March 2024

Colorless Rainbow color dark: 898787

This template will randomly select one of the 11 TCG type colors to use, with a 9.09% chance for each.