Difference between revisions of "Template:Font color/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Cpiral
(→‎Inline: give tan for yellow)
imported>Cpiral
(+ purge)
 
Line 1: Line 1:
 
Usage comparing sandbox and template tests: parameter naming and parameter value tests.
 
Usage comparing sandbox and template tests: parameter naming and parameter value tests.
 
+
{| style=width:80%
 +
|-
 +
|style=text-align:right|{{purge|Purge this pages server cache.}}
 +
|}
 
== Inline ==  
 
== Inline ==  
  

Latest revision as of 12:57, 13 December 2015

Usage comparing sandbox and template tests: parameter naming and parameter value tests.

Script error: No such module "Purge".

Inline

Rainbow test of spacing of:
red, orange+yellow, green*blue and indigo#violet all playing nicely.

Spacing testing: only the commas have there usual spacing, the other symbols don't.
red, orange+tan, green*blue, indigo#violet, all playing nicely.

Sandbox spacing testing: only the symbols have no space, the commas have their usual spacing.
red, orange+tan, green*blue, indigo#violet, all playing nicely.

One color

{{ Font color | green | Aristotle }}Aristotle
{{ Font color | green | Aristotle | link = yes }}Aristotle
{{ Font color | green | text = Aristotle | link = Plato }}Aristotle
{{ Font color | text = Aristotle | fg = green }}Aristotle
{{ Font color/sandbox | green | Aristotle }} → Aristotle
{{ Font color/sandbox | green | Aristotle | link = yes }} → Aristotle
{{ Font color/sandbox | green | text = Aristotle | link = Plato }} → Aristotle
{{ Font color/sandbox | text = Aristotle | fg = green }} → Aristotle

Two color

{{ font color | white | blue | Aristotle }}Aristotle
{{ font color | white | bg = blue | text = Aristotle }}Aristotle
{{ font color | white | blue | Aristotle | link = yes }}Aristotle
{{ font color | white | blue | text = Aristotle | link = yes }}Aristotle
{{ font color | white | blue | Aristotle | link = Plato }}Aristotle
{{ font color | link = Plato | bg = blue | fg = white | text = Aristotle }}Aristotle
{{ font color/sandbox | white | blue | Aristotle }} → Aristotle
{{ font color/sandbox | white | bg = blue | text = Aristotle }} → Aristotle
{{ font color/sandbox | white | blue | Aristotle | link = yes }} → Aristotle
{{ font color/sandbox | white | blue | text = Aristotle | link = yes }} → Aristotle
{{ font color/sandbox | white | blue | Aristotle | link = Plato }} → Aristotle
{{ font color/sandbox | link = Plato | bg = blue | fg = white | text=Aristotle }} → Aristotle

Bugs

Reported {{cross}}.
Fixed {{check}}.

See also

  • {{ code }} to troubleshoot HTML output, e.g. <span style="color:red;">thisText</span>