How to make a wiki table

Wiki tables

First find the vertical pipe key ~~~> | <~~~
On my keyboard, the vertical pipe is located on the same key as the Backslash (\) key. Mine looks like a vertical broken line.
  • Alternatively you can generate one. Make sure the num-lock key is ON then press and hold the alt key while you key in 124 on the number pad.
  • Or you could copy and paste a vertical pipe from any wiki page.

Start and end any line with a vertical pipe and the line will be turned into a table.
| Me |

Me

Add more cells by using more pipes...
| This is a cell. | So is this... | and this. |

This is a cell.So is this...and this.

Adding more rows...
| This is a cell. | So is this... | and this. |
| More cells underneath. | Here... | and here. |

This is a cell.So is this...and this.
More cells underneath.Here...and here.
The cells line up vertically and adjust to fit the text.


Position your text within the cell...
|Left | Right| Centre |
|...............|....................|....................|

LeftRightCentre
............................................................



Put different numbers of cells on each line...
You MUST have the same number of vertical pipes per line.
Placing spare ones together at the beginning of a cell enables you to span cells.

Here there are three pipes giving one top cell and two cells below.
|| top |
| one | two |

top
onetwo

.. and five pipes...
|||| top |
| one | two | three | four |

top
onetwothreefour

It is possible to span from other cells, not just the first one on the line...
As a rough guide... the number of vertical pipes to the left of your text indicates how many cells you will span.

| text ||| text |
| one | two | three | four |

|| text || text |
| one | two | three | four |

||| text | text |
| one | two | three | four |

texttext
onetwothreefour

texttext
onetwothreefour

texttext
onetwothreefour


| text ||| text |
| one | two | three | four |
|| text || text |
||| text | text |

texttext
onetwothreefour
texttext
texttext


Emphasise different sections...
Use single pipes on a line to add a small amount of depth to a row separator. The more you use the deeper is the separator bar.
|
| heading | heading | heading |
|
|
| one | two | three |
| one | two | three |
|
| A | B | C |
| A | B | C |
|

headingheadingheading
onetwothree
onetwothree
ABC
ABC


spacer40Wiki Help Pages:

spacer40
Wiki Options

This page was last edited by quietman at 4:05PM on 15 January 2022

Edit this page
Find referring pages

Wiki Start Page
Recent Wiki Changes