Template:Documentation

From Paquerette Down the Bunburrows Wiki
(Redirected from Template:Doc)
Jump to navigation Jump to search
Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

This template is used to insert descriptions on template pages.

Usage

On the template page

Add the following at the end of the template page. Note, that first <noinclude> tag goes right after the last character of the template code:

<!-- Last line of template code --><noinclude>
{{documentation}}
</noinclude>

On the template/doc page

After adding {{Documentation}} to the template page, use [create] link in the "Documentation" block to create nice documentation subpage layout. The code is preloaded from Template:Documentation/preload.