Difference between revisions of "Template:Coltit/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Crissov
(Created page with '{{Testcases notice}} {{Test case|_collapsible=yes|_showcode=yes|_title=Test1 |param1|param2|name3=value3|...}} {{Test case|_collapsible=yes|_showcode=yes|_titl...')
 
imported>Crissov
({{test case}})
 
Line 1: Line 1:
 
{{Testcases notice}}
 
{{Testcases notice}}
  
{{Test case|_collapsible=yes|_showcode=yes|_title=Test1
+
{{Test case|_collapsible=yes|_showcode=yes|_title=without number sign, three hexdigits, only background|F00}}
|param1|param2|name3=value3|...}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=without number sign, three hexdigits, two colors|F00|0F0}}
 +
{{Test case|_collapsible=yes|_showcode=yes|_title=without number sign, six hexdigits, only background|FF0000}}
 +
{{Test case|_collapsible=yes|_showcode=yes|_title=without number sign, six hexdigits, two colors|FF0000|00FF00}}
  
{{Test case|_collapsible=yes|_showcode=yes|_title=Test2
+
{{Test case|_collapsible=yes|_showcode=yes|_title=without number sign, three hexdigits, only background|#F00}}
|param1|param2|name3=value3|...}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=without number sign, three hexdigits, two colors|#F00|#0F0}}
 
+
{{Test case|_collapsible=yes|_showcode=yes|_title=without number sign, six hexdigits, only background|#FF0000}}
{| class="wikitable"
+
{{Test case|_collapsible=yes|_showcode=yes|_title=without number sign, six hexdigits, two colors|#FF0000|#00FF00}}
|-
+
{{Test case|_collapsible=yes|_showcode=yes|_title=named, only background|red}}
| {{coltit|F00}} no #
+
{{Test case|_collapsible=yes|_showcode=yes|_title=named, two colors|red|green}}
| {{coltit|F00|0F0}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=RGB percentages, only background|rgb=100%, 0%, 0%}}
| {{coltit|F00}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=RGB percentages, only foreground|color=0%, 100%, 0%}}
| {{coltit|F00|0F0}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=RGB percentages, two colors|rgb=100%, 0%, 0%|color=0%, 100%, 0%}}
| {{coltit|FF0000}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=RGB 8bit, only background|rgb=255, 0, 0}}
| {{coltit|FF0000|00FF00}}
+
{{Test case|_collapsible=yes|_showcode=yes|_title=RGB 8bit, only foreground|color=0, 255, 0}}
|-
+
{{Test case|_collapsible=yes|_showcode=yes|_title=RGB 8bit, two colors|rgb=255, 0, 0|color=0, 255, 0}}
| {{coltit|#F00}} with #
 
| {{coltit|#F00|#0F0}}
 
| {{coltit|#F00}}
 
| {{coltit|#F00|#0F0}}
 
| {{coltit|#FF0000}}
 
| {{coltit|#FF0000|#00FF00}}
 
|-
 
| {{coltit|red|green}} named
 
|-
 
| {{coltit|rgb=100%, 0%, 0%}} RGB
 
| {{coltit|rgb=100%, 0%, 0%|color=0%, 100%, 0%}}
 
| {{coltit|rgb=255, 0, 0}}
 
| {{coltit|rgb=255, 0, 0|color=0, 255, 0}}
 
|-
 
|}
 

Latest revision as of 16:53, 29 February 2020

without number sign, three hexdigits, only background
{{Coltit|F00}}

{{Coltit}}

title="color F00" style="background: /* */Template:Number signF00; color: /* */Template:Number sign#000; Template:Text-align"|

{{Coltit/sandbox}}

title="color F00" style="background: /* */Template:Number signF00; color: /* */Template:Number sign#000; Template:Text-align"|

without number sign, three hexdigits, two colors
{{Coltit|F00|0F0}}

{{Coltit}}

title="color F00" style="background: /* */Template:Number signF00; color: /* */Template:Number sign0F0; Template:Text-align"|

{{Coltit/sandbox}}

title="color F00" style="background: /* */Template:Number signF00; color: /* */Template:Number sign0F0; Template:Text-align"|

without number sign, six hexdigits, only background
{{Coltit|FF0000}}

{{Coltit}}

title="color FF0000" style="background: /* */Template:Number signFF0000; color: /* */Template:Number sign#000; Template:Text-align"|

{{Coltit/sandbox}}

title="color FF0000" style="background: /* */Template:Number signFF0000; color: /* */Template:Number sign#000; Template:Text-align"|

without number sign, six hexdigits, two colors
{{Coltit|FF0000|00FF00}}

{{Coltit}}

title="color FF0000" style="background: /* */Template:Number signFF0000; color: /* */Template:Number sign00FF00; Template:Text-align"|

{{Coltit/sandbox}}

title="color FF0000" style="background: /* */Template:Number signFF0000; color: /* */Template:Number sign00FF00; Template:Text-align"|

without number sign, three hexdigits, only background
{{Coltit|#F00}}

{{Coltit}}

title="color

  1. F00" style="background: /* */#F00; color: /* */Template:Number sign#000; Template:Text-align"|

{{Coltit/sandbox}}

title="color

  1. F00" style="background: /* */#F00; color: /* */Template:Number sign#000; Template:Text-align"|
without number sign, three hexdigits, two colors
{{Coltit|#F00|#0F0}}

{{Coltit}}

title="color

  1. F00" style="background: /* */#F00; color: /* */#0F0; Template:Text-align"|

{{Coltit/sandbox}}

title="color

  1. F00" style="background: /* */#F00; color: /* */#0F0; Template:Text-align"|
without number sign, six hexdigits, only background
{{Coltit|#FF0000}}

{{Coltit}}

title="color

  1. FF0000" style="background: /* */#FF0000; color: /* */Template:Number sign#000; Template:Text-align"|

{{Coltit/sandbox}}

title="color

  1. FF0000" style="background: /* */#FF0000; color: /* */Template:Number sign#000; Template:Text-align"|
without number sign, six hexdigits, two colors
{{Coltit|#FF0000|#00FF00}}

{{Coltit}}

title="color

  1. FF0000" style="background: /* */#FF0000; color: /* */#00FF00; Template:Text-align"|

{{Coltit/sandbox}}

title="color

  1. FF0000" style="background: /* */#FF0000; color: /* */#00FF00; Template:Text-align"|
named, only background
{{Coltit|red}}

{{Coltit}}

title="color RED" style="background: #FF0000; color: /* */Template:Number sign#000; Template:Text-align"|

{{Coltit/sandbox}}

title="color RED" style="background: #FF0000; color: /* */Template:Number sign#000; Template:Text-align"|

named, two colors
{{Coltit|red|green}}

{{Coltit}}

title="color RED" style="background: #FF0000; color: #008000; Template:Text-align"|

{{Coltit/sandbox}}

title="color RED" style="background: #FF0000; color: #008000; Template:Text-align"|

RGB percentages, only background
{{Coltit|rgb=100%, 0%, 0%}}

{{Coltit}}

title="color 100%, 0%, 0%" style="background: rgb(100%, 0%, 0%); color: /* */Template:Number sign#000; Template:Text-align"|

{{Coltit/sandbox}}

title="color 100%, 0%, 0%" style="background: rgb(100%, 0%, 0%); color: /* */Template:Number sign#000; Template:Text-align"|

RGB percentages, only foreground
{{Coltit|color=0%, 100%, 0%}}

{{Coltit}}

title="color #FFF" style="background: /* */Template:Number sign#FFF; color: rgb(0%, 100%, 0%); Template:Text-align"|

{{Coltit/sandbox}}

title="color #FFF" style="background: /* */Template:Number sign#FFF; color: rgb(0%, 100%, 0%); Template:Text-align"|

RGB percentages, two colors
{{Coltit|color=0%, 100%, 0%|rgb=100%, 0%, 0%}}

{{Coltit}}

title="color 100%, 0%, 0%" style="background: rgb(100%, 0%, 0%); color: rgb(0%, 100%, 0%); Template:Text-align"|

{{Coltit/sandbox}}

title="color 100%, 0%, 0%" style="background: rgb(100%, 0%, 0%); color: rgb(0%, 100%, 0%); Template:Text-align"|

RGB 8bit, only background
{{Coltit|rgb=255, 0, 0}}

{{Coltit}}

title="color 255, 0, 0" style="background: rgb(255, 0, 0); color: /* */Template:Number sign#000; Template:Text-align"|

{{Coltit/sandbox}}

title="color 255, 0, 0" style="background: rgb(255, 0, 0); color: /* */Template:Number sign#000; Template:Text-align"|

RGB 8bit, only foreground
{{Coltit|color=0, 255, 0}}

{{Coltit}}

title="color #FFF" style="background: /* */Template:Number sign#FFF; color: rgb(0, 255, 0); Template:Text-align"|

{{Coltit/sandbox}}

title="color #FFF" style="background: /* */Template:Number sign#FFF; color: rgb(0, 255, 0); Template:Text-align"|

RGB 8bit, two colors
{{Coltit|color=0, 255, 0|rgb=255, 0, 0}}

{{Coltit}}

title="color 255, 0, 0" style="background: rgb(255, 0, 0); color: rgb(0, 255, 0); Template:Text-align"|

{{Coltit/sandbox}}

title="color 255, 0, 0" style="background: rgb(255, 0, 0); color: rgb(0, 255, 0); Template:Text-align"|