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|#FF5721}}};">'''{{{title|{{{1}}}}}}'''</div>
+
<div style="font-size: {{{titleFontSize | 15pt}}}; 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="{{{textFontSize | 12pt}}}; padding: 0.5em;text-align:left;">
 
{{{body|{{{2}}}}}}</div></div><noinclude>
 
{{{body|{{{2}}}}}}</div></div><noinclude>
  

Revision as of 00:40, 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%