Template:Sidebar/testcases: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) m (→Section tests) |
Mailmanmicky (talk | contribs) mNo edit summary |
||
Line 72: | Line 72: | ||
| style="background:#282828; padding-inline:.5em;" | {{capsule|style=2|With two content boxes, with content box 2 being skipped}} | | style="background:#282828; padding-inline:.5em;" | {{capsule|style=2|With two content boxes, with content box 2 being skipped}} | ||
| style="padding-block:.5em;" | {{sidebar|content1=Content 1|content3=Content 3}} | | style="padding-block:.5em;" | {{sidebar|content1=Content 1|content3=Content 3}} | ||
|- | |||
| style="background:#282828; padding-inline:.5em;" | {{capsule|style=2|With two content boxes, a header and a footer}} | |||
| style="padding-block:.5em;" | {{sidebar | |||
| header = Header | |||
| content1 = Content 1 | |||
| content2 = Content 2 | |||
| footer = Footer | |||
}} | |||
|} | |} |
Latest revision as of 21:24, 29 May 2023
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.
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 |