Template:Side box/testcases
![]() | 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: |
__EXPECTUNUSEDTEMPLATE__
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
<syntaxhighlight lang=text>
</syntaxhighlight>
Sandbox
Main
ARIA attributes
<syntaxhighlight lang=text>
</syntaxhighlight>
Sandbox
Main
<syntaxhighlight lang=text>
</syntaxhighlight>
Sandbox
Main