<translate> {{<tvar name=1>PLURAL:2</tvar>|shortcut|shortcuts}}:</translate> {{valign}} {{vertical-align}}

Templat:Vertical align rows

Dari Wiki Javasatu
Loncat ke navigasi Loncat ke pencarian
[lihat] [sunting] [riwayat] [hapus singgahan] Ikon dokumentasi Dokumentasi templat

Adding style=vertical-align:top or style=vertical-align:bottom to a table doesn't align its rows, but the table itself. This template vertical aligns all rows in a table.

Usage[sunting sumber]

{| class=wikitable
| A || B1<br>B2 || C1<br>C2<br>C3
|}
A B1
B2
C1
C2
C3
{{vertical-align}}
{| class="vertical-align-top wikitable"
| A || B1<br>B2 || C1<br>C2<br>C3
|}
A B1
B2
C1
C2
C3
{{vertical-align}}
{| class="vertical-align-bottom wikitable"
| A || B1<br>B2 || C1<br>C2<br>C3
|}
A B1
B2
C1
C2
C3