Jump to content

Template:Cmbox/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
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 = cmbox-speedy
| speedy = cmbox-speedy
| delete = cmbox-delete
| delete = cmbox-delete
| content = cmbox-content
| content = cmbox-content
| style = cmbox-style
| style = cmbox-style
| move = cmbox-move
| move = cmbox-move
| protection = cmbox-protection
| protection = cmbox-protection
| notice = cmbox-notice
| notice <!-- notice = default -->
| #default = cmbox-notice
}} plainlinks" style="{{{style|}}}">
}}" 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>

Revision as of 20:43, 16 June 2008