ઢાંચો:Tmbox/core: આવૃત્તિઓ વચ્ચેનો તફાવત
Content deleted Content added
Happy-melon (ચર્ચા | યોગદાન) નાનું 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 |
<table class="plainlinks tmbox {{#switch:{{{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; }} |
{{#ifeq:{{{small|}}}|yes| float: right; clear: both; margin: 4px 0 4px 1em; width: 238px; font-size: 85%; line-height: 1.25em; }} |
||
{{#switch:{{{type|}}} |
{{#switch:{{{type|}}} |
||
લીટી ૧૫: | લીટી ૨૪: | ||
{{#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: 1px;"></td> |
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td> |
||
| <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;"> |
| <td class="tmbox-image" style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;"> |
||
{{#if:{{{image|}}} |
{{#if:{{{image|}}} |
||
| {{{image}}} |
| {{{image}}} |
||
લીટી ૩૦: | લીટી ૩૯: | ||
}}</td> |
}}</td> |
||
}} |
}} |
||
<td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td> |
<td class="tmbox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td> |
||
{{#if:{{{imageright|}}} |
{{#if:{{{imageright|}}} |
||
| {{#ifeq:{{{imageright|}}}|none |
| {{#ifeq:{{{imageright|}}}|none |
||
| <!-- No image. --> |
| <!-- No image. --> |
||
| <td style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td> |
| <td class="tmbox-imageright" style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td> |
||
}} |
}} |
||
}} |
}} |