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. The keyword 'center' can be added to center the text of 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. | ||
Line 10: | Line 10: | ||
{{textbox||Blue Title|This is an text box. The standard color is blue}} | {{textbox||Blue Title|This is an text box. The standard color is blue}} | ||
− | {{textbox|red|Red Title|Red colored boxes are also possible.}} | + | {{textbox|red center|Red Title|Red colored boxes are also possible. The text is centered.}} |
{{textbox|green|Green Title|Green colored boxes are also possible.}} | {{textbox|green|Green Title|Green colored boxes are also possible.}} | ||
</noinclude> | </noinclude> |
Revision as of 19:37, 17 March 2011
usage: {{textbox|color|head|body}}
- color: Empty or one of 'red' or 'green'. Default color is blue. The keyword 'center' can be added to center the text of 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. The text is centered.
Green Title
Green colored boxes are also possible.