Template:Documentation/doc
< Template:Documentation
Jump to navigation
Jump to search
Revision as of 16:11, 13 June 2022 by Israel.herrera (talk | contribs) (Created page with "Category:Templates == Usage of the Documentation Template == # Create the documentation for a <template> in <template>/doc # At the end of the <template> page, add the fo...")
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.