Difference between revisions of "Template:Textbox"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
<div class="textbox-body">{{{3}}}</div></div></includeonly><noinclude> | <div class="textbox-body">{{{3}}}</div></div></includeonly><noinclude> | ||
usage: '''<nowiki>{{textbox|color|head|body}}</nowiki>''' | usage: '''<nowiki>{{textbox|color|head|body}}</nowiki>''' | ||
− | * '''color''': Empty or one of 'red' or 'green'. Default color is blue. | + | * '''color''': Empty or one of 'red' or 'green'. Default color is blue. You can add the keyword 'center' to center the text in the body. |
* '''head ''': Empty ot text for head line. | * '''head ''': Empty ot text for head line. | ||
* '''body''': Any text for inside of the box. | * '''body''': Any text for inside of the box. |
Revision as of 19:19, 17 March 2011
usage: {{textbox|color|head|body}}
- color: Empty or one of 'red' or 'green'. Default color is blue. You can add the keyword 'center' to center the text in the body.
- head : Empty ot text for head line.
- body: Any text for inside of the box.
Examples:
Blue Title
This is an text box. The standard color is blue
Red Title
Red colored boxes are also possible.
Green Title
Green colored boxes are also possible.