Template

Difference between revisions of "Textbox"

Line 3: Line 3:
 
<div style="text-align:center; border-bottom: 1px solid #cccccc; padding: 0.5em; background-color: {{{titlecolor|#ddddff}}};">'''{{{title|{{{1}}}}}}'''</div>
 
<div style="text-align:center; border-bottom: 1px solid #cccccc; padding: 0.5em; background-color: {{{titlecolor|#ddddff}}};">'''{{{title|{{{1}}}}}}'''</div>
  
<div style="padding: 0.5em;text-align:left;">
+
</div><noinclude>
{{{body|{{{2}}}}}}</div></div><noinclude>
 
  
Typical usage: <nowiki>{{textbox|TITLE|TEXT GOES HERE}}</nowiki>
+
Typical usage: <nowiki>{{TextBox | TEXT GOES HERE}}</nowiki>
  
 
produces
 
produces
  
{{textbox|TITLE|TEXT GOES HERE}}
+
{{TextBox | TEXT GOES HERE}}
  
 
Additional named parameters and their default values:
 
Additional named parameters and their default values:
 
* titlecolor=#ddddff (background color)
 
* titlecolor=#ddddff (background color)
 
* bodycolor=inherit (background color)
 
* bodycolor=inherit (background color)
* width=100%
+
* width=50%
  
 
See the [[Template_talk:Textbox|talk page]] for further details and examples.
 
See the [[Template_talk:Textbox|talk page]] for further details and examples.

Revision as of 13:14, 10 August 2012

{{{1}}}

Typical usage: {{TextBox | TEXT GOES HERE}}

produces

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.