Template:Tcb
From WikiEducator
{{{text}}} |
Themed Captioned Box (tcb)
Display a box with a caption.
Usage
{{tcb |theme= <theme name> |width= <a percentage of screen space available> |caption=<caption text> |text= <text in the box goes here> }}
Parameters:
- theme: name from Template:Box Theme Attribute
- width: a percentage of screen space available for the box
- caption: text line for the box's caption
- text: the text to appear in the box.
Examples
{{tcb |theme= gaia |width= 50 |caption=My Caption |text= Text in the box. }}
displays as:
Text in the box. |
and with no caption:
{{tcb |theme= blues |width= 50 |text= Text in the box. }}
displays as:
Text in the box. |
Illustrating the Themes
message/ text for the box goes here |
goldy:
message/ text for the box goes here |
khaki:
message/ text for the box goes here |
sandyblueslate:
message/ text for the box goes here |
swiss-swap:
message/ text for the box goes here |
swiss:
message/ text for the box goes here |
gaia:
message/ text for the box goes here |
smart:
message/ text for the box goes here |
blues:
message/ text for the box goes here |
blacktie:
message/ text for the box goes here |