Template

Difference between revisions of "TextBoxIcon1"

 
(100 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: left;" >[[Image:Video-icon.png‎]]</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>{{textbox|TITLE|TEXT GOES HERE}}</nowiki>
+
Typical usage: <nowiki>{{TextBoxIcon1 | Text }}</nowiki>
  
 
produces
 
produces
  
{{textbox|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=50%
 
 
 
See the [[Template_talk:Textbox|talk page]] for further details and examples.
 
  
 
[[Category:Template]]
 
[[Category:Template]]
 
 
 
 
 
 
 
 
 
 
<div class="centre">
 
<div style="background-color: #f0ffff; margin: 0 10px 2px 10px; padding: 0 10px 0 10px; border: 1px dotted #e16060; min-height: 45px;">
 
<div style="float: left;" >[[Image:Video-icon.png‎]]</div><div style="margin-left: 100px;">{{{1}}}</div>
 
</div>
 
</div>
 
 
Syntax: <nowiki>{{TextBoxIcon1|TEXT}}</nowiki>
 
 
==See also==
 
* [[Template:Warning]]
 
[[Category:Formatting Template]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 13:44, 21 November 2012

Star Empty.png

Typical usage: {{TextBoxIcon1 | Text }}

produces

Star Empty.png