Search results
Results from the WOW.Com Content Network
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.
Note: Use {{Vertical align rows}} to align all rows at once. By default, text is aligned to the vertical middle of the cell (2nd column in table below). CSS can be used to vertically align individual cells, or single rows.
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 ...
{{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).
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.
A less common alternative is placing the table of contents on the right, using the template {}. If you look at the wikitext for Figure 13-13, you see the {} template at the top of the edit box. No text should ever be in the lead section above this template. Figure 13-13. This article has the table of contents on the right.
This simple template vertically centers text, including multi-line wrapped text. 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)
Note: If you trying to align a table column (left, center, or right) use Template:Table alignment. This is a generic template for handling the horizontal alignment of elements on a page. Use the template like this: {{align|position|content}}