Template:MessageBox/testcases

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is the template test case page for Template:MessageBox and its sandbox version. You may have to purge this page to update the examples.
No parameter
Wiki code {{MessageBox}}

Main version
{{{1}}}
{{{2}}}
Sandbox version
{{{1}}}
{{{2}}}
One anonymous parameter
Wiki code {{MessageBox|Heading}}

Main version
Heading
{{{2}}}
Sandbox version
Heading
{{{2}}}


Two anonymous parameters
Wiki code {{MessageBox|Heading|Text}}

Main version
Heading
Text
Sandbox version
Heading
Text
Parameters color and titlecol
Wiki code {{MessageBox|Heading|Text|color=blue|titlecol=grey}}

Main version
Heading
Text
Sandbox version
Heading
Text
Important
Try to use as little custom coloring as possible. See Gentoo Wiki:Guidelines for the colors used in some standard "box" templates.
Parameter bgcol
Wiki code {{MessageBox|Heading|Text|bgcol=grey}}

Main version
Heading
Text
Sandbox version
Heading
Text