Templat:Side box/testcases

Test no parameters

sunting
  • {{side box}}

Sandbox

Main

Text only

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

Sandbox

Main

Above text

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

Sandbox

Main

Above and imageright

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

Sandbox

Main

Image and imageright

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

Sandbox

Main

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

Sandbox

Main

Below and imageright

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

Sandbox

Main

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

Sandbox

Main

Image = none

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

Sandbox

Main

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

Sandbox

Main

Textstyle

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

Sandbox

Main

Abovestyle

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

Sandbox

Main

Position

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

Sandbox

Main

Position caps

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

Sandbox

Main

No metadata

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

Sandbox

Main