Help:Introduction to tables with Wiki Markup/1: Difference between revisions
m Evolution and evolvability moved page Help:Introduction to tables/1 to Help:Introduction to tables with Wiki Markup/1: "introduction to" tutorials with longer, more searcheable names |
m invert icon in dark mode |
||
(40 intermediate revisions by 23 users not shown) | |||
Line 1: | Line 1: | ||
{{ |
{{Table help}} |
||
<noinclude>{{pp-protected|small=yes}}{{pp-move-indef}}</noinclude>{{intro to|{{Shortcut|Help:Wikitable}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | The easiest way to insert a new table is to use the editing toolbar that appears when you edit a page (see image above). Clicking the [[File:OOjs UI icon table.svg|20px|class=skin-invert|link=|alt=Table icon]] button will open a dialog where you define what you want in your new table. Once you've chosen the number of rows and columns, the wiki markup text for the table is inserted into the article. Then you can replace the "Example" text with the data you want to be displayed. |
||
⚫ | '''[[help:Tables|Tables]]''' are a |
||
Tables in Wikipedia, particularly large ones, can look intimidating to edit, but the way they work is simple. |
|||
}}<noinclude> |
|||
⚫ | The |
||
<pre style="overflow: auto;width:auto"> |
|||
{| class="wikitable" |
|||
|- |
|||
! Header C1 !! Header C2 !! Header C3 |
|||
|- |
|||
| R1C1 || R1C2 || R1C3 |
|||
|- |
|||
| R2C1 || R2C2 || R2C3 |
|||
|- |
|||
| R3C1 || R3C2 || R3C3 |
|||
|} |
|||
</pre> |
|||
Which looks like: |
|||
{{/table 1}} |
|||
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. |
|||
}} |
|||
[[Category:Wikipedia tables]] |
[[Category:Wikipedia tables]] |
||
</noinclude> |
Latest revision as of 23:24, 21 June 2024
Introduction to tables
How and why
Editing tables
The basics
Expanding tables
Adding rows and columns
Summary
Review of what you've learned
![Enhanced editing toolbar with table button highlighted](http://upload.wikimedia.org/wikipedia/commons/thumb/5/54/WikiEditor-advanced_menu-en_table.png/480px-WikiEditor-advanced_menu-en_table.png)
Tables are a common way of displaying data. This tutorial provides a guide to making new tables and editing existing ones. For guidelines on when and how to use tables, see the Manual of Style.
The easiest way to insert a new table is to use the editing toolbar that appears when you edit a page (see image above). Clicking the button will open a dialog where you define what you want in your new table. Once you've chosen the number of rows and columns, the wiki markup text for the table is inserted into the article. Then you can replace the "Example" text with the data you want to be displayed.
Tables in Wikipedia, particularly large ones, can look intimidating to edit, but the way they work is simple.