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>")
(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:

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.