Template:Documentation: Difference between revisions

vexald>Vexald
m 1 revision imported
 
m 1 revision imported
 
(No difference)

Latest revision as of 11:48, 11 April 2025

The template description below will not be displayed when the template is placed.
Template: {{#if:1||This box: }}{{#if:|[}}{{#if:1|v|view}} · {{#if:1|d|talk}}{{#if:|| · {{#if:1|e|edit}}}}{{#if:|]}}Template/doc: {{#if:1||This box: }}{{#if:|[}}{{#if:1|v|view}} · {{#if:1|d|talk}}{{#if:|| · {{#if:1|e|edit}}}}{{#if:|]}}

{{#if:;Goal This template can be used to add information about the purpose and use of a template. It also serves to create a separation between a template and the information about use that is not included when a template is placed.

Usage

The template can be used with two parameters and must be put between <noinclude></noinclude>.

<noinclude>{{documentation|1=

Explanation of purpose and use of the template

}}
</noinclude>
<noinclude>{{documentation|content=

Explanation of purpose and use of the template

}}
</noinclude>
It is suggested to always use the following parts in the template information
  • Goal
  • Usage
And if applicable
  • Default values
  • Related templates

For clarity, headings are best preceded by a semicolon (;). |;Goal This template can be used to add information about the purpose and use of a template. It also serves to create a separation between a template and the information about use that is not included when a template is placed.

Usage

The template can be used with two parameters and must be put between <noinclude></noinclude>.

<noinclude>{{documentation|1=

Explanation of purpose and use of the template

}}
</noinclude>
<noinclude>{{documentation|content=

Explanation of purpose and use of the template

}}
</noinclude>
It is suggested to always use the following parts in the template information
  • Goal
  • Usage
And if applicable
  • Default values
  • Related templates

For clarity, headings are best preceded by a semicolon (;). |Template:Documentation/doc}}