Template:TvC-Colors: Difference between revisions

Template page
No edit summary
No edit summary
Tag: Manual revert
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Switch statement to dynamically change text color based on the first parameter -->
{{#switch: {{{1}}}
{{#switch: {{{1}}}
   | red = <span style="color:#FF6347;">{{{2}}}</span> <!-- Display red text -->
   | red = <span style="color:#FF6347; white-space: nowrap;">{{{2}}}</span>
   | blue = <span style="color:#87CEEB;">{{{2}}}</span> <!-- Display blue text -->
   | blue = <span style="color:#ADD8E6; white-space: nowrap;">{{{2}}}</span>
   | yellow = <span style="color:#FFD700;">{{{2}}}</span> <!-- Display yellow text -->
   | yellow = <span style="color:#FFD700; white-space: nowrap;">{{{2}}}</span>
   | green = <span style="color:#90EE90;">{{{2}}}</span> <!-- Display green text -->
   | green = <span style="color:#90EE90; white-space: nowrap;">{{{2}}}</span>
   | #default = <span>{{{2}}}</span> <!-- Default case: display text without color change -->
  | bbq = <span style="background: linear-gradient(to right, #FF69B4, #FF1493, #FFA500, #FFD700, #00CED1); -webkit-background-clip: text; color: transparent; white-space: nowrap;">{{{2}}}</span>
 
   | #default = <span style="white-space: nowrap;">{{{2}}}</span>
}}
}}
[[Category: Tatsunoko vs Capcom: Ultimate All Stars]]
[[Category: Tatsunoko vs Capcom: Ultimate All Stars]]

Latest revision as of 09:41, 30 December 2024

{{{2}}}