Template:Mbox/testcases

From Jonesipedia
Revision as of 10:52, 16 March 2023 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

demospace not set

{{mbox|text=some text}}

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

Sandbox

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

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

demospace=talk

Main

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

<templatestyles src="Module:Message box/tmbox.css"></templatestyles>

Sandbox

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

<templatestyles src="Module:Message box/tmbox.css"></templatestyles>

demospace=wikipedia

Main

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

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

Sandbox

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

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

demospace=file

Main

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

<templatestyles src="Module:Message box/imbox.css"></templatestyles>

Sandbox

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

Lua error in mw.lua at line 177: invalid frame ID.

demospace=category

Main

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

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

Sandbox

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

<templatestyles src="Module:Message box/tmbox.css"></templatestyles>

demospace=template

Main

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

<templatestyles src="Module:Message box/tmbox.css"></templatestyles>

Sandbox

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

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

demospace=wikipedia talk

Main

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

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

Sandbox

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

<templatestyles src="Module:Message box/tmbox.css"></templatestyles>

demospace=portal

Main

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

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

Sandbox

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

<templatestyles src="Module:Message box/imbox.css"></templatestyles>

demospace=foo

Main

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

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

Sandbox

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

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

left-aligned mbox

{{mbox|small=left|text=some text}}

<templatestyles src="Module:Message box/tmbox.css"></templatestyles>

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

<templatestyles src="Module:Message box/tmbox.css"></templatestyles>

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

<templatestyles src="Module:Message box/ombox.css"></templatestyles>