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