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:ContentBox/testcases

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

Main version
{{ContentBox template error}}
Parameter 1 not defined. For correct usage see ContentBox template's documentation on the 1 parameter.
Sandbox version
{{ContentBox template error}}
Parameter 1. unnamed not defined. For correct usage see ContentBox template's documentation on the 1. unnamed parameter.
Parameter: 1. unnamed
Wiki code {{ContentBox|Heading}}

Main version
{{ContentBox template error}}
Parameter 2 not defined. For correct usage see ContentBox template's documentation on the 2 parameter.
Sandbox version
{{ContentBox template error}}
Parameter 2. unnamed not defined. For correct usage see ContentBox template's documentation on the 2. unnamed parameter.


Parameter: 1., 2. unnamed
Wiki code {{ContentBox|Heading|Text}}

Main version
Heading

Text
Sandbox version
Heading

Text
Parameter: bgcol
Wiki code {{ContentBox|Heading|Text|bgcol=grey}}

Main version
Heading

Text
Sandbox version
Heading

Text
Parameter: color, titlecol
Wiki code {{ContentBox|Heading|Text|color=blue|titlecol=grey}}

Main version
Heading

Text
Sandbox version
Heading

Text
Parameter: subtitle, color2, subtitlecol
Wiki code {{ContentBox|Heading|Text|subtitle=Subtitle|color2=blue|subtitlecol=grey}}

Main version
HeadingSubtitle

Text
Sandbox version
HeadingSubtitle

Text
Parameter: description, descriptioncol
Wiki code {{ContentBox|Heading|Text|description=Description|descriptioncol=blue}}

Main version
HeadingDescription

Text
Sandbox version
HeadingDescription

Text
Parameter: rightmsg
Wiki code {{ContentBox|Heading|Text|rightmsg=RightMessage}}

Main version
Heading

Text
Sandbox version
Heading

Text