ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Template:Toc/doc
Jump to navigation
Jump to search
This template will specify the catalogue of the page and make it float (that is, the text can surround the catalogue), specify the location of the catalogue, or make it have no text around on the left / right side.
Parameters descriptions
Parameters | Default values | Optional values | Descriptions |
---|---|---|---|
1
|
left |
left , right , center |
The first parameter, for specifying the location of the catalogue. Please do not use center in general.
|
2
|
(NULL) (Only if the value of parameter 1 is left )
|
right (Only if the value of parameter 1 is left )
|
The second parameter, use for specifying which side of the catalogue to empty, which will make that side have no text around the catalogue. Only while the catalogue is left, you will have option right to clear the text on the right. In other cases, the side to be cleared will be automatically specified and cannot be customized.
|
Examples
Use {{Toc}}
or {{Toc|left}}
- Please go to {{Toc/doc/example/left}}.
Use {{Toc|center}}
- Please go to {{Toc/doc/example/center}}.
Use {{Toc|right}}
- Please go to {{Toc/doc/example/right}}.