Template:Sidebar/testcases

Basic testsEdit

Celtic mythology
{{sidebar}}{{sidebar/sandbox}}
Politics of Panama
{{sidebar}}{{sidebar/sandbox}}
Coat of arms of Panama.svg
This article is part of a series on the
politics and government of
Panama
Coat of arms of Panama.svg
This article is part of a series on the
politics and government of
Panama
Financial markets
{{sidebar}}{{sidebar/sandbox}}
Neuroepistemology
{{sidebar}}{{sidebar/sandbox}}

Float testsEdit

Description Main Sandbox
No float parameter

Text before

Text after: No float parameter defaults to floating right. This causes subsequent text to appear to the sidebar's left.

Text before

Text after: No float parameter defaults to floating right. This causes subsequent text to appear to the sidebar's left.

Empty float parameter

Text before

Text after: An empty float parameter also defaults to floating right. This causes subsequent text to appear to the sidebar's left.

Text before

Text after: An empty float parameter also defaults to floating right. This causes subsequent text to appear to the sidebar's left.

float = left

Text before

Text after: A "float=left" parameter floats the sidebar to the left instead of the right. This causes subsequent text to appear to the sidebar's right.

Text before

Text after: A "float=left" parameter floats the sidebar to the left instead of the right. This causes subsequent text to appear to the sidebar's right.

float = right

Text before

Text after: A "float=right" parameter floats the sidebar to the right, as usual. This causes subsequent text to appear to the sidebar's left.

Text before

Text after: A "float=right" parameter floats the sidebar to the right, as usual. This causes subsequent text to appear to the sidebar's left.

float = none

Text before

Text after: A "float=none" makes the sidebar not float at all. This causes subsequent text to appear below the sidebar.

Text before

Text after: A "float=none" makes the sidebar not float at all. This causes subsequent text to appear below the sidebar.

Outertitle and navbar optionsEdit

Description Main Sandbox
Outertitle

The "outertitle" of a sidebar appears outside the sidebar's border, within the sidebar's top margin. The "outertitle" should not touch text above it, or the sidebar border below it.

The "outertitle" of a sidebar appears outside the sidebar's border, within the sidebar's top margin. The "outertitle" should not touch text above it, or the sidebar border below it.

Navbar off
Navbar style

EmbeddingEdit

Description Main Sandbox
child=yes

StylingEdit

{{Sidebar|content1=Content 1|content2=Content 2|content2style=font-size: 150%;|contentstyle=background-color: cyan;|heading1=Heading 1|heading2=Heading 2|heading2style=font-style: italic;|headingstyle=text-decoration: underline dotted red;|style=width: 120px;}}
Side by side comparison
{{Sidebar}}{{Sidebar/sandbox}}