Nhwɛdo:Side box/testcases

Test no parameters

sesa mu

{{side box}}

Sandbox

Main

Text only

sesa mu

{{side box|text = {{lorem}}}}

Sandbox

Main

Above text

sesa mu

{{side box|text = The body text|above = The above text}}

Sandbox

Main

Above and imageright

sesa mu

{{side box|text = The body text|above = The above text|imageright = [[File:Bad Title Example.png|30px]]}}

Sandbox

Main

Image and imageright

sesa mu

{{side box|text = The body text|image = [[File:Bad Title Example.png|30px]]|imageright = [[File:Bad Title Example.png|30px]]}}

Sandbox

Main

{{side box|text = The body text|below = The below text}}

Sandbox

Main

Below and imageright

sesa mu

{{side box|text = The body text|below = The below text|imageright = [[File:Bad Title Example.png|30px]]}}

Sandbox

Main

{{side box|text = The body text|image = [[File:Bad Title Example.png|32px]]}}

Sandbox

Main

Image = none

sesa mu

{{side box|text = The body text|image = none}}

Sandbox

Main

{{side box|text = The body text|style = width:100px}}

Sandbox

Main

Textstyle

sesa mu

{{side box|text = The body text|below = The below text|above = The above text|textstyle = color:red}}

Sandbox

Main

Abovestyle

sesa mu

{{side box|text = The body text|below = The below text|above = The above text|textstyle = color:red|abovestyle = font-weight:bold}}

Sandbox

Main

Position

sesa mu

{{side box|text = The body text|position = left}}

Sandbox

Main

Position caps

sesa mu

{{side box|text = The body text|position = LEFT}}

Sandbox

Main

No metadata

sesa mu

{{side box|text = The body text|metadata = no}}

Sandbox

Main

plainlist = no

sesa mu
{{side box |plainlist=no |text =The body text
*item one
*item two
*item three
}}

Sandbox

Main

ARIA attributes

sesa mu
{{side box |role=note |text =This note is parenthetic or ancillary to the main content.}}

Sandbox

Main

{{side box |role=figure |labelledby=test-figure-label-1 |text =<span id="test-figure-label-1">Label.</span> This figure puts across information in a different way to a regular flow of text.}}

Sandbox

Main