Search results
Results From The WOW.Com Content Network
Template parameters [Edit template data] Parameter Description Type Status margin-left margin-left To set a margin on the table's lefthand side. Default 0 String optional width width To set the table's overall width. Default auto String optional style style For CSS styles amending the table's overall appearance. String optional noheaders noheaders Set (as e.g. noheaders=on) to suppress the ...
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. Also, note that the <thead>, <tbody>, <tfoot>, <colgroup>, and <col> elements are not supported in wikitext.
Category:Wikipedia tables: lists even more table help pages. Help:Introduction to tables with Wiki Markup. Wikipedia:Manual of Style/Tables: the Manual of Style indicates best practices for tables. Wikipedia:Table dos and don'ts: a quick guide to the Manual of Style for tables. mw:Help:Tables; User:Dcljr/Tables: table tutorials.
Template:Table alignment (see previous section) will not work on columns of row headers. There are some other limitations listed at Template:Table alignment. In these cases you can try the following method for the first column only. This can be done in the wikitext source editor.
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 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.
This template is designed to make passing tables to templates less of a hassle. Oftentimes, adding wikitable markup to a template or other parser tag generates gibberish when one fails to escape every | and =. Moreover, escaping pipe characters with {} everywhere can make for some rather ugly-looking markup.
Another way to fix the problem is to copy the table wikitext to a text editor such as freeware NoteTab Light. The following method works for tables with flag templates. In the table wikitext do a mass replace of }}|| to }}^P|. ^P is the NoteTab Light code for a line break. That puts the row header cells on a separate line in the wikitext.
The purpose is of this template is for generating simple tables in locations where standard table markup is either not possible, without significant use of the {{!}} magic word (e.g., with a {} template), or cumbersome (due to the repetitive use of specification of the same style statement in each row).