Difference between revisions of "TextBoxIcon1"
(Created page with "<div class="centre"> <div style="background-color: #f0ffff; margin: 0 10px 2px 10px; padding: 0 10px 0 10px; border: 1px dotted #e16060; min-height: 45px;"> <div style="float: le...") |
|||
Line 1: | Line 1: | ||
+ | <div style="border: 1px solid #cccccc; width: {{{width|100%}}}; padding: 0; background-color: {{{bodycolor|inherit}}};"> | ||
+ | |||
+ | <div style="border-bottom: 1px solid #cccccc; padding: 0.5em; background-color: {{{titlecolor|#ddddff}}};">'''{{{title|{{{1}}}}}}'''</div> | ||
+ | |||
+ | <div style="padding: 0.5em;text-align:left;"> | ||
+ | {{{body|{{{2}}}}}}</div></div><noinclude> | ||
+ | |||
+ | Typical usage: <nowiki>{{textbox|TITLE|TEXT GOES HERE}}</nowiki> | ||
+ | |||
+ | produces | ||
+ | |||
+ | {{textbox|TITLE|TEXT GOES HERE}} | ||
+ | |||
+ | Additional named parameters and their default values: | ||
+ | * titlecolor=#ddddff (background color) | ||
+ | * bodycolor=inherit (background color) | ||
+ | * width=50% | ||
+ | |||
+ | See the [[Template_talk:Textbox|talk page]] for further details and examples. | ||
+ | |||
+ | [[Category:Template]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
<div class="centre"> | <div class="centre"> | ||
<div style="background-color: #f0ffff; margin: 0 10px 2px 10px; padding: 0 10px 0 10px; border: 1px dotted #e16060; min-height: 45px;"> | <div style="background-color: #f0ffff; margin: 0 10px 2px 10px; padding: 0 10px 0 10px; border: 1px dotted #e16060; min-height: 45px;"> | ||
<div style="float: left;" >[[Image:Imbox notice.png]]</div><div style="margin-left: 100px;">{{{1}}}</div> | <div style="float: left;" >[[Image:Imbox notice.png]]</div><div style="margin-left: 100px;">{{{1}}}</div> | ||
</div> | </div> | ||
− | </div | + | </div> |
Syntax: <nowiki>{{TextBoxIcon1|TEXT}}</nowiki> | Syntax: <nowiki>{{TextBoxIcon1|TEXT}}</nowiki> |
Revision as of 13:48, 10 August 2012
{{{1}}}
{{{2}}}
Typical usage: {{textbox|TITLE|TEXT GOES HERE}}
produces
TITLE
Additional named parameters and their default values:
- titlecolor=#ddddff (background color)
- bodycolor=inherit (background color)
- width=50%
See the talk page for further details and examples.
{{{1}}}
Syntax: {{TextBoxIcon1|TEXT}}