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

વિકિપીડિયામાંથી
Content deleted Content added
imported>Davidgothberg
Decreasing the empty left image cell from a total of 3px width to 1px width. Can not be 0px since then boxes who are not filled with text don't stay 80% wide.
imported>Davidgothberg
The 31 days CSS caching has passed: Removing the hardcoded styles and using the CSS classes only.
લીટી ૮: લીટી ૮:
| notice <!-- notice = default -->
| notice <!-- notice = default -->
| #default = tmbox-notice
| #default = tmbox-notice
}}" style="{{{style|}}}">
}}" 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|}}}
| speedy = border: 2px solid #b22222; background: #fee;
| delete = border: 2px solid #b22222;
| content = border: 2px solid #f28500;
| style = border: 2px solid #f4c430;
| move = border: 2px solid #9932cc;
| protection <!-- protection = notice = default -->
| notice
| #default = border: 1px solid #c0c090;
}}
{{{style|}}}">
<tr>
<tr>
{{#ifeq:{{{image|}}}|none
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
| <td class="tmbox-image" style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
| <td class="tmbox-image">
{{#if:{{{image|}}}
{{#if:{{{image|}}}
| {{{image}}}
| {{{image}}}
લીટી ૩૪: લીટી ૨૨:
| move = Imbox move.png
| move = Imbox move.png
| protection = Imbox protection.png
| protection = Imbox protection.png
| notice <!-- notice = default -->
| notice <!-- notice = default -->
| #default = Imbox notice.png
| #default = Imbox notice.png
}} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
}} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
}}</td>
}}</td>
}}
}}
<td class="tmbox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
<td class="tmbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. -->
| <!-- No image. -->
| <td class="tmbox-imageright" style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td>
| <td class="tmbox-imageright"> {{{imageright}}} </td>
}}
}}
}}
}}

૨૧:૪૫, ૧૪ સપ્ટેમ્બર ૨૦૦૮ સુધીનાં પુનરાવર્તન