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}}} ‎| 30px|]]</div><div style="text-align:center; border-bottom: 1px solid #cccccc; padding: 0.5em; background-color: {{{titlecolor|#ddddff}}};">'''{{{title|{{{1}}}}}}'''</div>
+
<div style="float: left;" >[[Image:{{{icon | Star_Empty.png}}} ‎| {{{iconSize | 30px}}}|]]</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>
Line 15: Line 15:
 
* bodycolor=inherit (background color)
 
* bodycolor=inherit (background color)
 
* width=100%
 
* width=100%
* icon=Video-icon.png
+
* icon=Star_Empty.png
 +
* iconSize=30px
  
 
See the [[Template_talk:Textbox|talk page]] for further details and examples.
 
See the [[Template_talk:Textbox|talk page]] for further details and examples.

Revision as of 14:31, 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.