This is the template test cases page for the sandbox of Template:Mbox. 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: |
demospace not set
{{mbox|text=some text}}
some text |
Sandbox
{{mbox/sandbox|text=some text}}
some text |
demospace=talk
Main
{{mbox|demospace=talk|text=some text}}
some text |
Sandbox
{{mbox/sandbox|demospace=talk|text=some text}}
some text |
demospace=wikipedia
Main
{{mbox|demospace=wikipedia|text=some text}}
some text |
Sandbox
{{mbox/sandbox|demospace=wikipedia|text=some text}}
some text |
demospace=file
Main
{{mbox|demospace=file|text=some text}}
some text |
Sandbox
{{mbox/sandbox|demospace=file|text=some text}}
some text |
demospace=category
Main
{{mbox|demospace=category|text=some text}}
some text |
Sandbox
{{mbox/sandbox|demospace=category|text=some text}}
some text |
demospace=template
Main
{{mbox|demospace=template|text=some text}}
some text |
Sandbox
{{mbox/sandbox|demospace=template|text=some text}}
some text |
demospace=wikipedia talk
Main
{{mbox|demospace=wikipedia talk|text=some text}}
some text |
Sandbox
{{mbox/sandbox|demospace=wikipedia talk|text=some text}}
some text |
demospace=portal
Main
{{mbox|demospace=portal|text=some text}}
some text |
Sandbox
{{mbox/sandbox|demospace=portal|text=some text}}
some text |
demospace=foo
Main
{{mbox|demospace=foo|text=some text}}
some text |
Sandbox
{{mbox/sandbox|demospace=foo|text=some text}}
some text |
left-aligned mbox
{{mbox|small=left|text=some text}}
some text |
Sandbox
{{mbox/sandbox|small=left|text=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum consequat mi quis pretium semper. Proin luctus orci ac neque venenatis, quis commodo dolor posuere. Curabitur dignissim sapien quis cursus egestas.}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum consequat mi quis pretium semper. Proin luctus orci ac neque venenatis, quis commodo dolor posuere. Curabitur dignissim sapien quis cursus egestas. |
Sandbox (variable width)
{{mbox/sandbox|style=width: auto; margin-right: 0px;|textstyle=width: auto;|small=left|text=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum consequat mi quis pretium semper. Proin luctus orci ac neque venenatis, quis commodo dolor posuere. Curabitur dignissim sapien quis cursus egestas.}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum consequat mi quis pretium semper. Proin luctus orci ac neque venenatis, quis commodo dolor posuere. Curabitur dignissim sapien quis cursus egestas. |