Template:Documentation/Doc

From UFOpaedia
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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}}