Template:Sidebar/testcases#Embedding

{{template test cases notice}}

Basic tests

{{testcase table

|_template=sidebar

|_caption = Celtic mythology

|name = Celtic mythology

|class = plainlist

|style = width:auto;border:1px solid #004700;background:#e7f4e7;

|basestyle = background:#90db90;

|pretitle = Part of a series on

|titlestyle = font-size:150%;

|title = Celtic mythology

|image = File:Hope-coventina01a.jpg

|content1 =

|heading2 = Gaelic mythology

|content2 =

|heading3 = Brythonic mythology

|content3 =

|heading4 = Religious vocations

|content4 =

|heading5 = Festivals

|content5 =

|belowstyle = padding-top:0.1em;border-top:1px solid #004700;border-bottom:1px solid #004700;

|below =

}}

{{testcase table

|_template=sidebar

|_caption = Politics of Panama

| name = Politics of Panama

| wraplinks = true

| bodyclass = vcard

| bodystyle = width:auto

| contentstyle = text-align:left; border-bottom:1px #aaa solid

| title = {{politics sidebar title|country=Panama|image=Coat of Arms of Panama.svg|size=125px|title=Panama}}

| content1 =

| below = {{politics sidebar below|Panama}}

}}

{{testcase table

|_template=sidebar

|_caption = Financial markets

| name = Financial markets

| bodystyle = width:auto

| bodyclass = plainlist

| headingclass = navbox-abovebelow

| title = Financial markets

| image = 135px

| content1 =

----

| heading2 = Bond market

| content2 =

| heading3 = Stock market

| content3 =

| heading4 = Derivatives market

| content4 =

| heading5 = Over-the-counter

| content5 =

| heading6 =Foreign exchange

| content6 =

| heading7 = Other markets

| content7 =

| heading8 =Practical trading

| content8 =

| heading9 = Finance series

| content9 =

}}

{{testcase table

|_template=sidebar

|_caption = Neuroepistemology

|name = Template:Sidebar/testcases

|style = width:auto

|title=Neuroepistemology

|titlestyle = background:#66ccff;

| class = hlist

| titleclass = navbox-title

| image = File:Inn brainetworks.jpg

| imagestyle = border-bottom: 1px solid #CCC; padding-bottom: 0.5em;

| headingstyle = font-size: 1.1em; padding: 0.25em 0;

| headingclass = navbox-abovebelow

|heading1=General concepts

|content1=

Epistemology - Neuroscience

First Person-Third Person 'Quid pro quo' (FTQ)

{{•}} Hebbian theory

Backpropagation{{•}}Automaticity{{•}}

Intentionality{{•}} Intersubjectivity

Cerebral cortex - Consciousness

Mind-mind problem{{•}}

Phenomenology{{•}} Neuron

The man-machine dilemma

Sign{{•}} Sign relational complex

Neurodidactics{{•}} Neurobiology{{•}}

Epistemic Value

Neuroscience of free will

|heading2=Methods

|content2=

Neurophenomenology

Deconstructive pragmatism

Pragmatic Naturalism

Application of TNE equation

Sociofunctionalism

|heading3= Scientific and Philosophic Influences

|content3=

Edmund Husserl - Franz Brentano

René Descartes - Imanuel Kant

Charles S. Peirce - Gotlob Frege

Gaston Bachelard - W.V.O. Quine - Bertrand Russell

William James - Ludwig Wittgenstein

Michel Foucault - Greek philosophy

Roger W. Sperry - Patricia Goldman-Rakic

Francis Crick - Francisco Varela

|heading4= Contemporary Inspiring Researchers

|content4=

Sue Blackmore - Tim Crane

Daniel Dennett - Vittorio Gallese

Umberto Eco{{•}}Alvin Goldman

Stuart Hameroff

Geoffrey Hinton{{•}} Allan Hobson

Uta Frith{{•}} Patricia Churchland

Roger Penrose{{•}} Hilary Putnam

Benoit Mandelbrot - Terrence Sejnowsky

Henry Stapp{{•}} Rita Levi-Montalcini

David Chalmers{{•}} John Searle

Christof Koch - Fernando Nottebohm

Semir Zeki{{•}} Pasko Rakic

|heading5=Related topics

|content5=

Social Neuroscience

Philosophy of Mind

Quantum mechanics

Computational Complexity

}}

Float tests

class="wikitable"

! Description

! Main

! Sandbox

style="vertical-align:top;"

| No float parameter

| style="width:50%" |

Text before

{{{{BASEPAGENAME}}|title = Title | content1 = Content}}

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

| style="width:50%" |

Text before

{{{{BASEPAGENAME}}/sandbox|title = Title | content1 = Content}}

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

style="vertical-align:top;"

| Empty float parameter

| style="width:50%" |

Text before

{{{{BASEPAGENAME}}|float = | title = Title | content1 = Content}}

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

| style="width:50%" |

Text before

{{{{BASEPAGENAME}}/sandbox|float = | title = Title | content1 = Content}}

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

style="vertical-align:top;"

| float = left

| style="width:50%" |

Text before

{{{{BASEPAGENAME}}|float = left | title = Title | content1 = Content}}

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.

| style="width:50%" |

Text before

{{{{BASEPAGENAME}}/sandbox|float = left | title = Title | content1 = Content}}

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.

style="vertical-align:top;"

| float = right

| style="width:50%" |

Text before

{{{{BASEPAGENAME}}|float = right | title = Title | content1 = Content}}

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.

| style="width:50%" |

Text before

{{{{BASEPAGENAME}}/sandbox|float = right | title = Title | content1 = Content}}

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.

style="vertical-align:top;"

| float = none

| style="width:50%" |

Text before

{{{{BASEPAGENAME}}|float = none | title = Title | content1 = Content}}

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

| style="width:50%" |

Text before

{{{{BASEPAGENAME}}/sandbox|float = none | title = Title | content1 = Content}}

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

class="wikitable"

! Description

! Main

! Sandbox

style="vertical-align:top;"

| Outertitle

| style="width:50%" |

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.

{{{{BASEPAGENAME}}| outertitle = Outertitle | content1 = Content}}

| style="width:50%" |

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.

{{{{BASEPAGENAME}}/sandbox| outertitle = Outertitle | content1 = Content}}

style="vertical-align:top;"

| Navbar off

| style="width:50%" |

{{{{BASEPAGENAME}}| name = Template:Sidebar/testcases | title = Title | content1 = Content | navbar = off }}

| style="width:50%" |

{{{{BASEPAGENAME}}/sandbox| name = Template:Sidebar/testcases | title = Title | content1 = Content | navbar = off}}

style="vertical-align:top;"

| Navbar style

| style="width:50%" |

{{{{BASEPAGENAME}}| name = Template:Sidebar/testcases| title = Title | content1 = Content | navbarstyle = font-size:20px;color:green; }}

| style="width:50%" |

{{{{BASEPAGENAME}}/sandbox| name = Template:Sidebar/testcases| title = Title | content1 = Content | navbarstyle = font-size:20px;color:green; }}

style="vertical-align:top;"

| Navbar font style

| style="width:50%" |

{{{{BASEPAGENAME}}| name = Template:Sidebar/testcases| title = Title | content1 = Content | navbarfontstyle = font-size:20px;color:green; }}

| style="width:50%" |

{{{{BASEPAGENAME}}/sandbox| name = Template:Sidebar/testcases| title = Title | content1 = Content | navbarfontstyle = font-size:20px;color:green; }}

Embedding

class="wikitable"

! Description

! Main

! Sandbox

style="vertical-align:top;"

| child=yes

| style="width:50%" |

{{{{BASEPAGENAME}}

| title = Title

| headingstyle = background:#ddd

| heading1 = Heading 1

| content1 = Content 1

| heading2 = Heading 2

| content2 = {{{{BASEPAGENAME}} | child = yes

| headingstyle = background:#eee

| heading1 = Heading 2.1

| content1 = Content 2.1

| heading2 = Heading 2.2

| content2 = Content 2.2

}}

| heading3 = Heading 3

| content3 = Content 3

| navbar = off

}}

| style="width:50%" |

{{{{BASEPAGENAME}}/sandbox

| title = Title

| headingstyle = background:#ddd

| heading1 = Heading 1

| content1 = Content 1

| heading2 = Heading 2

| content2 = {{{{BASEPAGENAME}}/sandbox | child = yes

| headingstyle = background:#eee

| heading1 = Heading 2.1

| content1 = Content 2.1

| heading2 = Heading 2.2

| content2 = Content 2.2

}}

| heading3 = Heading 3

| content3 = Content 3

| navbar = off

}}

Styling

{{test case|_format=columns|_showcode=yes|_title=Styles

| style = width: 120px;

| headingstyle = text-decoration: underline dotted red;

| contentstyle = background-color: cyan;

| heading1 = Heading 1

| content1 = Content 1

| heading2 = Heading 2

| heading2style = font-style: italic;

| content2 = Content 2

| content2style = font-size: 150%;

}}

{{Sidebar with collapsible lists/testcases}}