Template:Documentation/doc

From UFRC
< Template:Documentation
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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage of the Documentation Template

  1. Create the documentation for a <template> in <template>/doc
  2. 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.