ទំព័រគំរូ:Imbox៖ ភាពខុសគ្នារវាងកំណែនានា

ខ្លឹមសារដែលបានលុបចោល ខ្លឹមសារដែលបានសរសេរបន្ថែម
No edit summary
Updating style image as per editrequest
បន្ទាត់ទី១៖
<table class="plainlinks imbox
<table class="metadata plainlinks" style="margin: 4px 10%; border-collapse: collapse; border: 1px solid #aaa; background: #fbfbfb;
{{#switch:{{{type|}}}
| speedy = border: 3px solid #b22222; background: #fee;imbox-speedy
| delete = border: 3px solid #b22222;imbox-delete
| content = border: 3px solid #f28500;imbox-content
| style = border: 3px solid #f4c430;imbox-style
| move = border: 3px solid #9932cc;imbox-move
| protection = border: 3px solid #bba;imbox-protection
| license = border: 3px solid #88a; background: #f7f8ff;imbox-license
| featured = border: 3px solid #cba135;imbox-featured
| notice <!-- notice = default -->
| #default = border: 3px solid #1e90ff;imbox-notice
}}" style="{{{style|}}}">
<tr>
<td style="border: none; padding: 2px 0px 2px 0.5em; text-align: center;">
{{#ifeq:{{{image|}}}|none
| <!-- No image. cell;Cell emptywith cellsome width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
| <divtd styleclass="width:52px;mbox-image">
{{#if:{{{image|}}}
| {{{image}}}
| {{#switch:{{{type|}}}
| speedy = [[Image:Imbox speedy deletion.png|40x40px|alt=|link=]]
| delete = [[Image:Imbox deletion.png|40x40px|alt=|link=]]
| content = [[Image:Imbox content.png|40x40px|alt=|link=]]
| style = [[Image:Imbox styleEdit-clear.pngsvg|40x40px|link=|alt=]]
| move = [[Image:Imbox move.png|40x40px|alt=|link=]]
| protection = [[Image:Imbox protection.png|40x40px|alt=|link=]]
| license = [[Image:Imbox license.png|40x40px|alt=|link=]]
| featured = [[Image:Imbox featured.png|40x40px]]
| notice <!-- notice = default -->
| #default = [[Image:Information2Imbox notice.svgpng|40x40px|alt=|link=]]
}}
}}</divtd>
}}</td>
<td styleclass="border: none; padding: 0.25em 0.5em; width: 100%;mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td styleclass="border: none; padding: 2px 0.8em 2px 0px; textmbox-align: center;imageright"> {{{imageright}}} </td>
}}
</tr>
{{#if:{{{below|}}}
</table>
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr>
}}
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| speedy
| delete
| content
| style
| move
| protection
| license
| featured
| notice = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<!--
 
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:File message boxes]]}}}}</includeonly><!--
 
--><noinclude>
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>