Template:Documentation

From Nookipedia, the Animal Crossing wiki
Revision as of 13:27, October 16, 2020 by Sunmarsh (talk | contribs) (Correcting issue where template would suggest that documentation should be created for a page other than the one it was placed on when a custom documentation location link was used.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Template documentation (view)


Usage

{{Documentation|<page title>}}

This template exists to include documentation of a particular template using the doc subpage. Adding {{Documentation}} in, for example, Template:Notice Box effectively transcludes Template:Notice Box/doc.

By default the template will automatically link to a subpage of the page its placed on. The one and only parameter allows you to name a different page instead. This is useful if you want related templates to share the same documentation, as you can link them all to the same subpage.