Template:Font color/testcases

From MattWiki
Jump to: navigation, search

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

Purge this pages server cache.

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.
Template:Font color/sandbox, Template:Font color/sandbox+Template:Font color/sandbox, Template:Font color/sandbox*Template:Font color/sandbox, Template:Font color/sandbox#Template:Font color/sandbox, 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 }} → Template:Font color/sandbox
{{ Font color/sandbox | green | Aristotle | link = yes }} → Template:Font color/sandbox
{{ Font color/sandbox | green | text = Aristotle | link = Plato }} → Template:Font color/sandbox
{{ Font color/sandbox | text = Aristotle | fg = green }} → Template:Font color/sandbox

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 }} → Template:Font color/sandbox
{{ font color/sandbox | white | bg = blue | text = Aristotle }} → Template:Font color/sandbox
{{ font color/sandbox | white | blue | Aristotle | link = yes }} → Template:Font color/sandbox
{{ font color/sandbox | white | blue | text = Aristotle | link = yes }} → Template:Font color/sandbox
{{ font color/sandbox | white | blue | Aristotle | link = Plato }} → Template:Font color/sandbox
{{ font color/sandbox | link = Plato | bg = blue | fg = white | text=Aristotle }} → Template:Font color/sandbox

Bugs

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

See also

  • {{ code }} to troubleshoot HTML output, e.g. [[:Template:Font color/sandbox]]