Help:Table: Difference between revisions
ArrowHead294 (talk | contribs) |
m →For single cells: fix |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Wikipedia}} | |||
Tables can be used to layout contents horizontally and vertically. Tables can be made sortable, columns may be aligned, cells may be combined. See the following examples. | Tables can be used to layout contents horizontally and vertically. Tables can be made sortable, columns may be aligned, cells may be combined. See the following examples. | ||
| Line 214: | Line 215: | ||
|- | |- | ||
| Left aligned text | | Left aligned text | ||
| Nothing to do (if the default is "left-align", this is mostly the case)<ref>If a column has other then left-aligned text, for example by <code>class="... right-all"</code> (see above section(s)), cell-specific inline [[CSS]] will prioritized highest</ref> | | Nothing to do (if the default is "left-align", this is mostly the case)<ref>If a column has other then left-aligned text, for example by <code>class="... right-all"</code> (see above section(s)), cell-specific inline [[CSS]] will prioritized highest, and use <code>style{{=}}"text-align: left;" {{pipe}}</code></ref> | ||
|- | |- | ||
| style="text-align:center;" | Centered text | | style="text-align:center;" | Centered text | ||
| Line 220: | Line 221: | ||
|- | |- | ||
| style="text-align:right;" | Right aligned | | style="text-align:right;" | Right aligned | ||
| Place <code>style{{=}}"text-align: | | Place <code>style{{=}}"text-align: right;" {{pipe}}</code> after the opening pipe | ||
|- | |- | ||
! Headline style | ! Headline style | ||