Difference between revisions of "Template:Font color/testcases"
Jump to navigation
Jump to search
imported>Cpiral (add spacing for more spacing tests, demoTemplate is unusable, as it alters spacing) |
imported>Cpiral (→Inline: give tan for yellow) |
||
| Line 3: | Line 3: | ||
== Inline == | == Inline == | ||
| − | [[ Rainbow ]] test of spacing of red, | + | [[ Rainbow ]] test of spacing of:<br/> |
| + | red, | ||
orange+yellow, | orange+yellow, | ||
green*blue and | green*blue and | ||
| Line 11: | Line 12: | ||
'''Spacing testing''': only the commas have there usual spacing, the other symbols don't.<br/> | '''Spacing testing''': only the commas have there usual spacing, the other symbols don't.<br/> | ||
{{ font color | red | red }}, | {{ font color | red | red }}, | ||
| − | {{ font color | orange | orange }}+{{ font color | | + | {{ font color | orange | orange }}+{{ font color | tan | tan | link = yes }}, |
{{ font color | green | green }}*{{ font color | blue | blue | link = cat }}, | {{ font color | green | green }}*{{ font color | blue | blue | link = cat }}, | ||
{{ font color | indigo | indigo }}#{{ font color | violet | violet }}, | {{ font color | indigo | indigo }}#{{ font color | violet | violet }}, | ||
| Line 18: | Line 19: | ||
'''Sandbox spacing testing''': only the symbols have no space, the commas have their usual spacing.<br/> | '''Sandbox spacing testing''': only the symbols have no space, the commas have their usual spacing.<br/> | ||
{{ font color/sandbox | red | red }}, | {{ font color/sandbox | red | red }}, | ||
| − | {{ font color/sandbox | orange | orange }}+{{ font color/sandbox | | + | {{ font color/sandbox | orange | orange }}+{{ font color/sandbox | tan | tan | link = yes }}, |
{{ font color/sandbox | green | green }}*{{ font color/sandbox | blue | blue | link = cat }}, | {{ font color/sandbox | green | green }}*{{ font color/sandbox | blue | blue | link = cat }}, | ||
{{ font color/sandbox | indigo | indigo }}#{{ font color/sandbox | violet | violet }}, | {{ font color/sandbox | indigo | indigo }}#{{ font color/sandbox | violet | violet }}, | ||
Revision as of 11:48, 13 December 2015
Usage comparing sandbox and template tests: parameter naming and parameter value tests.
Contents
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>