Template:Documentation/doc
Jump to navigation
Jump to search
- Description
This template is used to insert documentation on template pages.
- Dependencies
This template uses File:Template-info.svg and the templates {{!}} and {{Tocright}}, while the documentation needs {{T}}.
- Syntax
Type <noinclude>{{Documentation}}</noinclude>
at the end of the template page.
- Parameters
NOTOC= with any values not null, it will not show the table of contents - optional.
- See Also
- Category:Template Documentation
- Category:Templates Without Documentation
General Usage
On the Template Page
Template code <includeonly>Any categories to be inserted into articles by the template</includeonly> <noinclude>{{Documentation}}</noinclude>
On the Template/doc Page
- See also Template:Documentation/preload
;Description This template is used to do ''this''. ;Dependencies This template uses [[:File:image.jpg]]...; {{T|Template1}}...; and the CSS Style/Java scripts <pre> Script code </pre> (or the link to the code) ;Syntax Type {{T|nometemplate}} ''here''. ;Parameters '''text/1=''' parameter 1 - free, default: 1. '''other=''' value of other - optional. ;Samples {{T|Templatename|parameter}} gives: {{Templatename|parameter}} ;See Also/External Links - Links. <includeonly>Any categories for the template itself</includeonly> <noinclude>[[Category:Template Documentation|{{PAGENAME}}]]</noinclude>
Take any or all of the above sections as model to write the documentation. Note that the above example also uses {{T}}.