Template:Highlight/sandbox

From Gentoo Wiki
Jump to:navigation Jump to:search


Correct

One anonymous parameter
Wiki code
{{Highlight|notice me}}
Main version
notice me
Sandbox version


Specifying the color (anonymous parameter and named parameter color)
Wiki code
{{Highlight|me too|color=red}}
Main version
me too
Sandbox version


Incorrect

No parameter (results in an empty <span> element)
Wiki code
{{Highlight}}
Main version
Sandbox version
Note
This is the template sandbox page for Template:Highlight (diff).
See also the companion subpage for test cases.