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



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



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


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


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


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



Նոր ստեղծված կամ արդեն առկա աղյուսակի տեքստը խմբագրելիս՝ դու որոշում ես, թե ինչ կտեսնի ընթերցողը։ Բացի տեքստի փոփոխությունից աղյուսակները կարելի է ենթարկել նաև այլ փոփոխությունների։

Աղյուսակը կազմված է հետևյալ հիմնաական մասերից, որոնք բոլորը հնարավոր է ձևափոխել․

{| start Besides beginning the table, this is also where table class is defined – for example, class="wikitable". A table's "class" applies a standard set of Wikipedia formatting to that table. The two most commonly used classes are "wikitable" and "wikitable sortable".
|+ caption Optional, and placed only between table start and the first table row.
! header cell Optional. Each header cell starts with a new line and a single exclamation mark (!), or several header cells can be placed consecutively on the same line between double exclamation marks (!!).
|- new row To begin a new row of cells use a single vertical bar (|) and a hyphen (-).
| new cell
in row
To add a new cell in a row, start each new cell with a new line and a single vertical bar (|), or several cells can be placed consecutively on the same line between double vertical bars (||).
|} end To end the table use a single vertical bar (|) and a left facing curly brace (}) alone on a new line.

Վանդակի սկզբի և ավարտի դատարկ բացատները չեն ցուցադրվում։

Միջերես

Երևի նկատել ես, որ աղյուսակները ներկայացված կարող է լինել երկու տարբեր ձևերով։

Data is arranged like final table

This is useful when there aren't too many columns and the contents of the cells is short (e.g. just numbers). This is the markup layout that the button will create.

{| class="wikitable"
|-
! Header C1 !! Header C2 !! Header C3
|-
| R1C1      || R1C2      || R1C3
|-
| R2C1      || R2C2      || R2C3
|}

Cells are arranged vertically

With lots of columns, or longer text contents in cells, putting each cell on a new line can help readability of the markup.

{| class="wikitable"
|-
! Header C1
! Header C2
! Header C3
|-
| R1C1
| R1C2
| R1C3
|-
| R2C1
| R2C2
| R2C3
|}

Ընթերցողի համար վերոնշյալ երկու ձևն էլ նույն տեսքն ունի։

Header C1 Header C2 Header C3
R1C1 R1C2 R1C3
R2C1 R2C2 R2C3