Search results
Results from the WOW.Com Content Network
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)
For table markup, it can be applied to whole tables, table captions, table rows, and individual cells. CSS specificity in relation to content should be considered since applying it to a row could affect all that row's cells and applying it to a table could affect all the table's cells and caption, where styles closer to the content can override ...
If there is no global text alignment set in the top line of the table wikitext, then all text is left aligned, except for header cells which are default center aligned.
{| |+ 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:
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.
Don't code information into the table using only colors or colored symbols. For example, in a table about U.S. politicians, if you color rows about Republicans in one way, and Democrat rows in another way, you should also include text in the rows that specifies party affiliation.
This code generates "page C‑2" just like the plain code "page C-2", but prevents a line break at the hyphen. However, like , the use of ‑ instead of "-" renders the source text harder to read and edit. Don't use it unless it is really necessary to avoid a line break.
Our "Cheatsheet" is a good starting point for learning basic Wikipedia formatting.A more complete guide is here.. You can take some formatting tips from the standard way Wikipedia articles are laid out.