Template

Documentation2/doc

From Dogcraft Wiki

(Created page with "Documentation can be written on a /doc subpage, which will automatically be transcluded.")
 
m (Undo revision 41102 by Domino)
Tag: Undo
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Documentation can be written on a /doc subpage, which will automatically be transcluded.
Documentation can be written on a /doc subpage, which will automatically be transcluded.
=== The /doc subpage should start at 3rd level headings ===
Because the template itself uses a 2nd level heading for the Template documentation top header.
=== If it has enough headings ===
The TOC will work properly and not be duplicated
==== Right?? ====
It needs several headings for a TOC to trigger.
==== Like ====
this.

Latest revision as of 00:57, 4 February 2026

Documentation can be written on a /doc subpage, which will automatically be transcluded.

The /doc subpage should start at 3rd level headings

Because the template itself uses a 2nd level heading for the Template documentation top header.

If it has enough headings

The TOC will work properly and not be duplicated

Right??

It needs several headings for a TOC to trigger.

Like

this.