Template:Cmbox/sandbox: Difference between revisions
Appearance
Content deleted Content added
Use classes |
Adding back the "default" case since that is more robust if people skin the classes. Moving "plainlinks" up for readability. Remarking away the protection and documentation templates again. |
||
Line 1: | Line 1: | ||
<table class="cmbox |
<table class="plainlinks cmbox |
||
{{#switch:{{{type|}}} |
{{#switch:{{{type|}}} |
||
| speedy = |
| speedy = cmbox-speedy |
||
| delete = |
| delete = cmbox-delete |
||
| content = |
| content = cmbox-content |
||
| style = |
| style = cmbox-style |
||
| move = |
| move = cmbox-move |
||
| protection = |
| protection = cmbox-protection |
||
| notice |
| notice <!-- notice = default --> |
||
| #default = cmbox-notice |
|||
}} |
}}" style="{{{style|}}}"> |
||
<tr> |
<tr> |
||
{{#ifeq:{{{image|}}}|none |
{{#ifeq:{{{image|}}}|none |
||
Line 22: | Line 23: | ||
| move = [[Image:Cmbox move.png|40x40px]] |
| move = [[Image:Cmbox move.png|40x40px]] |
||
| protection = [[Image:Cmbox protection.png|40x40px]] |
| protection = [[Image:Cmbox protection.png|40x40px]] |
||
| notice <!-- notice = default --> |
| notice <!-- notice = default --> |
||
| #default = [[Image:Cmbox notice.png|40x40px]] |
| #default = [[Image:Cmbox notice.png|40x40px]] |
||
}} |
}} |
||
Line 34: | Line 35: | ||
</table><noinclude> |
</table><noinclude> |
||
{{pp-template|small=yes}} |
<!-- {{pp-template|small=yes}} |
||
{{Documentation}} |
{{Documentation}} --> |
||
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> |
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> |
||
</noinclude> |
</noinclude> |