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

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
Content deleted Content added
Changed to no border for the "protection" type. More in line with current discussion on Template talk:Tmbox/styles. (But this is still just a demo, we do not have a final consensus.)
imported>Happy-melon
copy from /test3
വരി 1: വരി 1:
{{#ifeq:{{{small|}}}|yes
<table class="plainlinks" style="margin: 4px 10%; border-collapse: collapse; background: #f8eaba; border: 1px solid #c0c090;
| {{tmbox/core
{{#switch:{{{type|}}}
| small = yes
| speedy = border: 2px solid #b22222; background: #fee;
| type = {{{type|}}}
| delete = border: 2px solid #b22222;
| image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
| content = border: 2px solid #f28500;
| imageright =
| style = border: 2px solid #f4c430;
{{#ifeq:{{{smallimageright|}}}|none
| move = border: 2px solid #9932cc;
| protection <!-- protection = notice = default -->
| <!-- Don't show any right image -->
| {{#if:{{{smallimageright|}}}
| notice
| {{{smallimageright}}}
| #default = border: 1px solid #c0c090;
}} {{{style|}}}">
| {{{imageright|}}}
}}
<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 style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
{{#if:{{{image|}}}
| {{{image}}}
| {{#switch:{{{type|}}}
| speedy = [[Image:Imbox speedy deletion.png|40x40px]]
| delete = [[Image:Imbox deletion.png|40x40px]]
| content = [[Image:Imbox content.png|40x40px]]
| style = [[Image:Imbox style.png|40x40px]]
| move = [[Image:Imbox move.png|40x40px]]
| protection = [[Image:Imbox protection.png|40x40px]]
| notice <!-- notice = default -->
| #default = [[Image:Imbox notice.png|40x40px]]
}}
}}
| style = {{{style|}}}
}}</td>
| textstyle = {{{textstyle|}}}
| text = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
}}
| {{tmbox/core
| type = {{{type|}}}
| image = {{{image|}}}
| imageright = {{{imageright|}}}
| style = {{{style|}}}
| textstyle = {{{textstyle|}}}
| text = {{{text}}}
}}
}}
}}
<td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td>
}}
</tr>
</table><noinclude>

{{pp-template|small=yes}}
{{Documentation}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>

13:32, 10 ഓഗസ്റ്റ് 2008-നു നിലവിലുണ്ടായിരുന്ന രൂപം

"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Tmbox&oldid=612865" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്