Template:Documentation/doc

From Zeah RSPS - Wiki
Jump to navigation Jump to search

Script error: The module returned a nil value. It is supposed to return an export table.

{{#replace:Template:Documentation/doc|/doc}} invokes Module:Documentation using Lua.

{{Documentation}} is transcluded in template/module documentation pages. This template should only be used on subpages titled "doc".

This is not the template of the same name from Wikipedia and it is not used in the same way.

Usage

Place Script error: No such module "T". at the top of the documentation page, then transclude {{/doc}} directly from the main template page, within <noinclude> tags.

If the page to be documented is a subpage, use Script error: No such module "T". at the top of the documentation page. For example, Template:Foo/bar's documentation page would use Script error: No such module "T"..

Note

This template links to a /doc that may appear useless, however, it exists in order to link navboxes and userboxes to their base template's documentation.