Template:Skip to bottom/testcases
This is the template test cases page for the sandbox of Template:Skip to bottom. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Absolute positioning
[edit]NOTE: The tests in this section use CSS absolute positioning; open only one of these tests at a time to view the result. Opening more than one at a time is permissible, and gives predictable but invalid results. These testcases test the sandbox version only.
Test A1: default case (no args)
[edit]A1. (no args): ➡ ➡ Collapse this test before viewing other test results
|
---|
{{../sandbox}} |
Test A2: notoc=yes
[edit]A2. notoc=yes: Open only this test to view result
|
---|
{{../sandbox|notoc=yes}} |
Test A3: force=yes
[edit]A3. force=yes: Open only this test to view result
|
---|
{{../sandbox|force=yes}} |
Test A4:notoc=yes force=yes
[edit]A4. notoc=yes, force=yes: Open only this test to view result
|
---|
{{../sandbox|notoc=yes|force=yes}} |
Relative positioning
[edit]The tests in this section use CSS relative positioning; results appear in the section where they are invoked. Therefore, unlike with the Absolute positioning tests above, tests below may be viewed simultaneously with each other (and simultaneously with one absolute test above).
Test R1: default case: abs=no (no other args)
[edit]R1. abs=no (four subtests included)
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Test R2: abs=no notoc=yes
[edit]R2. abs=no, notoc=yes
|
---|
{{../sandbox|abs=no|notoc=yes}} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer et magna a quam ornare pharetra. Quisque eget velit suscipit, sagittis augue tempus, venenatis mauris. Integer nisl risus, finibus at sollicitudin sed, bibendum vitae ante. Sed mattis odio ac pulvinar condimentum. Phasellus tempor nisl arcu, volutpat luctus orci tristique sit amet. Quisque neque est, accumsan fringilla libero eu, convallis fringilla nisi. Donec pretium imperdiet nibh et finibus. Suspendisse potenti. Fusce tristique augue tellus, sit amet aliquet augue ullamcorper non. Mauris vulputate sem eget mauris tristique, vel sagittis libero ultrices. Integer imperdiet ultricies euismod. Pellentesque volutpat sagittis commodo. Cras sit amet mi egestas, dignissim nibh ut, tempor nibh. |
Test R3: abs=no force=yes
[edit]R3. abs=no, force=yes
|
---|
{{../sandbox|abs=no|force=yes}} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer et magna a quam ornare pharetra. Quisque eget velit suscipit, sagittis augue tempus, venenatis mauris. Integer nisl risus, finibus at sollicitudin sed, bibendum vitae ante. Sed mattis odio ac pulvinar condimentum. Phasellus tempor nisl arcu, volutpat luctus orci tristique sit amet. Quisque neque est, accumsan fringilla libero eu, convallis fringilla nisi. Donec pretium imperdiet nibh et finibus. Suspendisse potenti. Fusce tristique augue tellus, sit amet aliquet augue ullamcorper non. Mauris vulputate sem eget mauris tristique, vel sagittis libero ultrices. Integer imperdiet ultricies euismod. Pellentesque volutpat sagittis commodo. Cras sit amet mi egestas, dignissim nibh ut, tempor nibh. |
Test R4: abs=no notoc=yes force=yes (with header)
[edit]R4. abs=no, notoc=yes, force=yes
|
---|
{{../sandbox|abs=no|notoc=yes|force=yes}} R4 Some H2 header
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer et magna a quam ornare pharetra. Quisque eget velit suscipit, sagittis augue tempus, venenatis mauris. Integer nisl risus, finibus at sollicitudin sed, bibendum vitae ante. Sed mattis odio ac pulvinar condimentum. Phasellus tempor nisl arcu, volutpat luctus orci tristique sit amet. Quisque neque est, accumsan fringilla libero eu, convallis fringilla nisi. Donec pretium imperdiet nibh et finibus. Suspendisse potenti. Fusce tristique augue tellus, sit amet aliquet augue ullamcorper non. Mauris vulputate sem eget mauris tristique, vel sagittis libero ultrices. Integer imperdiet ultricies euismod. Pellentesque volutpat sagittis commodo. Cras sit amet mi egestas, dignissim nibh ut, tempor nibh. |