Template

Difference between revisions of "TextBoxIcon1"

 
(88 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="float: {{{iconFloat | left}}};" >[[Image:{{{icon | Star_Empty.png}}} ‎| {{{iconSize | 25px}}}|]]</div><div style="text-align:center; border-bottom: 1px solid #cccccc; padding: 0.5em; background-color: {{{titlecolor|#ddddff}}};">'''{{{title|{{{1}}}}}}'''</div>
+
<div style="
 +
padding-top: {{{iconPaddingTop | 0.0em}}};
 +
padding-left: {{{iconPaddingLeft | 0.0em}}};
 +
float: {{{iconFloat | left}}};">
 +
[[Image:{{{icon | Star_Empty.png}}} ‎| {{{iconSize | 25px}}}|]]</div>
  
</div><noinclude>
+
<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>
  
Typical usage: <nowiki>{{TextBoxIcon1 | TITLE | TEXT GOES HERE}}</nowiki>
+
Typical usage: <nowiki>{{TextBoxIcon1 | Text }}</nowiki>
  
 
produces
 
produces
  
{{TextBoxIcon1 | TITLE | TEXT GOES HERE}}
+
{{TextBoxIcon1 | 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)
 
* bodycolor=inherit (background color)
 
* width=?
 
* icon=Star_Empty.png
 
* iconSize=?
 
* iconFloat=?
 
 
 
See the [[Template_talk:Textbox|talk page]] for further details and examples.
 
  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:44, 21 November 2012

Star Empty.png

Typical usage: {{TextBoxIcon1 | Text }}

produces

Star Empty.png