Template

Difference between revisions of "TextBoxWithTitle"

 
(32 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
width: {{{width|100%}}};   
 
width: {{{width|100%}}};   
 
padding: 0;  
 
padding: 0;  
background-color: {{{bodycolor|inherit}}};">
+
">
 
 
  
 
<div class="plainlinks" style="
 
<div class="plainlinks" style="
background-color: {{{titlecolor|#FF5721}}};
+
background-color: {{{titleBackColor | #bf6730}}};
text-align: center;  
+
text-align: {{{titleAlign | center}}};
font-size: {{{titleFontSize | 2.0em}}};  
+
line-height: {{{titleLineHeight | 1.0em}}};  
 +
font-size: {{{titleFontSize | 2.1em}}};  
 
font-weight: 300;  
 
font-weight: 300;  
letter-spacing: 0.0em;  
+
letter-spacing: 0.1em;  
 
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;  
 
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;  
line-height: {{{titleLineHeight | 1.0em}}};
 
 
padding: 0.5em;  
 
padding: 0.5em;  
 
border-bottom: 1px solid #cccccc;  
 
border-bottom: 1px solid #cccccc;  
">'''{{{title|{{{1}}}}}}'''</div>
+
">{{{1}}}</div>
  
 
<div class="plainlinks" style="
 
<div class="plainlinks" style="
 +
background-color: {{{textBackColor | white}}};
 
text-align: left;  
 
text-align: left;  
font-size: {{{textFontSize | 1.4em}}};  
+
line-height: {{{textLineHeight | 1.0em}}};
 +
font-size: {{{textFontSize | 1.2em}}};  
 
font-weight: 300;  
 
font-weight: 300;  
 
letter-spacing: 0.1em;  
 
letter-spacing: 0.1em;  
 
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;  
 
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;  
 
padding: 0.5em;
 
padding: 0.5em;
"> {{{body|{{{2}}}}}} </div></div>
+
">{{{2}}}</div></div>
  
 
<noinclude>
 
<noinclude>

Latest revision as of 13:45, 21 November 2012


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

produces