Template:Cmbox: Difference between revisions
| No edit summary |  (Created page with '<table class="plainlinks cmbox  {{#switch:{{{type|}}} | speedy     = cmbox-speedy | delete     = cmbox-delete | content    = cmbox-content | style      = cmbox-style | move      …') | ||
| (10 intermediate revisions by 3 users not shown) | |||
| Line 9: | Line 9: | ||
| | notice          <!-- notice = default --> | | notice          <!-- notice = default --> | ||
| | #default   = cmbox-notice | | #default   = cmbox-notice | ||
| }}" style=" | }}" style="{{{style|}}}"> | ||
| <tr> | <tr> | ||
| {{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td> | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td> | ||
| | <td class="mbox-image | | <td class="mbox-image"> | ||
|    {{#if:{{{image|}}} |    {{#if:{{{image|}}} | ||
|    | {{{image}}} |    | {{{image}}} | ||
|    | [[File:{{#switch:{{{type|}}} |    | [[File:{{#switch:{{{type|}}} | ||
|      | speedy     =  |      | speedy     = Cmbox deletion.png | ||
|      | delete     =  |      | delete     = Cmbox deletion.png | ||
|      | content    =  |      | content    = Cmbox content.png | ||
|      | style      =  |      | style      = Edit-clear.svg | ||
|      | move       =  |      | move       = Cmbox move.png | ||
|      | protection =  |      | protection = Cmbox protection.png | ||
|      | notice          <!-- notice = default --> |      | notice          <!-- notice = default --> | ||
|      | #default   = Information icon.png |      | #default   = Information icon.png | ||
| Line 28: | Line 28: | ||
|    }}</td> |    }}</td> | ||
| }} | }} | ||
| <td class="mbox-text" style=" | <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | ||
| {{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| | <td class="mbox-imageright | | <td class="mbox-imageright"> {{{imageright}}} </td> | ||
| }} | }} | ||
| </tr> | </tr> | ||
| Line 47: | Line 47: | ||
| }}<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 05:47, 27 February 2010
|  | {{{text}}} | 
| The above documentation is transcluded from Template:Cmbox/doc. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. | 
 Template documentation
 Template documentation