Difference between revisions of "Template:Mbox/testcases"
Jump to navigation
Jump to search
imported>Davidgothberg (Adding {{template test cases notice}}, and updating the text about the mbox borders since we have fixed that since then.) |
imported>Davidgothberg (Testing the small parameters.) |
||
| Line 27: | Line 27: | ||
{{ombox|text=ombox}} | {{ombox|text=ombox}} | ||
|} | |} | ||
| + | |||
| + | |||
| + | <pre> | ||
| + | {{mbox | ||
| + | | small = yes | ||
| + | }} | ||
| + | </pre> | ||
| + | {{mbox | ||
| + | | small = yes | ||
| + | }} | ||
| + | {{clear}} | ||
| + | |||
| + | |||
| + | <pre> | ||
| + | {{mbox | ||
| + | | small = left | ||
| + | | demospace = main | ||
| + | }} | ||
| + | </pre> | ||
| + | {{mbox | ||
| + | | small = left | ||
| + | | demospace = main | ||
| + | }} | ||
Revision as of 02:18, 16 March 2009
| 42px | This is the template test cases page for the sandbox of Template:Mbox. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Testing {{mbox}}
A normal wikitable:
|
A wikitable with 'class="wikitable"' used to break the mbox borders, but we have fixed that since then. (That is, we fixed the wikitable class, since it broke all kinds of boxes.):
|
{{mbox
| small = yes
}}
| 30x30px |
{{mbox
| small = left
| demospace = main
}}
| 20x20px |