Template:Export TOC/doc

From Wikisource
Jump to navigation Jump to search

Usage[edit]

Creates a wrapper for a TOC to force the exporter to include all links within it. There is no visual effect.

Use this when you use plain links as well other templates that apply ws-summary (for example, {{AuxTOC}}). If you do not use this, the plain links will not be included.

Example

{{export TOC|
{{Aux TOC|
* [[/Preface/]]
}}

{|
| [[/Chapter 1/]]: This link will only be included if inside {{export TOC}}
|}
}}

See also[edit]

  • {{hidden export TOC}}: similar, but not shown on the page (but the export tool can still read it).