Template:Side box: Difference between revisions
From Vigyanwiki
Template>Happy-melon m (Protected Template:Side box: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
Template>Happy-melon (allow image=none) |
||
Line 1: | Line 1: | ||
<table class="metadata plainlinks ombox-small" style="{{#ifeq:{{lc:{{{position|}}}}}|left|clear:left; float:left; margin:4px 1em 4px 0;}} border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}"> | <table class="metadata plainlinks ombox-small" style="{{#ifeq:{{lc:{{{position|}}}}}|left|clear:left; float:left; margin:4px 1em 4px 0;}} border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}"> | ||
<tr> | <tr> | ||
{{# | {{#switch:{{{image|}}} | ||
|<!--BLANK-->|none={{td}} | |||
|<td class="mbox-image">{{{image}}}</td> | |<td class="mbox-image">{{{image}}}</td> | ||
}} | }} | ||
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> |