Template

Difference between revisions of "TextBox"

(Created page with "<div style="border: 1px solid #cccccc; width: {{{width|100%}}}; padding: 0; background-color: {{{bodycolor|inherit}}};"> <div style="text-align:center; border-bottom: 1px solid...")
 
 
(3 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: 0em;">
  
<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: {{{backColor | #bf6730}}};
 +
text-align: {{{textAlign | center}}};
 +
text-indent: {{{textIndent | 0.0em}}};
 +
line-height: {{{lineHeight | 1.2em}}};  
 +
font-size: {{{fontSize | 2.1em}}};  
 +
font-weight: 300;
 +
letter-spacing: 0.0em;
 +
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
 +
padding: 0.25em;
 +
padding-top: {{{textPaddingTop | 0.2em}}};
 +
padding-bottom: {{{textPaddingBottom | 0.3em}}};
 +
">{{{1}}}</div></div><noinclude>
  
</div><noinclude>
+
Typical usage: <nowiki>{{TextBox | Text }}</nowiki>
 
 
Typical usage: <nowiki>{{TextBox | TEXT GOES HERE}}</nowiki>
 
  
 
produces
 
produces
  
{{TextBox | TEXT GOES HERE}}
+
{{TextBox | asdf asd fasdf asd fa sdf asd fa sdf asd fa sdf as df asd fas dfas df }}
 
 
Additional named parameters and their default values:
 
* titlecolor=#ddddff (background color)
 
* width=100%
 
  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:04, 21 November 2012

Typical usage: {{TextBox | Text }}

produces