Template:Font color/testcases
Appearance
Usage comparing sandbox and template tests: parameter naming and parameter value tests.
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 }}
{{Font color}} | {{Font color/sandbox}} |
---|---|
Aristotle | Aristotle |
{{Font color| green | Aristotle |link=yes}}
{{Font color}} | {{Font color/sandbox}} |
---|---|
Aristotle | Aristotle |
{{Font color| green |link=Plato |text=Aristotle}}
{{Font color}} | {{Font color/sandbox}} |
---|---|
Aristotle | Aristotle |
{{Font color|fg=green |text=Aristotle}}
{{Font color}} | {{Font color/sandbox}} |
---|---|
Aristotle | Aristotle |
Two color
{{Font color| white | blue | Aristotle}}
{{Font color}} | {{Font color/sandbox}} |
---|---|
Aristotle | Aristotle |
{{Font color| white |bg=blue |text=Aristotle}}
{{Font color}} | {{Font color/sandbox}} |
---|---|
Aristotle | Aristotle |
{{Font color| white | blue | Aristotle |link=yes}}
{{Font color}} | {{Font color/sandbox}} |
---|---|
Aristotle | Aristotle |
{{Font color| white | blue |link=yes |text=Aristotle}}
{{Font color}} | {{Font color/sandbox}} |
---|---|
Aristotle | Aristotle |
{{Font color| white | blue | Aristotle |link=Plato}}
{{Font color}} | {{Font color/sandbox}} |
---|---|
Aristotle | Aristotle |
{{Font color|bg=blue |fg=white |link=Plato |text=Aristotle}}
{{Font color}} | {{Font color/sandbox}} |
---|---|
Aristotle | Aristotle |
Bugs
- Reported {{cross}}.
- Fixed {{check}}.
See also
- {{Code}} to troubleshoot HTML output, e.g.
<span style="color:red;">thisText</span>