Template:Documentation

From Animal Well Wiki
(Redirected from Template:Doc)
Jump to navigation Jump to search
Template-info.svg Template documentation (for the above template, sometimes hidden or invisible)
[view] [edit] [purge]

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.