Template:Ombox: Difference between revisions

    m>Davidgothberg
    (Updating to use the classes in MediaWiki:Common.css. The 30 days CSS caching has passed.)
    m>Happy-melon
    (adding duplicate type names from ambox for mbox functionality)
    Line 2: Line 2:
    {{#switch:{{{type|}}}
    {{#switch:{{{type|}}}
    | speedy    = ombox-speedy
    | speedy    = ombox-speedy
    | delete    = ombox-delete
    | delete    <!-- delete = serious -->
    | serious    = ombox-delete
    | content    = ombox-content
    | content    = ombox-content
    | style      = ombox-style
    | style      = ombox-style
    | move      = ombox-move
    | move      <!-- move = merge -->
    | merge      = ombox-move
    | protection = ombox-protection
    | protection = ombox-protection
    | notice         <!-- notice = default -->
    | notice     <!-- notice = default -->
    | #default  = ombox-notice
    | #default  = ombox-notice
    }}" style="{{{style|}}}">
    }}" style="{{{style|}}}">