Difference between revisions of "Template:Mbox/testcases"
imported>Mr. Stradivarius (make new tests using the demospace parameter) |
imported>QEDK (→demospace=main: rmv edit request bit) |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{template test cases notice}} | {{template test cases notice}} | ||
| − | == demospace | + | == demospace not set == |
| − | + | <code><nowiki>{{mbox|text=some text}}</nowiki></code> | |
| − | + | {{mbox|text=some text}} | |
| − | |||
| − | |||
{{clear}} | {{clear}} | ||
| − | + | '''Sandbox''' | |
| − | <code><nowiki>{{mbox/sandbox | + | <code><nowiki>{{mbox/sandbox|text=some text}}</nowiki></code> |
| − | {{mbox/sandbox | + | {{mbox/sandbox|text=some text}} |
{{clear}} | {{clear}} | ||
| Line 21: | Line 19: | ||
== demospace=talk == | == demospace=talk == | ||
| − | + | '''Main''' | |
<code><nowiki>{{mbox|demospace=talk|text=some text}}</nowiki></code> | <code><nowiki>{{mbox|demospace=talk|text=some text}}</nowiki></code> | ||
| Line 29: | Line 27: | ||
{{clear}} | {{clear}} | ||
| − | + | '''Sandbox''' | |
<code><nowiki>{{mbox/sandbox|demospace=talk|text=some text}}</nowiki></code> | <code><nowiki>{{mbox/sandbox|demospace=talk|text=some text}}</nowiki></code> | ||
| Line 39: | Line 37: | ||
== demospace=wikipedia == | == demospace=wikipedia == | ||
| − | + | '''Main''' | |
<code><nowiki>{{mbox|demospace=wikipedia|text=some text}}</nowiki></code> | <code><nowiki>{{mbox|demospace=wikipedia|text=some text}}</nowiki></code> | ||
| Line 47: | Line 45: | ||
{{clear}} | {{clear}} | ||
| − | + | '''Sandbox''' | |
<code><nowiki>{{mbox/sandbox|demospace=wikipedia|text=some text}}</nowiki></code> | <code><nowiki>{{mbox/sandbox|demospace=wikipedia|text=some text}}</nowiki></code> | ||
| Line 57: | Line 55: | ||
== demospace=file == | == demospace=file == | ||
| − | + | '''Main''' | |
<code><nowiki>{{mbox|demospace=file|text=some text}}</nowiki></code> | <code><nowiki>{{mbox|demospace=file|text=some text}}</nowiki></code> | ||
| Line 65: | Line 63: | ||
{{clear}} | {{clear}} | ||
| − | + | '''Sandbox''' | |
<code><nowiki>{{mbox/sandbox|demospace=file|text=some text}}</nowiki></code> | <code><nowiki>{{mbox/sandbox|demospace=file|text=some text}}</nowiki></code> | ||
| Line 75: | Line 73: | ||
== demospace=category == | == demospace=category == | ||
| − | + | '''Main''' | |
<code><nowiki>{{mbox|demospace=category|text=some text}}</nowiki></code> | <code><nowiki>{{mbox|demospace=category|text=some text}}</nowiki></code> | ||
| Line 83: | Line 81: | ||
{{clear}} | {{clear}} | ||
| − | + | '''Sandbox''' | |
<code><nowiki>{{mbox/sandbox|demospace=category|text=some text}}</nowiki></code> | <code><nowiki>{{mbox/sandbox|demospace=category|text=some text}}</nowiki></code> | ||
| Line 93: | Line 91: | ||
== demospace=template == | == demospace=template == | ||
| − | + | '''Main''' | |
<code><nowiki>{{mbox|demospace=template|text=some text}}</nowiki></code> | <code><nowiki>{{mbox|demospace=template|text=some text}}</nowiki></code> | ||
| Line 101: | Line 99: | ||
{{clear}} | {{clear}} | ||
| − | + | '''Sandbox''' | |
<code><nowiki>{{mbox/sandbox|demospace=template|text=some text}}</nowiki></code> | <code><nowiki>{{mbox/sandbox|demospace=template|text=some text}}</nowiki></code> | ||
| Line 111: | Line 109: | ||
== demospace=wikipedia talk == | == demospace=wikipedia talk == | ||
| − | + | '''Main''' | |
<code><nowiki>{{mbox|demospace=wikipedia talk|text=some text}}</nowiki></code> | <code><nowiki>{{mbox|demospace=wikipedia talk|text=some text}}</nowiki></code> | ||
| Line 119: | Line 117: | ||
{{clear}} | {{clear}} | ||
| − | + | '''Sandbox''' | |
<code><nowiki>{{mbox/sandbox|demospace=wikipedia talk|text=some text}}</nowiki></code> | <code><nowiki>{{mbox/sandbox|demospace=wikipedia talk|text=some text}}</nowiki></code> | ||
| Line 129: | Line 127: | ||
== demospace=portal == | == demospace=portal == | ||
| − | + | '''Main''' | |
<code><nowiki>{{mbox|demospace=portal|text=some text}}</nowiki></code> | <code><nowiki>{{mbox|demospace=portal|text=some text}}</nowiki></code> | ||
| Line 137: | Line 135: | ||
{{clear}} | {{clear}} | ||
| − | + | '''Sandbox''' | |
<code><nowiki>{{mbox/sandbox|demospace=portal|text=some text}}</nowiki></code> | <code><nowiki>{{mbox/sandbox|demospace=portal|text=some text}}</nowiki></code> | ||
| Line 147: | Line 145: | ||
== demospace=foo == | == demospace=foo == | ||
| − | + | '''Main''' | |
<code><nowiki>{{mbox|demospace=foo|text=some text}}</nowiki></code> | <code><nowiki>{{mbox|demospace=foo|text=some text}}</nowiki></code> | ||
| Line 155: | Line 153: | ||
{{clear}} | {{clear}} | ||
| − | + | '''Sandbox''' | |
<code><nowiki>{{mbox/sandbox|demospace=foo|text=some text}}</nowiki></code> | <code><nowiki>{{mbox/sandbox|demospace=foo|text=some text}}</nowiki></code> | ||
Latest revision as of 16:10, 15 May 2020
| 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 not set
{{mbox|text=some text}}
| 40x40px | some text |
Sandbox
{{mbox/sandbox|text=some text}}
| 40x40px | 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 |