Template:Ombox/core: Difference between revisions

From Know Islam
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 7: Line 7:
| move      = ombox-move
| move      = ombox-move
| protection = ombox-protection
| protection = ombox-protection
| notice         <!-- notice = default -->
| notice     = ombox-notice
| warning    = ombox-warning
| error      = ombox-error
| success    = ombox-success
| #default  = ombox-notice
| #default  = ombox-notice
}} {{{class|}}}" style="{{{style|}}}">
}} {{{class|}}}" style="{{{style|}}}">
Line 23: Line 26:
     | move      = Imbox move.png
     | move      = Imbox move.png
     | protection = Imbox protection.png
     | protection = Imbox protection.png
     | notice         <!-- notice = default -->
     | notice     = Imbox notice.png
    | warning    = Imbox warning.png
    | error      = Imbox error.png
    | success    = Imbox success.png
     | #default  = Imbox notice.png
     | #default  = Imbox notice.png
     }} | {{#ifeq:{{{small|}}}|yes
     }} | {{#ifeq:{{{small|}}}|yes
Line 41: Line 47:
</table><!-- Detect and report usage with faulty "type" parameter:
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|notice}}}
-->{{#switch:{{{type|notice}}}
|  <!-- No type fed, is also valid input -->
| speedy
| speedy
| delete
| delete
Line 48: Line 53:
| move
| move
| protection
| protection
| notice    =    <!-- Do nothing, valid "type" -->
| notice
| #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 -->
| warning
| error
| success     =    <!-- 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:Message box parameter needs fixing|{{FULLPAGENAME}}]]
}}
}}

Latest revision as of 14:59, 21 July 2024