Helpo:Tabeloj: Malsamoj inter versioj
Luisgui (diskuto | kontribuoj) Uzu --> Uzu komence de linio |
|||
Linio 4: | Linio 4: | ||
{|class="wikitable" border="1" | |
{|class="wikitable" border="1" | |
||
|- |
|- |
||
! width="250" | Uzu |
! width="250" | Uzu<br>''(ĉiu aperu sola en ĝia propra linio)'' !! width="250" | anstataŭ |
||
|- |
|- |
||
| <nowiki> {|</nowiki> || <nowiki> <table></nowiki> |
| <nowiki> {|</nowiki> || <nowiki> <table></nowiki> |
Kiel registrite je 16:48, 3 mar. 2007
Vikitabeloj estas maniero pli klara kaj pli legebla por desegni tabelojn anstataŭ uzi HTMLon.
Sintakso
Uzu (ĉiu aperu sola en ĝia propra linio) |
anstataŭ |
---|---|
{| | <table> |
|} | </table> |
|- | <tr> |
| | <td> |
|| | </td><td> |
! | <th> |
!! | </th><th> |
nenion | </tr> |
nenion | fina </td> |
Parametroj estas permesitaj post {| |- kaj | . Ilin sekvu fina |
Jen ekzemplo :
HTML
<table border="1">
<tr><th>Iu titolo</th><th>Dua titolo</th><th>Tria titolo </th></tr>
<tr><td>Ĉelo1</td><td rowspan=2 bgcolor="cyan">Nestita tabelo
<table border="1">
<tr><td>a</td><td>b</td><td>c</td></tr>
<tr><td>d</td><td>e</td><td>f</td></tr>
</table>
</td><td>Ĉelo3</td></tr>
<tr><td>Ĉelo4</td><td>Ĉelo5</td></tr>
<tr><td colspan="3" align="center" bgcolor="yellow">Ĉelo6</td></tr>
<tr><td>Ĉelo7</td><td>Ĉelo8</td><td>Ĉelo9</td></tr>
</table>
Vikitabelo
{| class="wikitable" border="1"
|-
! Iu titolo !! Dua titolo !! Tria titolo
|-
| Ĉelo1 || rowspan=2 bgcolor="cyan" align="center" | nestanta tabelo <br>
{| border="1"
|-
| a || b || c
|-
| d || e || f
|}
| Ĉelo3
|-
| Ĉelo4 || Ĉelo5
|-
| colspan="3" align="center" bgcolor="yellow" | Ĉelo6
|-
| Ĉelo7 || Ĉelo8 || Ĉelo9
|}
Rezulto
Iu titolo | Dua titolo | Tria titolo | ||||||
---|---|---|---|---|---|---|---|---|
Ĉelo1 | nestanta tabelo
|
Ĉelo3 | ||||||
Ĉelo4 | Ĉelo5 | |||||||
Ĉelo6 | ||||||||
Ĉelo7 | Ĉelo8 | Ĉelo9 |
Kaj jen eĉ pli simpla ekzemplo
{|class="wikitable" border="2"
|-
! Iu titolo !! Dua titolo !! Tria titolo
|-
| Ĉelo1 || Ĉelo2 || Ĉelo3
|-
| Ĉelo4 || Ĉelo5 || Ĉelo6
|-
| Ĉelo7 || Ĉelo8 || Ĉelo9
|}
Iu titolo | Dua titolo | Tria titolo |
---|---|---|
Ĉelo1 | Ĉelo2 | Ĉelo3 |
Ĉelo4 | Ĉelo5 | Ĉelo6 |
Ĉelo7 | Ĉelo8 | Ĉelo9 |
Vidu ankaŭ
Ŝablono:IlUser's Guide: Using tables (angle) Ŝablono:IlТаблици (bulgare) Ŝablono:IlSyntaxe wikipédia/ tableaux (france)
Ekstera ligo
greke Ilo por ŝanĝi HTML-on al Vikitabeloj
- Konvertilo, el CSV.