Jump to content

Help:Introduction to tables with Wiki Markup/1

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Evolution and evolvability (talk | contribs) at 11:09, 1 December 2015 (Category:Wikipedia tables). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Editing tables
The basics

Expanding tables
Adding rows and columns

Summary
Review of what you've learned




Enhanced editing toolbar
Enhanced editing toolbar

Tables are a commonly used way of displaying information, particularly in articles that contain data. This tutorial aims at providing a guide on how to make tables; if you are looking for the policy on when to use them, see the Manual of Style.


The simplest way to insert a table is with the editing toolbar that appears when you edit a page. Pressing the button will open a dialog that allows you to define a table. Once you've chosen the number of rows and columns, the markup text for the table is inserted into the article.

{| class="wikitable"
|-
! Header R0C1 !! Header R0C2 !! Header R0C3
|-
| R1C1        || R1C2        || R1C3
|-
| R2C1        || R2C2        || R2C3
|-
| R3C1        || R3C2        || R3C3
|}


Which looks like:

Caption
Header C1 Header C2 Header C3
R1C1 R1C2 R1C3
R2C1 R2C2 R2C3


All you have to do is place this where you want it in the article, edit it to match the information you're trying to display, and hit save. You can add more headers by adding more entries in the header section, more rows, or remove headers or rows if you're looking for a smaller table.