Template:Documentation/doc

From TRMN
< Template:Documentation
Revision as of 14:53, 12 December 2018 by MDGarcia (talk | contribs) (Created page with "{{documentation subpage}} This template can be used on any other template page to transclude documentation to the page. If a documentation subpage (/doc) already exists, the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template can be used on any other template page to transclude documentation to the page.

If a documentation subpage (/doc) already exists, the content of that page will be displayed (like in this case). Otherwise, it will show a short note about missing documentation combined with a link to the subpage to be written.

This is useful to reduce the amount of wikicode that is transcluded every time the template in question is used. Everything that does not need to be transcluded should be put on this subpage, including interwiki links.

Usage

<noinclude>{{doc}}</noinclude>