Template

Difference between revisions of "TextBoxIcon1"

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; background-color: {{{bodycolor|inherit}}};">
  
<div style="float: 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="float: {{{float | 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><noinclude>
 
</div><noinclude>

Revision as of 14:40, 10 August 2012

Star Empty.png
{{{1}}}

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

produces

Star Empty.png
TITLE

Additional named parameters and their default values:

  • titlecolor=#ddddff (background color)
  • bodycolor=inherit (background color)
  • width=100%
  • icon=Star_Empty.png
  • iconSize=30px

See the talk page for further details and examples.