Template:Sidebar/testcases

From Valve Developer Community
Jump to: navigation, search
Gnome app science.png
This is the template test cases page for Template:Sidebar. Purge this page in order to update the examples, if the template itself was recently edited.
If there are too many examples of a complicated template, later transclusions of such template may break due to the limitations of the Mediawiki software, or can cause the page itself to load very slow; See the HTML comment "NewPP limit Report" on the rendered page.
You can also use Special:ExpandTemplates to examine the results of template use cases.


Basic tests

Description Preview
With no parameters
With header parameter only
Header
With content parameter only
Content
With footer parameter only
Footer

Image tests

Description Preview
With image parameter only
[[File:Software Cover - The Lab.jpg
300px]]
With image parameter and imagewidth parameter
[[File:Missing entity icon.png
64px]]

Section tests

Description Preview
With one section only
Section 1
With two sections only
Section 1
Section 2
With two sections, with section 2 being skipped
Section 1
Section 3
With two sections, a header and a footer
Header
Section 1
Section 2
Footer

Content tests

Description Preview
With one content box only
Content 1
With two content boxes only
Content 1
Content 2
With two content boxes, with content box 2 being skipped
Content 1
Content 3
With two content boxes, a header and a footer
Header
Content 1
Content 2
Footer