Difference between revisions of "Template:Class/colour/testcases"
< Template:Class | colour
Jump to navigation
Jump to search
imported>Adem20 |
imported>Evad37 (switch live/sandbox from rows to columns (makes it easier to add new testcases); add fpo) |
||
| Line 1: | Line 1: | ||
{{testcases notice}} | {{testcases notice}} | ||
{| class=wikitable style=text-align:center | {| class=wikitable style=text-align:center | ||
| − | ! | + | !rowspan=2 | Parameters |
| + | !colspan=2 | {{tlb|Class/colour}} | ||
| + | !colspan=2 | {{tlb|Class/colour/sandbox}} | ||
|- | |- | ||
| − | | | + | !style="width:8em;" | Output |
| + | !style="width:6em;" | Colour | ||
| + | !style="width:8em;" | Output | ||
| + | !style="width:6em;" | Colour | ||
| + | |- | ||
| + | |{{para|1|current}} | ||
| <code>{{class/colour|current}}</code> | | <code>{{class/colour|current}}</code> | ||
| − | |style="background:{{class/colour|current}}"| | + | |style="background:{{class/colour|current}}"| |
| − | | <code | + | | <code>{{class/colour/sandbox|current}}</code> |
| + | |style="background:{{class/colour/sandbox|current}}"| | ||
| + | |||
| + | |- | ||
| + | |{{para|1|user}} | ||
| <code>{{class/colour|user}}</code> | | <code>{{class/colour|user}}</code> | ||
|style="background:{{class/colour|user}}"| | |style="background:{{class/colour|user}}"| | ||
| + | | <code>{{class/colour/sandbox|user}}</code> | ||
| + | |style="background:{{class/colour/sandbox|user}}"| | ||
| + | |||
|- | |- | ||
| − | | | + | |{{para|1|fpo}} |
| − | | <code>{{class/colour | + | | <code>{{class/colour|fpo}}</code> |
| − | |style="background:{{class/colour | + | |style="background:{{class/colour|fpo}}"| |
| − | + | | <code>{{class/colour/sandbox|fpo}}</code> | |
| − | | <code>{{class/colour/sandbox| | + | |style="background:{{class/colour/sandbox|fpo}}"| |
| − | |style="background:{{class/colour/sandbox| | ||
|} | |} | ||
Revision as of 01:02, 4 June 2018
| 42px | This is the template test cases page for the sandbox of Template:Class/colour. 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: |
| Parameters | {{Class/colour}} | {{Class/colour/sandbox}} | ||
|---|---|---|---|---|
| Output | Colour | Output | Colour | |
|1=current
|
#E6A4FF
|
#E6A4FF
|
||
|1=user
|
#DDD06A
|
#DDD06A
|
||
|1=fpo
|
#9CBDFF
|
#9CBDFF
|
||