FANDOM

5,590 Pages

Template-info Template Documentation (sometimes hidden or invisible)

Template tools: purgewhat links herewhat transclude thissubpages

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

Visit Template:Documentation/doc to edit this text! (How does this work?) (Refresh this text - why?)

Community content is available under CC-BY-SA unless otherwise noted.