"ഫലകം:Tmbox/core" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
Content deleted Content added
പുതിയ താള്: {{#ifeq:{{{small|}}}|yes | {{tmbox/core | small = yes | type = {{{type|}}} | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }} | imagerigh... |
imported>Happy-melon add the tmbox-small class |
||
വരി 1:
<table class="plainlinks tmbox {{#ifeq:{{{small
|
| delete = tmbox-delete
| content
| move = tmbox-move
| protection = tmbox-protection
▲ | style = {{{style|}}}
| 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; }}
| 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;
<tr>
| <!-- 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:{{#switch:{{{type|}}}
| speedy = Imbox speedy deletion.png
| delete = Imbox deletion.png
| content = Imbox content.png
| style = Imbox style.png
| move = Imbox move.png
| protection = Imbox protection.png
| notice <!-- notice = default -->
| #default = Imbox notice.png
}} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
}}</td>
}}
<td class="tmbox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. -->
| <td class="tmbox-imageright" style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td>
}}
}}
</tr>
▲ | type = {{{type|}}}
▲ | image = {{{image|}}}
▲ | imageright = {{{imageright|}}}
▲ | style = {{{style|}}}
▲ | text = {{{text}}}
▲ }}
▲}}<noinclude>
{{pp-template|small=yes}}
|