Help:Table: Difference between revisions
ArrowHead294 (talk | contribs) m →Sortable tables: Fix |
ArrowHead294 (talk | contribs) |
||
| Line 235: | Line 235: | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ Compact syntax: one line per row | |+ style="font-size: 105%;" | Compact syntax: one line per row | ||
|- | |- | ||
! Wikitext | ! Wikitext | ||
| Line 257: | Line 257: | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ "Airy" syntax: one line per cell | |+ style="font-size: 105%;" | "Airy" syntax: one line per cell | ||
|- | |- | ||
! Wikitext | ! Wikitext | ||
| Line 264: | Line 264: | ||
| <pre> | | <pre> | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |||
!| A|X | !| A|X | ||
!| B|Y | !| B|Y | ||
| Line 272: | Line 273: | ||
</pre> | </pre> | ||
| {{(!}} class{{=}}"wikitable" style{{=}}"margin: auto auto auto auto;" | | {{(!}} class{{=}}"wikitable" style{{=}}"margin: auto auto auto auto;" | ||
{{!-}} | |||
!{{!}} A{{!}}X | !{{!}} A{{!}}X | ||
!{{!}} B{{!}}Y | !{{!}} B{{!}}Y | ||
| Line 280: | Line 282: | ||
|} | |} | ||
Alternatively, pipe characters can be escaped using {{tlx|!}} or {{tlx|pipe}} | Alternatively, pipe characters can be escaped using {{tlx|!}} or {{tlx|pipe}}: | ||
{| class="wikitable" | |||
|+ style="font-size: 105%;" | Using escapes | |||
|- | |||
! Wikitext | |||
! Rendered output | |||
|- | |||
| <pre> | |||
{| class="wikitable" | |||
|- | |||
! A{{pipe}}X | |||
! B{{pipe}}Y | |||
|- | |||
| 1{{pipe}}2 | |||
| 3{{pipe}}4 | |||
|} | |||
</pre> | |||
| {{(!}} class{{=}}"wikitable" style{{=}}"margin: auto auto auto auto;" | |||
{{!-}} | |||
! A{{pipe}}X | |||
! B{{pipe}}Y | |||
{{!-}} | |||
{{!}} 1{{pipe}}2 | |||
{{!}} 3{{pipe}}4 | |||
{{!)}} | |||
|} | |||
== Combining table cells == | == Combining table cells == | ||