Jump to content

Template:Font color/testcases

From Wikipedia, the free encyclopedia

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

Purge this pages server cache.

Inline

[edit]

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

[edit]
{{Font color| green | Aristotle }}
Side by side comparison
{{Font color}}{{Font color/sandbox}}
Aristotle Aristotle
{{Font color| green | Aristotle |link=yes}}
Side by side comparison
{{Font color}}{{Font color/sandbox}}
Aristotle Aristotle
{{Font color| green |link=Plato |text=Aristotle}}
Side by side comparison
{{Font color}}{{Font color/sandbox}}
Aristotle Aristotle
{{Font color|fg=green |text=Aristotle}}
Side by side comparison
{{Font color}}{{Font color/sandbox}}
Aristotle Aristotle

Two color

[edit]
{{Font color| white | blue | Aristotle}}
Side by side comparison
{{Font color}}{{Font color/sandbox}}
Aristotle Aristotle
{{Font color| white |bg=blue |text=Aristotle}}
Side by side comparison
{{Font color}}{{Font color/sandbox}}
Aristotle Aristotle
{{Font color| white | blue | Aristotle |link=yes}}
Side by side comparison
{{Font color}}{{Font color/sandbox}}
Aristotle Aristotle
{{Font color| white | blue |link=yes |text=Aristotle}}
Side by side comparison
{{Font color}}{{Font color/sandbox}}
Aristotle Aristotle
{{Font color| white | blue | Aristotle |link=Plato}}
Side by side comparison
{{Font color}}{{Font color/sandbox}}
Aristotle Aristotle
{{Font color|bg=blue |fg=white |link=Plato |text=Aristotle}}
Side by side comparison
{{Font color}}{{Font color/sandbox}}
Aristotle Aristotle

Bugs

[edit]
Reported {{cross}}.
Fixed {{check}}.

See also

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