Search results
Results From The WOW.Com Content Network
One of several templates for styling individual table cells with standard contents and colors. Template parameters [Edit template data] This template prefers inline formatting of parameters. Parameter Description Type Status text 1 text to be displayed instead of the default; if this doesn't work put the text after the template, possibly with a vertical bar | in between Default (template ...
Data cells should normally have plain unbolded text, and a lighter background. In the table below the data cell wikitext is on the same line as the row header wikitext. This causes the data cell backgrounds to be the same shade of gray as the column and row headers. It also makes the data cell text bold. See how to fix this after the table.
The two most commonly used classes are "wikitable" and "wikitable sortable"; the latter allows the reader to sort the table by clicking on the header cell of any column. |+ caption Required for accessibility purposes on data tables, and placed only between the table start and the first table row. ! header cell Optional.
Note that with row headers you need to use a separate row in the wikitext for the row header cell. Here below is what a table looks like if the data cell wikitext is on the same line as the row header wikitext. Note that the data cell text is bolded, and the data cell backgrounds are the same shade of gray as the column and row headers.
Cut cells into parts: Instead of trying to make a super-cell that spans rows/columns, split it into smaller cells while leaving some cells intentionally empty. Use a non-breaking space with or {} in empty cells to maintain the table structure. Custom CSS styling: Override the wikitable class defaults by explicitly specifying:
|4= - The color for the minimum value specified by |2=. |5= - The color for the maximum value specified by |3=. |bold= - Set to a truthy value to make the value bold. |align= - The alignment of the text. Can be left, right, center, or justified. Set to right by default. |style= - Any additional CSS to apply to the cell.
Table row with digital color data, usually in 11 or 12 columns. Template parameters [Edit template data] Parameter Description Type Status common name name the vulgar color name, may contain markup Line required alternative name alias html_name usually used for synonymous names, but may be used for arbitrary content if the last column header is changed Line optional (deprecated) html_name ...
Looking down the column, the software finds the first non-blank cell and assumes that everything else in the column is in the same format. But a number of things can go wrong: Mixed types of data in a column don't sort right. For example, in a column that's for calendar dates, don't put "Unknown" where a date isn't known. Just leave the cell blank.