Template

Difference between revisions of "TextBoxWithTitle"

(Created page with "<div style="border: 1px solid #cccccc; width: {{{width|100%}}}; padding: 0; background-color: {{{bodycolor|inherit}}};"> <div style="border-bottom: 1px solid #cccccc; padding: ...")
 
Line 1: Line 1:
 
<div style="border: 1px solid #cccccc; width: {{{width|100%}}};  padding: 0; background-color: {{{bodycolor|inherit}}};">
 
<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="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 style="padding: 0.5em;text-align:left;">

Revision as of 13:01, 10 August 2012

{{{1}}}
{{{2}}}

Typical usage: {{textboxwithtitle|TITLE|TEXT GOES HERE}}

produces

TITLE

Additional named parameters and their default values:

  • titlecolor=#ddddff (background color)
  • bodycolor=inherit (background color)
  • width=100%