Template

Difference between revisions of "TextBoxWithTitle"

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="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|#FF5721}}};">'''{{{title|{{{1}}}}}}'''</div>
  
 
<div style="padding: 0.5em;text-align:left;">
 
<div style="padding: 0.5em;text-align:left;">

Revision as of 00:37, 11 August 2012

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

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

produces

TITLE
TEXT GOES HERE

Additional named parameters and their default values:

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