Difference between revisions of "Template:Cmbox/test1"

From blackwiki
Jump to navigation Jump to search
imported>Davidgothberg
(Testing error reporting.)
imported>Davidgothberg
(Remarking away error reporting test examples.)
Line 40: Line 40:
 
| content
 
| content
 
| style
 
| style
| notice
 
 
| 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


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.

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

Special

Some other parameter combinations.

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.

Testing error reporting