Search results
Results From The WOW.Com Content Network
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Pages for logged out editors learn more
The text in the cell is taken from the first parameter; {{yes | Sure}} would output "Sure" otherwise it defaults to "Yes". Most templates allow authors to override the default text in this way, some require text put after the template call and some also need a vertical bar in between: {{table cell template}} text or {{table cell template ...
Note: For vertical alignment of text see: Help:Table#Vertical alignment in cells. 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.
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.
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).
See: Help:HTML in wikitext#Tables. By default, text is aligned to the vertical middle of the cell (2nd column in table below). See: Template:Vertical align rows. It allows one to set all rows in a table to be either top or bottom aligned. {} CSS can be used to align individual cells, or single rows.
It is meant to be used inside a div that defines the region the text is to appear to be in the middle of. It takes three unnamed parameters: The text to be vertically centered (the main parameter) An addendum to the style applied to the inner div container (styled with "display:table-cell;").
{{Vertical text|text}} where text (as unnamed parameter 1) is the string to be displayed vertically. An optional named parameter style may be used to specify additional CSS style attributes (e.g. font-size, color, etc). Note: These style attributes should be terminated with a semicolon and not enclosed in quotes (see examples below).