Difference between revisions of "Template:Tmbox/core"

From Recidemia English
Jump to: navigation, search
m (Protected "Template:Tmbox/core": High-impact page ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
m (1 revision: 3)
Line 1: Line 1:
 
<table class="plainlinks tmbox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}}
 
<table class="plainlinks tmbox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}}
 
| speedy    = tmbox-speedy
 
| speedy    = tmbox-speedy
| warning <!-- deprecated -->
 
| serious <!-- deprecated -->
 
 
| delete    = tmbox-delete
 
| delete    = tmbox-delete
 
| content    = tmbox-content
 
| content    = tmbox-content
Line 17: Line 15:
 
   {{#if:{{{image|}}}
 
   {{#if:{{{image|}}}
 
   | {{{image}}}
 
   | {{{image}}}
   | [[File:{{#switch:{{{type|}}}
+
   | [[Image:{{#switch:{{{type|}}}
     | speedy    = Ambox warning pn.svg
+
     | speedy    = Imbox speedy deletion.png
    | warning <!-- deprecated -->
+
     | delete    = Imbox deletion.png
    | serious <!-- deprecated -->
+
     | content    = Imbox content.png
     | delete    = Ambox warning pn.svg
 
     | content    = Ambox Content.svg
 
 
     | style      = Edit-clear.svg  
 
     | style      = Edit-clear.svg  
     | move      = Merge-split-transwiki default.svg
+
     | move      = Imbox move.png
     | protection = Padlock-silver-medium.svg
+
     | protection = Imbox protection.png
 
     | notice          <!-- notice = default -->
 
     | notice          <!-- notice = default -->
     | #default  = Information icon4.svg
+
     | #default  = Imbox notice.png
 
     }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}}|link=|alt=]]
 
     }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}}|link=|alt=]]
 
   }}</td>
 
   }}</td>
Line 44: Line 40:
 
| speedy
 
| speedy
 
| delete
 
| delete
| warning <!-- deprecated -->
 
| serious <!-- deprecated -->
 
 
| content
 
| content
 
| style
 
| style
Line 51: Line 45:
 
| 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 18:46, 20 March 2012

[create] Documentation icon Template documentation