Template:Documentation

From Mario Fan Games Galaxy Wiki
Revision as of 00:35, 28 November 2012 by Fibriel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template documentation (for the above template, sometimes hidden or invisible)

This template provides a quick documentation for all other templates, to explain its proper use and abilities to members. This documentation is contained in a /doc subpage on the original page.

Use
On any template page, add the following code:
<noinclude>{{doc}}</noinclude>
This will produce a box underneath the template. Click the red text to begin writing documentation.
Example
The documentation on {{clear}} links to the page Template:Clear/doc, containing the raw documentation. On its parent page, Template:Clear, the {{doc}} template calls that subpage and displays it within a styled divider.