మూస:Imbox: కూర్పుల మధ్య తేడాలు

imported>Davidgothberg
Removed the div, left side images can now be any size without "bigimage". Giving "image=none" better handling. Removed the "metadata" class, since imboxes should be printed. Removed unneded border.
imported>Davidgothberg
Changing to using the imbox CSS classes in MediaWiki:Common.css. Their 30 day caching time has passed. (Tested in /sandbox.)
పంక్తి 1:
<table class="plainlinks" style="margin:imbox 4px 10%; border-collapse: collapse; background: #fbfbfb;
{{#switch:{{{type|}}}
| speedy = border: 3px solid #b22222; background: #fee;imbox-speedy
| delete = border: 3px solid #b22222;imbox-delete
| content = border: 3px solid #f28500;imbox-content
| style = border: 3px solid #f4c430;imbox-style
| move = border: 3px solid #9932cc;imbox-move
| protection = border: 3px solid #bba;imbox-protection
| license = border: 3px solid #88a; background: #f7f8ff;imbox-license
| featured = border: 3px solid #cba135;imbox-featured
| notice <!-- notice = default -->
| #default = border: 3px solid #1e90ff;imbox-notice
}}" style="{{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
| <td class="imbox-image">
| <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
{{#if:{{{image|}}}
| {{{image}}}
పంక్తి 32:
}}</td>
}}
<td class="imbox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td styleclass="border: none; padding: 2px 0.9em 2px 0px; textimbox-align: center;imageright"> {{{imageright}}} </td>
}}
</tr>
{{#if:{{{below|}}}
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="imbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr>
}}
</table><noinclude>
 
"https://te.wikipedia.org/wiki/మూస:Imbox" నుండి వెలికితీశారు