Difference between revisions of "Template:Mbox/testcases"
imported>Danski454 (add unset demospace) |
imported>Andrybak (→demospace=main: +2) |
||
| Line 34: | Line 34: | ||
{{clear}} | {{clear}} | ||
| + | |||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title={{para|smalltext}} & {{para|small|left}}|demospace=main|text=some text|smalltext=some small text|small=left}} | ||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title={{para|smalltext}} & {{para|small|yes}}|demospace=main|text=some text|smalltext=some small text|small=yes}} | ||
== demospace=talk == | == demospace=talk == | ||
Revision as of 12:23, 17 April 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=main
Main
{{mbox|demospace=main|text=some text}}
some text |
Sandbox
{{mbox/sandbox|demospace=main|text=some text}}
some text |
|smalltext= & |small=left | ||||
|---|---|---|---|---|
{{Mbox|demospace=main|small=left|smalltext=some small text|text=some text}}
{{Mbox}}
{{Mbox/sandbox}}
|
|smalltext= & |small=yes | ||||
|---|---|---|---|---|
{{Mbox|demospace=main|small=yes|smalltext=some small text|text=some text}}
{{Mbox}}
{{Mbox/sandbox}}
|
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 |