Template:Documentation

From UFRC
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.