Template

Difference between revisions of "TextBoxWithTitle"

Line 3: Line 3:
 
<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="font-size: {{{titleFontSize | 15pt}}}; text-align:center; border-bottom: 1px solid #cccccc; padding: 0.5em; background-color: {{{titlecolor|#FF5721}}};">'''{{{title|{{{1}}}}}}'''</div>
  
<div style="{{{textFontSize | 12pt}}}; padding: 0.5em;text-align:left;">
+
<div style="font-size: {{{textFontSize | 12pt}}}; padding: 0.5em;text-align:left;">
 
{{{body|{{{2}}}}}}</div></div><noinclude>
 
{{{body|{{{2}}}}}}</div></div><noinclude>
  

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