ઢાંચો:Tmbox/core: આવૃત્તિઓ વચ્ચેનો તફાવત

Content deleted Content added
નાનું Reverted edits by Happy-melon (talk) to last version by Davidgothberg
imported>Davidgothberg
Reverted to the best version so far: Version (12:24, 12 August 2008) by Happy-melon. We want to have both classes and hard coded styles, but not the deprecated ambox type names.
લીટી ૧:
<table class="plainlinks" style="margin: 4px 10%; border-collapse: collapse; background:tmbox {{#f8eaba; borderswitch: 1px solid #c0c090;{{{type|}}}
| speedy = tmbox-speedy
| delete = tmbox-delete
| content = tmbox-content
| style = tmbox-style
| move = tmbox-move
| protection = tmbox-protection
| notice <!-- notice = default -->
| #default = tmbox-notice
}}" style="margin: 4px 10%; border-collapse: collapse; background: #f8eaba; border: 1px solid #c0c090;
{{#ifeq:{{{small|}}}|yes| float: right; clear: both; margin: 4px 0 4px 1em; width: 238px; font-size: 85%; line-height: 1.25em; }}
{{#switch:{{{type|}}}
Line ૧૫ ⟶ ૨૪:
{{#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="tmbox-image" style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
{{#if:{{{image|}}}
| {{{image}}}
Line ૩૦ ⟶ ૩૯:
}}</td>
}}
<td class="tmbox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. -->
| <td class="tmbox-imageright" style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td>
}}
}}