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="font-weight: 300; letter-spacing: 0.0em; font-size: {{{titleFontSize | 2.0em}}}; font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; line-height: {{{titleLineHeight | 1.0em}}}; text-align: center; border-bottom: 1px solid #cccccc; padding: 0.5em; background-color: {{{titlecolor|#FF5721}}};">'''{{{title|{{{1}}}}}}'''</div>
 
  
<div class="plainlinks" style="text-align: left; font-weight: 300; letter-spacing: 0.1em; font-size: {{{textFontSize | 1.4em}}}; font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; padding: 0.5em;text-align:left;"> {{{body|{{{2}}}}}} </div></div>
+
<div class="plainlinks" style="
 +
background-color: {{{titlecolor|#FF5721}}};
 +
text-align: center;
 +
font-size: {{{titleFontSize | 2.0em}}};  
 +
font-weight: 300;  
 +
letter-spacing: 0.0em;
 +
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
 +
line-height: {{{titleLineHeight | 1.0em}}};
 +
padding: 0.5em;
 +
border-bottom: 1px solid #cccccc;
 +
">'''{{{title|{{{1}}}}}}'''</div>
 +
 
 +
 
 +
<div class="plainlinks" style="
 +
text-align: left;  
 +
font-size: {{{textFontSize | 1.4em}}};  
 +
font-weight: 300;
 +
letter-spacing: 0.1em;
 +
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;  
 +
padding: 0.5em;
 +
"> {{{body|{{{2}}}}}} </div></div>
 +
 
 
<noinclude>
 
<noinclude>
  

Revision as of 16:09, 11 August 2012




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

produces