Օգնություն:Ներածություն - Վիքիտեքստի խմբագրիչ - Աղյուսակներ/4

Վիքիպեդիայից՝ ազատ հանրագիտարանից



Ներածություն
Աղյուսակներ․ ինչպե՞ս և ինչու՞



Ընդլայնել աղյուսակները
Ավելացնել տողեր և սյունակներ


Դասավորվող աղյուսակներ
Ընթերցողները կարող են դասավորել


Լրացուցիչ ձևավորում
HTML-ի կիրառում


Ամփոփում
Վերհիշիր սովորածդ




If a table is created in Visual Editor, the dialog includes a checkbox to "Make table sortable". If you check this box, then a reader can sort the table by any column, by clicking on the header cell for that column.

Existing tables, or tables created in wikitext can be made sortable by adding the wikitable sortable class to the top of the table:

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

Օգնություն:Ներածություն - Վիքիտեքստի խմբագրիչ - Աղյուսակներ/4/table 1

Clicking on the up/down arrows in a column header will sort the column; clicking again will reverse the sort. Text is sorted alphabetically. Numbers are sorted numerically. Mixed data is sorted alphabetically.


For advanced sort options, see Help:Sorting.