Difference between revisions of "Template:Msgbox"

From WikiCorporates
Jump to navigation Jump to search
Line 1: Line 1:
−
<!--
 
−
Template for messageboxes on Category pages
 
−
See https://en.wikipedia.org/wiki/Template:Cmbox
 
−
and https://en.wikipedia.org/wiki/MediaWiki:Common.css
 
−
  table class="plainlinks cmbox cmbox-notice"
 
−
    cmbox: margin:3px 10%; border-collapse:collapse; border: 1px solid #a2a9b1; background:#dfe8ff;
 
−
    cmbox-protection: background:#efefe1;
 
−
    cmbox-content:    background:#ffe7ce;
 
−
    cmbox-style:      background:#fff9db;
 
−
    cmbox-notice:    background:#d8e8ff;
 
−
  td class="mbox-image": border:none; padding:2px 0 2px 0.9em; text-align:center;
 
−
  td class="mbox-text": border:none; padding:0.25em0.9em; width:100%;
 
−
-->
 
 
{{#switch:{{{type|}}}
 
{{#switch:{{{type|}}}
 
| protection =  
 
| protection =  
Line 17: Line 4:
 
<tr>
 
<tr>
 
<td style="border:none; padding:2px 0 2px 0.9em; text-align:center;">[[File:Padlock-silver-medium.svg|40x40px]]</td>
 
<td style="border:none; padding:2px 0 2px 0.9em; text-align:center;">[[File:Padlock-silver-medium.svg|40x40px]]</td>
−
<td style="border:none; padding:0.25em 0.9em; width:100%;">This template is currently protected from editing. {{{text}}}</td>
+
<td style="border:none; padding:0.25em 0.9em; width:100%;">{{{text}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
−
| content = <!-- Major warnings eg. "PoV" and "Categorization of people disputed" -->
+
| content =
 
<table role="presentation" style="margin:3px 10%; border-collapse:collapse; border:1px solid #a2a9b1; background:#ffe7ce;">
 
<table role="presentation" style="margin:3px 10%; border-collapse:collapse; border:1px solid #a2a9b1; background:#ffe7ce;">
 
<tr>
 
<tr>
 
<td style="border:none; padding:2px 0 2px 0.9em; text-align:center;">[[File:Ambox_important.svg|40x40px]]</td>
 
<td style="border:none; padding:2px 0 2px 0.9em; text-align:center;">[[File:Ambox_important.svg|40x40px]]</td>
−
<td style="border:none; padding:0.25em 0.9em; width:100%;">Major warnings and problems: {{{text}}}</td>
+
<td style="border:none; padding:0.25em 0.9em; width:100%;">{{{text}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
−
| style = <!-- Minor warnings and problems such as "Underpopulated category"" -->
+
| style =
 
<table role="presentation" style="margin:3px 10%; border-collapse:collapse; border:1px solid #a2a9b1; background:#fff9db;">
 
<table role="presentation" style="margin:3px 10%; border-collapse:collapse; border:1px solid #a2a9b1; background:#fff9db;">
 
<tr>
 
<tr>
 
<td style="border:none; padding:2px 0 2px 0.9em; text-align:center;">[[File:Edit-clear.svg|40x40px]]</td>
 
<td style="border:none; padding:2px 0 2px 0.9em; text-align:center;">[[File:Edit-clear.svg|40x40px]]</td>
−
<td style="border:none; padding:0.25em 0.9em; width:100%;">Minor warnings, eg. "Underpopulated category": {{{text}}}</td>
+
<td style="border:none; padding:0.25em 0.9em; width:100%;">{{{text}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
−
| #default = <!-- Notices and messages of any kind, both permanent and temporary -->
+
| #default =
 
<table role="presentation" style="margin:3px 10%; border-collapse:collapse; border:1px solid #a2a9b1; background:#d8e8ff;">
 
<table role="presentation" style="margin:3px 10%; border-collapse:collapse; border:1px solid #a2a9b1; background:#d8e8ff;">
 
<tr>
 
<tr>

Revision as of 22:34, 9 February 2018