Search results
Results from the WOW.Com Content Network
In this example, the scope attribute defines what the headers describe, column or row, which screen readers use. You can add a table using HTML rather than wiki markup, as described at HTML element#Tables. However, HTML tables are discouraged because wikitables are easier to customize and maintain, as described at manual of style on tables.
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.
For years in HTML, a table has always forced an implicit line-wrap (or line-break). So, to keep a table within a line, the workaround is to put the whole line into a table, then embed a table within a table, using the outer table to force the whole line to stay together. Consider the following examples: Wikicode (showing table forces line-break)
{| |+ caption table code goes here |} To start a new table row, type a vertical bar and a hyphen on its own line: "|-". The codes for the cells in that row start on the next line. {| |+ The table's caption |-row code goes here |-next row code goes here |} Type the codes for each table cell in the next row, starting with a bar:
Tables will show the "[hide]" / "[show]" controls in the first row of the table (whether or not it is a header row), unless a table caption is present.(see § Tables with captions) Example with a header row
The code above is in {{Conditional tables/example 2c}}. As before, the table below demonstrates the effect when it's used: As before, the table below demonstrates the effect when it's used: Template call
Get AOL Mail for FREE! Manage your email like never before with travel, photo & document views. Personalize your inbox with themes & tabs. You've Got Mail!
Tables are a way of presenting information into rows and columns. Tables can be useful for various types of content on Wikipedia, but they should only be used when appropriate. In some cases, the information might be better conveyed in prose or as embedded lists. Overusing tables, especially with complex coding, can make pages harder to edit ...