13,212
edits
Red Leader (talk | contribs) |
(→Sortable tables: Use of class="unsortable") |
||
Line 137: | Line 137: | ||
== Sortable tables == | == Sortable tables == | ||
Tables can be made sortable by using the attribute <code>class="wikitable sortable"</code> | Tables can be made sortable by using the attribute <code>class="wikitable sortable"</code> instead of <code>class="wikitable"</code>. | ||
< | Columns can be made non-sortable using the attribute <code>class="unsortable"</code>. | ||
{| class="wikitable sortable" | |||
! Cell one !! Cell two ! | <nowiki>{| class="wikitable sortable" | ||
! Cell one !! Cell two | |||
! class="unsortable" | Cell three | |||
|- | |- | ||
| Cell four || Cell five || Cell six | | Cell four || Cell five || Cell six | ||
|- | |- | ||
| Cell seven || Cell eight || Cell nine | | Cell seven || Cell eight || Cell nine | ||
|} | |}</nowiki> | ||
</ | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
! Cell one !! Cell two ! | ! Cell one !! Cell two | ||
! class="unsortable" | Cell three | |||
|- | |- | ||
| Cell four || Cell five || Cell six | | Cell four || Cell five || Cell six |