ข้ามไปเนื้อหา

แม่แบบ:Side box/testcases

จากวิกิพีเดีย สารานุกรมเสรี

Test no parameters

[แก้]

{{side box}}

Sandbox

Main

Text only

[แก้]

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

Sandbox

Main

Above text

[แก้]

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

Sandbox

Main

Above and imageright

[แก้]

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

Sandbox

Main

Image and imageright

[แก้]

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

Sandbox

Main

Below

[แก้]

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

Sandbox

Main

Below and imageright

[แก้]

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

Sandbox

Main

Image

[แก้]

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

Sandbox

Main

Image = none

[แก้]

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

Sandbox

Main

Style

[แก้]

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

Sandbox

Main

Textstyle

[แก้]

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

Sandbox

Main

Abovestyle

[แก้]

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

Sandbox

Main

Position

[แก้]

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

Sandbox

Main

Position caps

[แก้]

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

Sandbox

Main

No metadata

[แก้]

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

Sandbox

Main

plainlist = no

[แก้]
{{side box |plainlist=no |text =The body text
*item one
*item two
*item three
}}

Sandbox

Main

ARIA attributes

[แก้]
{{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