Template:Font color/testcases
Appearance
This is the template test cases page for the sandbox of Template:Font color. 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 and parsers with these links: |
Usage comparing sandbox and template tests: parameter naming and parameter value tests.
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 }}
{{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
[edit]{{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
[edit]- Reported {{cross}}.
- Fixed {{check}}.
See also
[edit]- {{Code}} to troubleshoot HTML output, e.g.
<span style="color:red;">thisText</span>