Search results
Results from the WOW.Com Content Network
mw-collapsible also does not require a header row in the table, as collapsible did. 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
A common use is to make a collapsible layout table, which always displays an introduction or summary, but hides the rest of the content from immediate view. The introduction or summary is in the first row, and the content is in subsequent rows. The content is then easily accessible by using the 'show' button.
Tables on the right are autocollapse.Only the green cells should be visible on the left after clicking [hide] and there should be no red cells visible on the right until clicking [show]. Simple tests [ edit ]
the basic code for a table row; code for color, alignment, and sorting mode; fixed texts such as units; special formats for sorting; In such a case, it can be useful to create a template that produces the syntax for a table row, with the data as parameters. This can have many advantages: easily changing the order of columns, or removing a column
If the first text-word is too long, no text will fit to complete the left-hand side, so beware creating a "ragged left margin" when not enough space remains for text to fit alongside floating-tables. If multiple single image-tables are stacked, they will float to align across the page, depending on page-width.
(I guess someone could also wish to collapse certain rows only or exclude specific rows or columns.) — Christoph Päper 15:35, 1 March 2010 (UTC) As it turns out collapsing only specific rows is quite simple for opt-out, a bit more complex for opt-in and even more complex for columns.
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 ...
This template adds a column of row numbers to a table. The numbers do not sort with the rest of the table, remaining static. Optional classes are provided to display a column label or disable numbers on specific rows. It works on desktop and mobile versions of Wikipedia pages.