ထႅမ်းပလဵတ်ႉ:Table/doc
ၼႃႈလိၵ်ႈဢၼ်ၼႆႉၼႆႉ မၼ်းပဵၼ် ၽိုၼ်ၵႅမ်မိုဝ်း လၢႆးၸႂ်ႉတိုဝ်း (documentation) ႁင်း တွၼ်ႈတႃႇ ၼႃႈလိၵ်ႈၽႄ (subpage) ထႅမ်းပလဵတ်ႉ:Table ၼၼ်ႉယဝ်ႉ။ တီႈၼႃႈလိၵ်ႈဢၼ်ၼႆႉၼႆႉ မၼ်းတေၶဝ်ႈပႃးဝႆႉ လၢႆးၸႂ်ႉတိုဝ်း လႄႈ ၶေႃႈၶၢဝ်ႇဢၼ်ၵဵဝ်ႇၵပ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ ၶေႃႈမုၼ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၵဵဝ်ႇၵပ်း တင်း ထႅမ်းပလဵတ်ႉ page ၼၼ်ႉယဝ်ႉ။ |
လွင်ႈၸႂ်ႉတိုဝ်း
မႄးထတ်း{{Table|param1|param2|param3|class=}}
Use at the beginning of a table to assign the wikitable
and other commonly used table CSS classes. With no parameters, the template outputs class="wikitable"
. The param1, param2, and param3 parameters can be any of the following options:
- Collapse options
show
,hidable
,collapsible
, ormw-collapsible
: Uses themw-collapsible
class to show a [hide] link to collapse the table, but leaves the table uncollapsed by defaulthide
,collapse
,collapsed
, ormw-collapsed
: Uses themw-collapsible collapsed
classes to make the table collapsed with a [show] link to reveal the table.auto
orautocollapse
: Uses themw-collapsible autocollapse
classes to make the table collapsible, but only collapse it if there are three or more collapsible tables on the pageinner
orinnercollapse
: Uses themw-collapsible innercollapse
classes to make the table collapsible, but only collapse if the table is within a larger table with theoutercollapse
class.outer
oroutercollapse
: Uses theoutercollapse
class to collapse any smaller tables within the table it that use theinnercollapse
class. Can be combined with the various collapse and sort options above.
- Sort options
sort
orsortable
: Uses thesortable
class to add sorting buttons to each column of the table. Can be combined with the various collapse options above or withoutercollapse
.
- Other options
- Any other Wikipedia class may be specified using the
|class=
parameter.
Up to three parameters can be used, plus the custom |class=
parameter, and they can be specified in any order.
တူဝ်ယၢင်ႇ
မႄးထတ်း- With no parameters
{| {{Table}}
! Rows !! Data
|-
! Row 1
| Datum1
|-
! Row 2
| Datum2
|}
Uses class="wikitable"
to produce
Rows | Data |
---|---|
Row 1 | Datum1 |
Row 2 | Datum2 |
- With parameters
{| {{Table|hide|sort}}
! Rows !! Data
|-
! Row 1
| Datum1
|-
! Row 2
| Datum2
|}
Uses class="wikitable mw-collapsible mw-collapsed sortable"
to produce
Rows | Data |
---|---|
Row 1 | Datum1 |
Row 2 | Datum2 |
- With custom parameters
{| {{Table|sort|class=floatright}}
! Rows !! Data
|-
! Row 1
| Datum1
|-
! Row 2
| Datum2
|}
Uses class="wikitable sortable floatright"
to produce:
Rows | Data |
---|---|
Row 1 | Datum1 |
Row 2 | Datum2 |