Template:Font color/testcases
< Template:Font color
Jump to navigation
Jump to search
Revision as of 19:47, 25 November 2015 by imported>Cpiral (Cleanup: use markup to visually differentiate sandbox side; complete test suite removing excess; + sections Bugs ,See also)
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.
Together test of spacing of red, orange+yellow, green*blue and indigo#violet, all playing nicely.
Sandbox test of spacing of red, orange+yellow, green*blue and 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|fg=green|text=Aristotle}}→ 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|fg=green|text=Aristotle}}→ Aristotle
Two color
{{font color|white|blue|Aristotle}}→ Aristotle{{font color|white|text=Aristotle|bg=blue}}→ 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|fg=white|text=Aristotle|bg=blue|link=Plato}}→ Aristotle
{{font color/sandbox|white|blue|Aristotle}}→ Aristotle{{font color/sandbox|white|text=Aristotle|bg=blue}}→ 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|fg=white|text=Aristotle|bg=blue|link=Plato}}→ Aristotle
Bugs
- Reported {{cross}}.
- Fixed {{check}}.
{{font color/sandbox|orange|<br />This breaks on apostrophe'123|link=cat}}→
This breaks on apostrophe'123
Done{{font color/sandbox|orange|<br />This breaks on<br />break}}→
This breaks on
break
Done
See also
- {{code}} to troubleshoot HTML output, e.g.
<span style="color:red;">thisText</span>