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

(ചെ.) 1 പതിപ്പ്
Deploying the "small=left" feature, thus now using {{ambox/core}}. Tested in /sandbox and discussed in many places, see talk page.
വരി 1:
{{#switch:{{{typesmall|}}}
<table class="metadata plainlinks ambox
| left =
{{#switch:{{{type|}}}
| speedy = {{ambox-speedy/core
| small = left
| serious <!-- This value is **deprecated**, please don't use it! -->
| deletetype = ambox-delete{{{type|}}}
| image = {{#if:{{{imagesmallimage|}}}
| content = ambox-content
| {{{smallimage}}}
| style = ambox-style
| {{{image|}}}
| merge <!-- This value is **deprecated**, please don't use it! -->
| move = ambox-move }}
| imageright = {{#if:{{{smallimageright|}}}
| protection = ambox-protection
| {{{smallimageright}}}
| notice <!-- notice = default -->
{{#if: | {{{imageright|}}}
| #default = ambox-notice
}}
}}" style="{{{style|}}}">
| style = ambox-{{{style|}}}
<tr>
| textstyle = {{{textstyle|}}}
{{#ifeq:{{{image|}}}|none
| text = {{#if:{{{smalltext|}}}
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
| {{{smalltext}}}
| <td class="mbox-image"><div style="width: 52px;">
| {{{text}}}
{{#ifeq:{{{image|}}}|blank
}}
| &nbsp;
}}
| {{#if:{{{image|}}}
| #default = ambox-notice
| {{{image}}}
{{ambox/core
| type | {{#switch: = {{{type|}}}
| speedy = [[Image:Ambox speedy deletion.png|40x40px]]
| image = {{{image|}}}
| serious <!-- This value is **deprecated**, please don't use it! -->
| imageright = {{{imageright|}}}
| delete = [[Image:Ambox deletion.png|40x40px]]
}}" | style =" {{{style|}}}">
| content = [[Image:Ambox content.png|40x40px]]
| textstyle = {{{textstyle|}}}
| style = [[Image:Ambox style.png|40x40px]]
| text = {{{text}}}
| merge <!-- This value is **deprecated**, please don't use it! -->
}}
| move = [[Image:Ambox move.png|40x40px]]
| protection = [[Image:Ambox protection.png|40x40px]]
| notice <!-- notice = default -->
| #default = [[Image:Ambox notice.png|40x40px]]
}}
}}
}}</div></td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright"><div style="width: 52px;"> {{{imageright}}} </div></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
| notice = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing. ([[:Category:Ambox templates using deprecated types|learn more]])</div>[[Category:Ambox templates using deprecated types|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>
 
{{pp-template|small=yes}}
{{Documentationdocumentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
"https://ml.wikiquote.org/wiki/ഫലകം:Ambox" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്