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

Content deleted Content added
+ hatnote
move to bottom
 
(53 intermediate revisions by 25 users not shown)
Line 1:
<noinclude>{{pp-protected|small=yes}}{{pp-move-indef}}</noinclude>{{intro to|{{Shortcut|Help:Wikitable}}
{{for|Detailed information about tables|Help:Table}}
[[File:WikiEditor-advanced menu-en table.png|Enhanced editing toolbar with table button highlighted|frameless|border|center|480px]]
{{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!
 
'''[[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]]'''.
 
The simplesteasiest way to insert a new table is withto use the editing toolbar that appears when you edit a page (see image above). DependingClicking onthe [[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 preferences,new table. Once you've willchosen seethe onenumber of tworows toolbars.and Pressingcolumns, the 'insertwiki markup text for the table' buttonis willinserted openinto athe dialogarticle. thatThen you can replace the "Example" text with the allowsdata you want to definebe adisplayed. table.
 
Tables in Wikipedia, particularly large ones, can look intimidating to edit, but the way they work is simple.
 
}}<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>