Help:Introduction to tables with Wiki Markup/1: Difference between revisions

Content deleted Content added
No edit summary
move to bottom
 
(52 intermediate revisions by 24 users not shown)
Line 1:
<noinclude>{{pp-protected|small=yes}}{{pp-move-indef}}</noinclude>{{intro to|{{Shortcut|Help:Wikitable}}
[[File:WikiEditor-advanced menu-en table.png|Enhanced editing toolbar with table button highlighted|frameless|border|center|480px]]
 
'''[[help:Tables|Tables]]''' are a commonly-usedcommon way of displaying information, particularly in articles that contain data. This tutorial aims at providingprovides a guide onto howmaking to makenew tables; ifand youediting areexisting lookingones. for theFor policyguidelines on when and how to use themtables, see '''the [[Wikipedia:Manual of Style/Tables|Manual &nbsp;of &nbsp;Style]]'''.
{{for|Detailed information about tables|Help:Table}}
{{Help intro frame top}}
<!-- TABS -->
{{Help:Table/tabs|This=1}}
|style="padding: 2em;" |
<!-- CONTENT -->
[[File:Advanced toolbar of vector skin.png|Enhanced editing toolbar|thumb|420px]]
[[File:Toolbar2.PNG|Standard toolbar|thumb|420px]]
[[File:Vector toolbar insert table button.png|thumb|Enhanced insert table button]]
[[File:Button insert table.png|thumb|Standard insert table button]]
Welcome to the help page for tables!
 
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.
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 '''[[Wikipedia:Manual of Style/Tables|Manual of Style]]'''.
 
Tables in Wikipedia, particularly large ones, can look intimidating to edit, but the way they work is simple.
The simplest way to insert a table is with the editing toolbar that appears when you edit a page. Depending on your preferences, you will see one of two toolbars. Pressing the 'insert table' button will open a dialog that allows you to define a table.
}}<noinclude>{{Table help}}</noinclude><noinclude>
 
 
 
<pre style="overflow: auto;width:auto">
{| class="wikitable"
|-
! HeaderR0C1 !! HeaderR0C2 !! HeaderR0C3
|-
| ExampleR1C1 || ExampleR1C2 || ExampleR1C3
|-
| ExampleR2C1 || ExampleR2C2 || ExampleR2C3
|-
| ExampleR3C1 || ExampleR3C2 || ExampleR3C3
|}
</pre>
 
Which looks like:
{| class="wikitable"
|-
! HeaderR0C1 !! HeaderR0C2 !! HeaderR0C3
|-
| ExampleR1C1 || ExampleR1C2 || ExampleR1C3
|-
| ExampleR2C1 || ExampleR2C2 || ExampleR2C3
|-
| ExampleR3C1 || ExampleR3C2 || ExampleR3C3
|}
 
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.
 
If you don't have the enhanced editing toolbar, you'll want to '''[[Help:Table/Manual tables|create the tables manually]]'''. If you're looking for other ways to format the table, start '''[[Help:Table/Sortable tables|here]]'''.
 
{{-}}
{{Help intro next| target = Help:Table/Manual tables}}
|}
 
[[Category:Wikipedia quick introductions]]
[[Category:Wikipedia tables]]
</noinclude>