This is the template test cases page for the sandbox of Template:Side box. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Test no parameters
edit{{side box}}
Sandbox
Main
Text only
edit{{side box|text = {{lorem}}}}
Sandbox
Main
Above text
edit{{side box|text = The body text|above = The above text}}
Sandbox
Main
Above and imageright
edit{{side box|text = The body text|above = The above text|imageright = [[File:Bad Title Example.png|30px]]}}
Sandbox
Main
Image and imageright
edit{{side box|text = The body text|image = [[File:Bad Title Example.png|30px]]|imageright = [[File:Bad Title Example.png|30px]]}}
Sandbox
Main
Below
edit{{side box|text = The body text|below = The below text}}
Sandbox
Main
Below and imageright
edit{{side box|text = The body text|below = The below text|imageright = [[File:Bad Title Example.png|30px]]}}
Sandbox
Main
Image
edit{{side box|text = The body text|image = [[File:Bad Title Example.png|32px]]}}
Sandbox
Main
Image = none
edit{{side box|text = The body text|image = none}}
Sandbox
Main
Style
edit{{side box|text = The body text|style = width:100px}}
Sandbox
Main
Textstyle
edit{{side box|text = The body text|below = The below text|above = The above text|textstyle = color:red}}
Sandbox
Main
Abovestyle
edit{{side box|text = The body text|below = The below text|above = The above text|textstyle = color:red|abovestyle = font-weight:bold}}
Sandbox
Main
Position
edit{{side box|text = The body text|position = left}}
Sandbox
Main
Position caps
edit{{side box|text = The body text|position = LEFT}}
Sandbox
Main
No metadata
edit{{side box|text = The body text|metadata = no}}
Sandbox
Main
plainlist = no
edit{{side box |plainlist=no |text =The body text
*item one
*item two
*item three
}}
Sandbox
Main
ARIA attributes
edit{{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