Template:ExerciseRobox/doc
Appearance
This is a documentation subpage for Template:ExerciseRobox It may contain usage information, categories and other content that is not part of the original template page. |
This is a special kind of box with a hanging icon in the right hand top corner. It's based on Template:Robox. The size of the icon can be increased indefinitely without the height of the title bar being affected. If an empty title is specified, the title bar shrinks to a small band. Additionally this Robox is collapsible. The title is usually used to hold a question and the body to hold hints or even an answer.
Title Parameters:
Don't forget to use the {{Robox/Close}} template after your content! |
Examples
[edit source]Theme 1: Tan (default)
[edit source]This code:
{{ExerciseRobox|title=Test title}} Test content using a default box {{Robox/Close}}
produces this box:
Test title Test content using a default box |
Theme 2: Mid green
[edit source]This code:
{{ExerciseRobox|theme=2|title=Test title}} Test content using a default box with Theme=2 {{Robox/Close}}
produces this box:
Test title Test content using a default box with Theme=2 |
Themes
[edit source]
|
|
|