Difference between revisions of "Template:Cmbox/test1"
imported>Davidgothberg (Testing error reporting.) |
imported>Davidgothberg (Remarking away error reporting test examples.) |
||
| Line 40: | Line 40: | ||
| content | | content | ||
| style | | style | ||
| − | |||
| move | | move | ||
| − | | protection = <!-- Do nothing, valid "type" --> | + | | protection |
| + | | notice = <!-- Do nothing, valid "type" --> | ||
| #default = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> | | #default = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> | ||
}}<noinclude> | }}<noinclude> | ||
| Line 143: | Line 143: | ||
=== Testing error reporting === | === Testing error reporting === | ||
| + | <!-- | ||
<pre> | <pre> | ||
{{cmbox/test1 | {{cmbox/test1 | ||
| Line 151: | Line 152: | ||
| type = fun | | type = fun | ||
}} | }} | ||
| − | + | --> | |
</noinclude> | </noinclude> | ||
Revision as of 00:54, 2 October 2008
| {{{text}}} |
David's sandbox for {{cmbox}}
Here David Göthberg is testing and showing new code versions. Please do not edit this page. If you want to experiment do so in {{cmbox/sandbox}} or create your own subpage under {{cmbox}} or in your own user space.
The box above is template code on this page, the boxes below are transclusions of this page and show how that code renders when the box is stacked. If you anyway have updated the code above then you have to Script error: No such module "Purge". to see the effect on the examples below.
| delete |
| speedy |
| speedy |
| delete |
| content, lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text | 40x40px |
| style, lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text | 40x40px |
| notice, lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text | 80px |
| move |
| protection |
Some text just to test bottom margin.
The image to the right tests how the horizontal line under the heading below interacts with the image. Since User:Wknight94 reported a problem with that and the ambox/cmbox CSS code.
More tests
| No type and image=none |
Special
Some other parameter combinations.
| No type and no image given (default) |
| No type and image=none – No image is used and the text uses the whole message box area. |
| image = |
| Trying large left side image. - lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text |
| Trying large left and right side image. - lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text | 100px |
Note that cmbox currently does not support images larger than 52px on the left side. That is why two of the examples above look bad.