When it comes to building websites, developers have come to think of tables as a bad word. Instead of using tables to layout a web page, most developers opt for Cascading Style Sheets (CSS) to define positions and the layout of a page.
When we talk about tables as they pertain to our wiki, we are not talking about the layout of the site. Instead, we are using tables only to organize and display content to our viewers. In this instance, the use of tables is encouraged.
To create a table in MediaWiki, we need to use curly braces and a vertical line like {| |}. {| is used to open the table and |} to close the table. All the content will be between these two tags. This is also known as wiki-pipe syntax.
Note
Note: Both opening and closing table syntax must reside on a separate line. No other tags, apart from attributes of the tables, may exist in those two lines or else the table will not be rendered properly.
There are some important rules we need to follow in regards...