Difference between revisions of "Template:Mbox/testcases"
imported>Rich Farmbrough m (Add code for incorrectly substed templates, or minor tidy up using AWB) |
imported>Mr. Stradivarius (make new tests using the demospace parameter) |
||
| Line 1: | Line 1: | ||
{{template test cases notice}} | {{template test cases notice}} | ||
| − | === | + | == demospace=main == |
| − | + | ;Main | |
| − | + | <code><nowiki>{{mbox|demospace=main|text=some text}}</nowiki></code> | |
| − | |||
| − | {{mbox| | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | {{mbox|demospace=main|text=some text}} | ||
| − | + | {{clear}} | |
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{mbox/sandbox|demospace=main|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox/sandbox|demospace=main|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | == demospace=talk == | ||
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{mbox|demospace=talk|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox|demospace=talk|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{mbox/sandbox|demospace=talk|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox/sandbox|demospace=talk|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | == demospace=wikipedia == | ||
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{mbox|demospace=wikipedia|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox|demospace=wikipedia|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{mbox/sandbox|demospace=wikipedia|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox/sandbox|demospace=wikipedia|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | == demospace=file == | ||
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{mbox|demospace=file|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox|demospace=file|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{mbox/sandbox|demospace=file|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox/sandbox|demospace=file|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | == demospace=category == | ||
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{mbox|demospace=category|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox|demospace=category|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{mbox/sandbox|demospace=category|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox/sandbox|demospace=category|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | == demospace=template == | ||
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{mbox|demospace=template|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox|demospace=template|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{mbox/sandbox|demospace=template|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox/sandbox|demospace=template|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | == demospace=wikipedia talk == | ||
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{mbox|demospace=wikipedia talk|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox|demospace=wikipedia talk|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{mbox/sandbox|demospace=wikipedia talk|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox/sandbox|demospace=wikipedia talk|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | == demospace=portal == | ||
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{mbox|demospace=portal|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox|demospace=portal|text=some text}} | ||
| + | |||
| + | {{clear}} | ||
| − | + | ;Sandbox | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | <code><nowiki>{{mbox/sandbox|demospace=portal|text=some text}}</nowiki></code> | ||
| + | |||
| + | {{mbox/sandbox|demospace=portal|text=some text}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{clear}} | {{clear}} | ||
| + | == demospace=foo == | ||
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{mbox|demospace=foo|text=some text}}</nowiki></code> | ||
| − | < | + | {{mbox|demospace=foo|text=some text}} |
| − | {{mbox | + | |
| − | | | + | {{clear}} |
| − | | | + | |
| − | }} | + | ;Sandbox |
| − | </ | + | |
| − | {{mbox | + | <code><nowiki>{{mbox/sandbox|demospace=foo|text=some text}}</nowiki></code> |
| − | | | + | |
| − | | | + | {{mbox/sandbox|demospace=foo|text=some text}} |
| − | }} | + | |
| + | {{clear}} | ||
Revision as of 03:43, 14 October 2013
| 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: |
Contents
demospace=main
- Main
{{mbox|demospace=main|text=some text}}
some text |
- Sandbox
{{mbox/sandbox|demospace=main|text=some text}}
some text |
demospace=talk
- Main
{{mbox|demospace=talk|text=some text}}
| 40x40px | some text |
- Sandbox
{{mbox/sandbox|demospace=talk|text=some text}}
| 40x40px | some text |
demospace=wikipedia
- Main
{{mbox|demospace=wikipedia|text=some text}}
| 40x40px | some text |
- Sandbox
{{mbox/sandbox|demospace=wikipedia|text=some text}}
| 40x40px | some text |
demospace=file
- Main
{{mbox|demospace=file|text=some text}}
| 40x40px | some text |
- Sandbox
{{mbox/sandbox|demospace=file|text=some text}}
| 40x40px | some text |
demospace=category
- Main
{{mbox|demospace=category|text=some text}}
| 40x40px | some text |
- Sandbox
{{mbox/sandbox|demospace=category|text=some text}}
| 40x40px | some text |
demospace=template
- Main
{{mbox|demospace=template|text=some text}}
| 40x40px | some text |
- Sandbox
{{mbox/sandbox|demospace=template|text=some text}}
| 40x40px | some text |
demospace=wikipedia talk
- Main
{{mbox|demospace=wikipedia talk|text=some text}}
| 40x40px | some text |
- Sandbox
{{mbox/sandbox|demospace=wikipedia talk|text=some text}}
| 40x40px | some text |
demospace=portal
- Main
{{mbox|demospace=portal|text=some text}}
| 40x40px | some text |
- Sandbox
{{mbox/sandbox|demospace=portal|text=some text}}
| 40x40px | some text |
demospace=foo
- Main
{{mbox|demospace=foo|text=some text}}
| 40x40px | some text |
- Sandbox
{{mbox/sandbox|demospace=foo|text=some text}}
| 40x40px | some text |