Help:Introduction to tables with Wiki Markup/Old advanced formatting page

{{intro to|

In general, it is recommended that tables simply use Wikipedia's default formatting. In some circumstances, however, you may need to apply some more complicated formatting using CSS. The appearance of each cell can be controlled by adding  before the cell's contents. CSS formatting is added to headings and captions in the same way. {{/markup examples}}

Any CSS attributes can be added in the.

{{/style examples}}

As an example, here's an example with some varied formatting added to specific cells



Then it would produce this:

{{/table_1}}

CSS attributes can be added to the whole table by editing the first line of the table using  in the first line. Similarly, attributes can be added to a row using  The example below would fill the whole table yellow.

 {| class="wikitable" style="background: yellow;"

All of these formatting options should be used sparingly. Tables in crazy colours are hard to read.

Hidden comments
In complicated tables, sometimes hidden comments can be useful to explain formatting. These hidden comments are only visible when editing the page, not when reading it normally. Comments can be added by placing them between.

}}