Search results
Results from the WOW.Com Content Network
{{columns-list|colwidth=width| Text (usually a list)}} Here, width specifies the width of the columns, and determines dynamically the number of columns based on screen width; more columns will be shown on wider displays. If |colwidth= is not specified, the default width of 30em will be used. This template uses CSS3 multiple-column layout, which ...
This is different from tables on webpages outside Wikipedia. Overall table widths (as opposed to max-widths) do not narrow on most pages outside Wikipedia. See max-width outside Wikipedia: CSS Height, Width and Max-width. Experiment with em and other width settings on another page outside Wikipedia: HTML Table Sizes.
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.
Note: Wikipedia:HTML 5#Table attributes. CSS to replace obsolete attributes for borders, padding, spacing, etc. Add a border around a table using the CSS property border: thickness style color;, for example border:3px dashed red. This example uses a solid (non-dashed) gray border that is one pixel wide:
inner or innercollapse: Uses the mw-collapsible innercollapse classes to make the table collapsible, but only collapse if the table is within a larger table with the outercollapse class. outer or outercollapse: Uses the outercollapse class to collapse any smaller tables within the table it that use the innercollapse class. Can be combined with ...
Also, if the table has cell spacing (and thus border-collapse=separate), meaning that cells have separate borders with a gap in between, that gap will still be visible. A cruder way to align columns of numbers is to use a figure space   or  , which is intended to be the width of a numeral, though is font-dependent in practice:
Template classes named after a template which are part of a series of interacting template classes (e.g. if a wrapper template has class foo and some subtemplates use it, but some use variants like foo1 or foo-small they can be listed as part of the foo "system". Template classes named after a module, since numerous templates may invoke that ...
The table below shows the output from a template call (we'll call the template {{Conditional tables/example 1}}) with different values for {{{variable_foo}}}: Template call Result