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

No edit summary
Binoyjsdk (Talk) ചെയ്ത 747352 എന്ന തിരുത്തൽ നീക്കം ചെയ്യുന്നു
വരി 1:
<table class="metadata plainlinks" style="margin: -1px 10%; border: 1px solid #aaa; background: cmbox#fbfbfb;
{{#switch:{{{type|}}}
| speedy = margin: 1px 10%; border: 4px solid #b22222; background: #FFDBDB;
| speedy = cmbox-speedy
| delete = cmbox-deletebackground: #FFDBDB;
| content = cmbox-contentbackground: #FFE7CE;
| style = cmbox-stylebackground: #FFF9DB;
| move = cmbox-movebackground: #F1D0FF;
| protection = cmbox-protectionbackground: #EFEFE1;
| notice <!-- notice = default -->
| #default = cmbox-noticebackground: #DFE8FF;
}}" style="{{{style|}}}">
<tr>
<td style="border: none; padding: 2px 0px 2px 0.5em; text-align: center;">
{{#ifeq:{{{image|}}}|none
| <!-- No image cell. CellEmpty with some width or paddingcell necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
| <tddiv classstyle="mbox-imagewidth:52px;">
{{#if:{{{image|}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| speedy = [[Image:Cmbox deletion.png|40x40px]]
| delete = [[Image:Cmbox deletion.png|40x40px]]
| content = [[Image:Cmbox content.png|40x40px]]
| style = Edit-clear[[Image:Cmbox style.svgpng|40x40px]]
| move = [[Image:Cmbox move.png|40x40px]]
| protection = [[Image:Cmbox protection.png|40x40px]]
| notice <!-- notice = default -->
| #default = [[Image:Cmbox notice.png|40x40px]]
}}|40x40px|link=|alt=]]
}}</tddiv>
}}</td>
<td class="mbox-text" style="border: none; padding: 0.25em 0.5em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td classstyle="mboxborder: none; padding: 2px 0.8em 2px 0px; text-imagerightalign: center;"> {{{imageright}}} </td>
}}
</tr>
</table><!-- noinclude>
Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| speedy
| delete
| content
| style
| move
| protection
| 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 -->
}}<noinclude>
 
{{pp-template|small=yes}}
{{documentationDocumentation}}
<!-- Add categories and interwikisinter-wikis to the /doc subpage, not here! -->
</noinclude>
"https://ml.wikipedia.org/wiki/ഫലകം:Cmbox" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്