Difference between revisions of "Template:Cmbox"

From Recidemia
Jump to: navigation, search
m (pngs to svgs)
 
(Add class parameter)
Line 9: Line 9:
 
| notice          <!-- notice = default -->
 
| notice          <!-- notice = default -->
 
| #default  = cmbox-notice
 
| #default  = cmbox-notice
}}" style="{{{style|}}}">
+
}} {{{class|}}}" style="{{{style|}}}">
 
<tr>
 
<tr>
 
{{#ifeq:{{{image|}}}|none
 
{{#ifeq:{{{image|}}}|none
Line 17: Line 17:
 
   | {{{image}}}
 
   | {{{image}}}
 
   | [[File:{{#switch:{{{type|}}}
 
   | [[File:{{#switch:{{{type|}}}
     | speedy    = Ambox warning pn.svg
+
     | speedy    = Cmbox deletion.png
     | delete    = Ambox warning pn.svg
+
     | delete    = Cmbox deletion.png
     | content    = Ambox Content.svg
+
     | content    = Cmbox content.png
 
     | style      = Edit-clear.svg
 
     | style      = Edit-clear.svg
     | move      = Merge-split-transwiki default.svg
+
     | move      = Cmbox move.png
     | protection = Padlock-silver-medium.svg
+
     | protection = Cmbox protection.png
 
     | notice          <!-- notice = default -->
 
     | notice          <!-- notice = default -->
     | #default  = Information icon4.svg
+
     | #default  = Cmbox notice.png
 
     }}|40x40px|link=|alt=]]
 
     }}|40x40px|link=|alt=]]
 
   }}</td>
 
   }}</td>
Line 44: Line 44:
 
| protection
 
| protection
 
| notice    =    <!-- Do nothing, valid "type" -->
 
| notice    =    <!-- Do nothing, valid "type" -->
| #default  = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>
+
| #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 -->
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 02:31, 30 November 2011

[create] Documentation icon Template documentation