Template:Documentation: Difference between revisions

From PZwiki
(deprecated)
m ({{Deprecated template}} -> {{Deprecated}})
Line 23: Line 23:
--></div><!--
--></div><!--
--></onlyinclude></includeonly>
--></onlyinclude></includeonly>
{{Deprecated template|Documentation/sandbox}}
{{Deprecated|Documentation/sandbox}}
{{Languages}}{{documentation}}
{{Languages}}{{documentation}}
[[Category:Template documentation| ]]
[[Category:Template documentation| ]]

Revision as of 04:54, 4 January 2024

Imbox content.png
This template is deprecated.
This template will eventually be removed. Please use Template:Documentation/sandbox instead.
[view] [edit] [history] [purge] Template documentation
The {{Documentation}} template is used to contain the documented information and instructions of a certain template from a /doc subpage.

Usage

To use this template, {{Documentation}} should be added to the template inside a <noinclude> tag, so the documentation isn't transcluded along with the template. Then add the documentation to the /doc page, and it will be added to the template. The documentation page should include the {{Documentation subpage}} template, so it is added to the appropriate documentation category.

Example

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

See also

Documentation transcluded from Template:Documentation/doc.
Editors can experiment in this template's sandbox (create)