This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Template:Color/sandbox
From Gentoo Wiki (test)
Jump to:navigation
Jump to:search
Correct
Two anonymous parameters, the color and the text to be colored
Wiki code
{{Color|green|everything's fine}}
Main version
everything's fine
Sandbox version
Empty first anonymous parameter (uses the default color, black)
Wiki code
{{Color||OK, but useless}}
Main version
OK, but useless
Sandbox version
Incorrect
No parameter (error message)
Wiki code
{{Color}}
Main version
{{Color template error}}
Parameter 1 not defined. For correct usage see Color template's documentation on the
1
parameter.Sandbox version
One anonymous parameter (colored error message)
Wiki code
{{Color|green}}
Main version
{{Color template error}}
Parameter 1 not defined. For correct usage see Color template's documentation on the
1
parameter.Sandbox version
Note
This is the template sandbox page for Template:Color (diff).
See also the companion subpage for test cases.
This is the template sandbox page for Template:Color (diff).
See also the companion subpage for test cases.