Jump to navigation
Jump to search
m (right place in templates) |
(adding usage) |
||
Line 3: | Line 3: | ||
<div style="margin-left:55px;text-align:{{{align|center}}}">{{{description}}}</div></div></div><noinclude> | <div style="margin-left:55px;text-align:{{{align|center}}}">{{{description}}}</div></div></div><noinclude> | ||
Template that displays a description along with an icon | Template that displays a description along with an icon. | ||
<pre>{{iconbox | |||
|icon=imagename.jpg | |||
|description=text description | |||
|float= | |||
|align= | |||
}}</pre> | |||
*''icon'': An image for use as an icon. Displays at 50px width. | |||
*''description'': Your text goes here. | |||
*''float'' (optional): Floats the entire box to the left or right, defaults to right. | |||
*''align'' (optional): Aligns the text: left, right, center, justify. Defaults to center. | |||
[[Category:Templates|I]]</noinclude> | [[Category:Templates|I]]</noinclude> |
Revision as of 21:46, 2 March 2009
[[Image:{{{icon}}}|left|50px]]
{{{description}}}
Template that displays a description along with an icon.
{{iconbox |icon=imagename.jpg |description=text description |float= |align= }}
- icon: An image for use as an icon. Displays at 50px width.
- description: Your text goes here.
- float (optional): Floats the entire box to the left or right, defaults to right.
- align (optional): Aligns the text: left, right, center, justify. Defaults to center.