Template:Sidebar/testcases

From Madison Pizza Wiki

Basic tests

Celtic mythology
{{sidebar}}{{sidebar/sandbox}}
Politics of Panama
{{sidebar}}{{sidebar/sandbox}}
Financial markets
{{sidebar}}{{sidebar/sandbox}}
Neuroepistemology
{{sidebar}}{{sidebar/sandbox}}

Float tests

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 options

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
Navbar font style

Embedding

Description Main Sandbox
child=yes

Styling

{{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}}


Judaism

Side by side comparison
{{Sidebar with collapsible lists}}{{Sidebar with collapsible lists/sandbox}}

Russian space program

Side by side comparison
{{Sidebar with collapsible lists}}{{Sidebar with collapsible lists/sandbox}}

Indigenous peoples of Canada

Side by side comparison
{{Sidebar with collapsible lists}}{{Sidebar with collapsible lists/sandbox}}

History of Thailand

Side by side comparison
{{Sidebar with collapsible lists}}{{Sidebar with collapsible lists/sandbox}}