Template

Difference between revisions of "TextBoxWithTitle"

 
(62 intermediate revisions by the same user not shown)
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;  
 +
">
  
<div style="text-align:center;border-bottom: 1px solid #cccccc; padding: 0.5em; background-color: {{{titlecolor|#ddddff}}};">'''{{{title|{{{1}}}}}}'''</div>
+
<div class="plainlinks" style="
 +
background-color: {{{titleBackColor | #bf6730}}};
 +
text-align: {{{titleAlign | center}}};
 +
line-height: {{{titleLineHeight | 1.0em}}};  
 +
font-size: {{{titleFontSize | 2.1em}}};  
 +
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;
 +
border-bottom: 1px solid #cccccc;
 +
">{{{1}}}</div>
  
<div style="padding: 0.5em;text-align:left;">
+
<div class="plainlinks" style="
{{{body|{{{2}}}}}}</div></div><noinclude>
+
background-color: {{{textBackColor | white}}};
 +
text-align: left;  
 +
line-height: {{{textLineHeight | 1.0em}}};
 +
font-size: {{{textFontSize | 1.2em}}};
 +
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;
 +
">{{{2}}}</div></div>
  
Typical usage: <nowiki>{{textboxwithtitle|TITLE|TEXT GOES HERE}}</nowiki>
+
<noinclude>
 +
 
 +
Typical usage: <nowiki>{{TextBoxWithTitle | TITLE | TEXT GOES HERE}}</nowiki>
  
 
produces
 
produces
  
{{textbox|TITLE|TEXT GOES HERE}}
+
{{TextBoxWithTitle |TITLE | TEXT GOES HERE}}
 
 
Additional named parameters and their default values:
 
* titlecolor=#ddddff (background color)
 
* bodycolor=inherit (background color)
 
* width=100%
 
  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:45, 21 November 2012


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

produces