Template:Ombox/core: Difference between revisions

insert CSS in absence of entries in MediaWiki:Common.css
mNo edit summary
(insert CSS in absence of entries in MediaWiki:Common.css)
Line 1: Line 1:
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}  
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}  
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
| speedy    = ombox-speedy
| speedy    = border: 2px solid #b22222; background: #fee;  <!--ombox-speedy-->
| delete    = ombox-delete
| delete    = border: 2px solid #b22222; <!--ombox-delete-->
| content    = ombox-content
| content    = border: 1px solid #f28500; <!--ombox-content-->
| style      = ombox-style
| style      = border: 1px solid #f4c430; <!--ombox-style-->
| move      = ombox-move
| move      = border: 1px solid #9932cc; <!--ombox-move-->
| protection = ombox-protection
| protection = border: 2px solid #bba; <!--ombox-protection-->
| notice          <!-- notice = default -->
| notice          <!-- notice = default -->
| #default  = ombox-notice
| #default  = border: 1px solid #aaa; <!--ombox-notice-->
}}" style="{{{style|}}}">
}}" style="{{{style|}}}">
<tr>
<tr>
Line 24: Line 24:
     | protection = Imbox protection.png
     | protection = Imbox protection.png
     | notice          <!-- notice = default -->
     | notice          <!-- notice = default -->
     | #default  = Imbox notice.png
     | #default  = Information icon.png
     }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
     }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
   }}</td>
   }}</td>
90,866

edits