Difference between revisions of "Template:Coltit/testcases"
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= | + | {{Test case|_collapsible=yes|_showcode=yes|_title=without number sign, three hexdigits, only background|F00}} |
| − | | | + | {{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= | + | {{Test case|_collapsible=yes|_showcode=yes|_title=without number sign, three hexdigits, only background|#F00}} |
| − | | | + | {{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=named, only background|red}} |
| − | | | + | {{Test case|_collapsible=yes|_showcode=yes|_title=named, two colors|red|green}} |
| − | + | {{Test case|_collapsible=yes|_showcode=yes|_title=RGB percentages, only background|rgb=100%, 0%, 0%}} | |
| − | + | {{Test case|_collapsible=yes|_showcode=yes|_title=RGB percentages, only foreground|color=0%, 100%, 0%}} | |
| − | | | + | {{Test case|_collapsible=yes|_showcode=yes|_title=RGB percentages, two colors|rgb=100%, 0%, 0%|color=0%, 100%, 0%}} |
| − | + | {{Test case|_collapsible=yes|_showcode=yes|_title=RGB 8bit, only background|rgb=255, 0, 0}} | |
| − | | | + | {{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}} | |
| − | |||
| − | | | ||
| − | |||
| − | | | ||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | | {{ | ||
| − | |||
| − | |||
Latest revision as of 16:53, 29 February 2020
| This is the template test cases page for the sandbox of Template:Coltit. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
| 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
{{Coltit/sandbox}} title="color
|
| without number sign, three hexdigits, two colors |
|---|
{{Coltit|#F00|#0F0}}
{{Coltit}} title="color
{{Coltit/sandbox}} title="color
|
| without number sign, six hexdigits, only background |
|---|
{{Coltit|#FF0000}}
{{Coltit}} title="color
{{Coltit/sandbox}} title="color
|
| without number sign, six hexdigits, two colors |
|---|
{{Coltit|#FF0000|#00FF00}}
{{Coltit}} title="color
{{Coltit/sandbox}} title="color
|
| 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"| |