සැකිල්ල:Tocbox
Appearance
{{{1}}} |
{{{2}}} |
This template produces a table of contents box, for navigation between pages within a book. Has the same color and font format as the Table of Contents (TOC). As a result it matches it well and can be used for other links. Use <br> tags for hard returns within the content. An example of its use and the result are shown below.
This box was made to place adjacent to the page Table of Contents, in a table cell, to hold links to other pages in the book. The colors are taken from class="toccolors":
.toccolours { border: 1px solid #aaa; background-color: #f9f9f9; padding: 5px; font-size: 95%;}
A top-margin was added to give vertical separation.
භාවිතය
[සංස්කරණය]{{tocbox|width=200px|Other pages| [[Editing Wikitext/Pictures/The Quick Course|The Quick Course]]<br /> [[Editing Wikitext/Pictures/Tiled Images|Tiled Images]]<br /> [[Editing Wikitext/Pictures/Images in Containers|Images in Containers]] }}
Other pages |
The Quick Course Tiled Images Images in Containers |
Parameters
[සංස්කරණය]- Heading
- parameter 1; the top heading of the list (default: centered, bold, TOC size)
- Content
- parameter 2; the content, eg; a list of links (default: left, normal, TOC size)
Options
[සංස්කරණය]- align
- horizontal position on the page or container; left,right, or center; (default left)
- width
- the width of the box (default: 150px)