Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Help:Table
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Source mode toolbar === <div class=grid> [[File:WikiEditor-advanced menu-en table.png|frame|none|Vector toolbar β default. Table icon [[File:Vector toolbar insert table button new.png|25px]] is circled.]] </div> <div class=grid> [[File:Toolbar2.PNG|frame|none|Monobook toolbar. Table icon [[File:Button insert table.png]] is on the right end.]] </div> To automatically insert a table, click [[File:Vector toolbar insert table button new.png|25px]] or [[File:Button insert table.png]] (Insert a table) on the [[Help:Edit toolbar|edit toolbar]]. In the Vector toolbar the table icon is in the "Advanced" menu. The following wikitext is inserted when '''Insert a table''' [[File:Vector toolbar insert table button new.png|25px]] is clicked. <syntaxhighlight lang=wikitext class=gridbox> {| class="wikitable" |+ Caption text |- ! Header text !! Header text !! Header text |- | Example || Example || Example |- | Example || Example || Example |- | Example || Example || Example |} </syntaxhighlight> The sample text ("Header text" or "Example") is intended to be replaced with actual data. Row numbers (1-3) and column letters (A-C) have been substituted below to help visualization. <div class="box"> '''Wikitext''' <syntaxhighlight lang=wikitext> {| class="wikitable" |+ Caption text |- ! Header A !! Header B !! Header C |- | row 1 A || row 1 B || row 1 C |- | row 2 A || row 2 B || row 2 C |- | row 3 A || row 3 B || row 3 C |} </syntaxhighlight> </div> <div class="box"> '''Produces:''' {| class="wikitable" |+ Caption text |- ! Header A !! Header B !! Header C |- | row 1 A || row 1 B || row 1 C |- | row 2 A || row 2 B || row 2 C |- | row 3 A || row 3 B || row 3 C |} </div> You can fill in the table while in source mode. Or use the visual editor (VE). To create more complex table structures in source mode with cells that span multiple rows or columns, see {{slink||Colspan and rowspan}}.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)