Search results
Results From The WOW.Com Content Network
This is used to create custom table of contents templates. It replaces and suppresses the ToC that the wiki software would automatically generate. Template parameters [Edit template data] Parameter Description Type Status Title title The title to use for this ToC element. The default is Contents. String optional Align align Sets the CSS float and clear properties, which forces this float ...
Align all table cells left by default defaultcenter: Align all table cells center by default defaultright: Align all table cells right by default colNleft: Align the cells in column N left, where N is a number colNcenter: Align the cells in column N center, where N is a number colNright: Align the cells in column N right, where N is a number
This is a table-of-contents replacement for alphabetical lists within mainspace articles. The template has all features of other TOC templates, such as optional "Top" "0–9" sections, and allows selecting other sections.
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.
Recall that, outside an image-table, the parameter "right|" causes an image to align (either) above or below an infobox, but would not float alongside the infobox. For that reason, many images beside an infobox are typically set as "left|" to align along the left-margin, rather than floated into the center of the page.
Two table classes floatleft and floatright (case sensitive) help floating the table and adjusting table margins so that they do not stick to the text. floatleft floats the table to the left and adjusts right margin.
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).
Since the Vector 2022 skin forces the table of contents into a sidebar or a pop-up menu, this template does not control the placement of the TOC in that skin. Usage Insert {{TOC right}} at the point in the article where you want the top of the Table of Contents box to appear.