Difference between revisions of "Template:BoxIcon"
Jump to navigation
Jump to search
m |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div id="box" style="{{{ostyle|}}}"> | <div id="box" style="{{{ostyle|}}}"> | ||
{{{!}} cellpadding="0" cellspacing="0" style="float:left; height: | {{{!}} cellpadding="0" cellspacing="0" style="float:left; height:22px; width:22px; padding: 2px; background:transparent;" | ||
{{!}} valign="center" align="center" {{!}} [[Image:{{{1|<noinclude>Example.jpg</noinclude>}}}|frameless| | {{!}} valign="center" align="center" {{!}} [[Image:{{{1|<noinclude>Example.jpg</noinclude>}}}|frameless|22px]] | ||
{{!}}} | {{!}}} | ||
<h2>{{{2|<noinclude>Title</noinclude>}}}</h2> | <h2>{{{2|<noinclude>Title</noinclude>}}}</h2> | ||
Line 8: | Line 8: | ||
</div></div> | </div></div> | ||
<noinclude> | <noinclude> | ||
{{BoxIcon|Warning_Sign. | {{BoxIcon|Warning_Sign.png|How-To|To create a box with this script simply type the following as a base template: | ||
<br> | <br> | ||
<nowiki>{{BoxIcon|Example.jpg|Title|Contents}}</nowiki>}} | <nowiki>{{BoxIcon|Example.jpg|Title|Contents}}</nowiki>}} | ||
</noinclude> | </noinclude> |