Bantuan:Introduction to tables with Wiki Markup/3

Daripada Wikipedia, ensiklopedia bebas.
Jump to navigation Jump to search

Templat:Help intro frame top Bantuan:Table/tabs |style="padding: 2em;" | All columns can be sorted by adding the sortable class to the table:

{| class="wikitable sortable"
|-
! name
! data
! more data
|-
| cats
| 273
| 53
|-
| dogs
| 65
| 8,492
|-
| mice
| 1,649
| 548
|}

name data more data
cats 273 53
dogs 65 8,492
mice 1,649 548

Clicking on the up/down arrows in a column header will sort the column; clicking again will reverse the sort. Columns containing text will be sorted alphabetically; columns containing numbers will be sorted numerically. Columns containing mixed data will be sorted alphabetically. For advanced sort options, see Help:Sorting.

Templat:Help intro next |}