Template

Difference between revisions of "TextBox"

 
Line 2: Line 2:
 
border: 1px solid #cccccc;  
 
border: 1px solid #cccccc;  
 
width: {{{width|100%}}};   
 
width: {{{width|100%}}};   
padding: 0;  
+
padding: 0em;">
">
 
  
 
<div class="plainlinks" style="
 
<div class="plainlinks" style="
background-color: {{{titleBackColor | #bf6730}}};
+
background-color: {{{backColor | #bf6730}}};
text-align: {{{titleAlign | center}}};
+
text-align: {{{textAlign | center}}};
line-height: {{{titleLineHeight | 1.0em}}};  
+
text-indent: {{{textIndent | 0.0em}}};
font-size: {{{titleFontSize | 2.1em}}};  
+
line-height: {{{lineHeight | 1.2em}}};  
 +
font-size: {{{fontSize | 2.1em}}};  
 
font-weight: 300;  
 
font-weight: 300;  
letter-spacing: 0.1em;  
+
letter-spacing: 0.0em;  
 
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.25em;  
border-bottom: 1px solid #cccccc;  
+
padding-top: {{{textPaddingTop | 0.2em}}};
">{{{1}}}</div>
+
padding-bottom: {{{textPaddingBottom | 0.3em}}};
 +
">{{{1}}}</div></div><noinclude>
  
<noinclude>
+
Typical usage: <nowiki>{{TextBox | Text }}</nowiki>
 
 
Typical usage: <nowiki>{{TextBox | TITLE }}</nowiki>
 
  
 
produces
 
produces
  
{{TextBox |TITLE }}
+
{{TextBox | asdf asd fasdf asd fa sdf asd fa sdf asd fa sdf as df asd fas dfas df }}
asdfasdf
 
  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:04, 21 November 2012

Typical usage: {{TextBox | Text }}

produces