Template:Mbox/testcases

From "PTTLink Wiki"
< Template:Mbox
Revision as of 02:54, 27 June 2021 by Mediawiki>DesertPipeline (Add left-aligned mbox tests)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

demospace not set

{{mbox|text=some text}}

Sandbox

{{mbox/sandbox|text=some text}}

demospace=talk

Main

{{mbox|demospace=talk|text=some text}}

Sandbox

{{mbox/sandbox|demospace=talk|text=some text}}

demospace=wikipedia

Main

{{mbox|demospace=wikipedia|text=some text}}

Sandbox

{{mbox/sandbox|demospace=wikipedia|text=some text}}

demospace=file

Main

{{mbox|demospace=file|text=some text}}

Sandbox

{{mbox/sandbox|demospace=file|text=some text}}

demospace=category

Main

{{mbox|demospace=category|text=some text}}

Sandbox

{{mbox/sandbox|demospace=category|text=some text}}

demospace=template

Main

{{mbox|demospace=template|text=some text}}

Sandbox

{{mbox/sandbox|demospace=template|text=some text}}

demospace=wikipedia talk

Main

{{mbox|demospace=wikipedia talk|text=some text}}

Sandbox

{{mbox/sandbox|demospace=wikipedia talk|text=some text}}

demospace=portal

Main

{{mbox|demospace=portal|text=some text}}

Sandbox

{{mbox/sandbox|demospace=portal|text=some text}}

demospace=foo

Main

{{mbox|demospace=foo|text=some text}}

Sandbox

{{mbox/sandbox|demospace=foo|text=some text}}

left-aligned mbox

{{mbox|small=left|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.}}

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.}}