Template:Documentation/Doc

From UFOpaedia
< Template:Documentation
Revision as of 02:43, 30 January 2017 by Tvol (talk | contribs) (Template documentation documentation tion tion tion...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Ombox

For use on template pages to seperate documentation from the actual template. Includes a /doc subpage.

Usage

To transclude the documentation of a page, make sure it is wrapped by the <noinclude> tags, starting on the last line as the template:

<!-- Last line of the template --><noinclude>
{{Documentation}}
</noinclude>

You can transclude the documentation of another template:

{{Documentation|PAGENAME}}

Where PAGENAME does not include the namespace, e.g., if you want to transclude the documentation of Template:T:

{{Documentation|Main}}