Template:Mbox/testcases: Difference between revisions

From Jonesipedia
Jump to navigation Jump to search
Add left-aligned mbox tests
 
m 1 revision imported
 
(No difference)

Latest revision as of 10:52, 16 March 2023

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