Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Test sticky-header (no caption)  





2 Test sticky-header (no caption). Narrower tables  





3 Test sticky-header (caption)  





4 Test sticky-header (sortable)  





5 Test sticky-header (sortable). Narrower tables  





6 Test sticky-header. 2 rows. (sortable)  





7 Test template static row numbers (sticky-header, no caption)  





8 Test template static row numbers (sticky-header, caption)  





9 Test template static row numbers (sticky-header, sortable)  





10 Test template static row numbers. 2 rows. (sticky-header, sortable)  





11 Padding  














User:Timeshifter/Sandbox244

















User page
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
User contributions
User logs
View user groups
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< User:Timeshifter

This sandbox is using {{sticky header}}. I added some more table widths. Divs have been removed.

See: User:Timeshifter/Sandbox243. And: Sandbox245 and Sandbox247 (narrow 3-column tables only). And: Template:Sticky header. And: Template:Sticky header/testcases.

Test sticky-header (no caption)

[edit]

Wikitable:

Wikitable wikitext:

{{Sticky header}}
{| class="wikitable sticky-header"
|-
! Header !! Header 2 !! Header 3 !! Header 4
! Header 5 !! Header 6 !! Header 7 !! Header 8
! Header 9 || Header 10 || Header 11 || Header 12 || Header 13|}

Plain table:

Plain table wikitext:

{{sticky header}}
{| class="sticky-header"
|-
! Header !! Header 2 !! Header 3 !! Header 4
! Header 5 !! Header 6 !! Header 7 !! Header 8
! Header 9|}

Test sticky-header (no caption). Narrower tables

[edit]

Plain table:

Test sticky-header (caption)

[edit]

Sticky first row.

Wikitable:

Wikitable wikitext:

{{sticky header}}
{| class="wikitable sticky-header"
|+ Caption
|-
! Header !! Header 2 !! Header 3 !! Header 4
! Header 5 !! Header 6 !! Header 7 !! Header 8
! Header 9|}

Plain table:

Plain table wikitext:

{{sticky header}}
{| class="sticky-header"
|+ Caption
|-
! Header !! Header 2 !! Header 3 !! Header 4
! Header 5 !! Header 6 !! Header 7 !! Header 8
! Header 9|}

Test sticky-header (sortable)

[edit]

Sticky first row.

Wikitable:


Wikitable wikitext:

{{Sticky header}}
{| class="wikitable sortable sticky-header"
|+ Caption
|-
! Header !! Header 2 !! Header 3 !! Header 4
! Header 5 !! Header 6 !! Header 7 !! Header 8
! Header 9 !! Header 10 !! Header 11 !! Header 12
! Header 13 !! Header 14 !! Header 15 
! class="unsortable" | Header 16
|- class="sorttop"
| top || top || top || top || top || top 
| top || top || top || top || top || top 
| top || top || top || top 
...
|- class="sortbottom"
| bottom || bottom || bottom || bottom || bottom || bottom
| bottom || bottom || bottom || bottom || bottom || bottom 
| bottom || bottom || bottom || bottom 
|}

Plain table:

Plain table wikitext:

{{sticky header}}
{| class="sortable sticky-header"
|+ Caption
|-
! Header !! Header 2 !! Header 3 !! Header 4
! Header 5 !! Header 6 !! Header 7 !! Header 8
! class="unsortable" | Header 9
|- class="sorttop"
| top || top || top || top || top
| top || top || top || top
⫶
|- class="sortbottom"
| bottom || bottom || bottom || bottom || bottom
| bottom || bottom || bottom || bottom
|}

Test sticky-header (sortable). Narrower tables

[edit]

Plain table:

Test sticky-header. 2 rows. (sortable)

[edit]

Sticky <thead> element.

Issues:

Wikitable:

Wikitable wikitext:

{{sticky header}}
{| class="wikitable sortable sticky-header"
|+ Caption
|-
! rowspan="2" | Header
! colspan="8" | Header group
|-
! Header 2 !! Header 3 !! Header 4 !! Header 5
! Header 6 !! Header 7 !! Header 8
! class="unsortable" | Header 9
|- class="sorttop"
| top || top || top || top || top
| top || top || top || top
⫶
|- class="sortbottom"
| bottom || bottom || bottom || bottom || bottom
| bottom || bottom || bottom || bottom
|}

Plain table:

Plain table wikitext:

{{sticky header}}
{| class="sortable sticky-header"
|+ Caption
|-
! rowspan="2" | Header
! colspan="8" | Header group
|-
! Header 2 !! Header 3 !! Header 4 !! Header 5
! Header 6 !! Header 7 !! Header 8
! class="unsortable" | Header 9
|- class="sorttop"
| top || top || top || top || top
| top || top || top || top
⫶
|- class="sortbottom"
| bottom || bottom || bottom || bottom || bottom
| bottom || bottom || bottom || bottom
|}

Test template static row numbers (sticky-header, no caption)

[edit]

Uses {{static row numbers}} with adjusted wikitable borders.

No label:

Label:

Test template static row numbers (sticky-header, caption)

[edit]

Uses {{static row numbers}} with adjusted wikitable borders.

No label:

Label:

Test template static row numbers (sticky-header, sortable)

[edit]

Uses {{static row numbers}} with adjusted wikitable borders.

No label:

Label:

Test template static row numbers. 2 rows. (sticky-header, sortable)

[edit]

Uses {{static row numbers}} with adjusted wikitable borders.

No label:

Label:

Padding

[edit]

Padding for testing purposes.


Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Timeshifter/Sandbox244&oldid=1212797221"





This page was last edited on 9 March 2024, at 16:49 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki