Template:Coltit/testcases
| 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"| |