Template:Documentation
Revision as of 16:10, 13 June 2022 by Israel.herrera (talk | contribs) (Created page with "Category:Templates <includeonly> {{#ifexist:{{FULLPAGENAME}}/doc|{{{{FULLPAGENAME}}/doc}}|}}</includeonly> <noinclude>{{Template:Documentation/doc}}</noinclude>")
Usage of the Documentation Template
- Create the documentation for a <template> in <template>/doc
- At the end of the <template> page, add the following in a single line:
<noinclude>{{Documentation}}</noinclude>
How it works
Template:Documentation will check if <template>/doc exists and if so, it will include <template>/doc in the actual <template> page when being browsed directly.