"ഫലകം:Tmbox/core" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

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.
പുതിയ താള്‍: {{#ifeq:{{{small|}}}|yes | {{tmbox/core | small = yes | type = {{{type|}}} | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }} | imagerigh...
വരി 1:
{{#ifeq:{{{imagesmall|}}}|noneyes
<table class="plainlinks tmbox {{#switch:{{{type|}}}
| speedy = {{tmbox-speedy/core
| small = yes
| delete = tmbox-delete
| content | type = tmbox-content{{{type|}}}
| image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
| style = tmbox-style
| imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
| move = tmbox-move
| style = tmbox-{{{style|}}}
| protection = tmbox-protection
| textstyle = {{{textstyle|}}}
| notice <!-- notice = default -->
| text = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
| #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|}}}
| 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>
{{#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}}}
| [[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>
{{#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>
}}
| {{tmbox/core
}}
{{#switch: | type = {{{type|}}}
</tr>
{{#if:| image = {{{image|}}}
</table><noinclude>
{{#if: | imageright = {{{imageright|}}}
| style = {{{style|}}}">
| textstyle = {{{textstyle|}}}
| text = {{{imagetext}}}
}}
</table>}}<noinclude>
 
{{pp-template|small=yes}}
"https://ml.wikipedia.org/wiki/ഫലകം:Tmbox/core" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്