Template:Doc/doc: Difference between revisions
Streetclaw (talk | contribs) Created page with "Template documentation" |
Streetclaw (talk | contribs) Documentation information added |
||
Line 1: | Line 1: | ||
Template documentation | Template to describe and document templates. | ||
== About == | |||
This template should be used for the documentation of templates. | |||
== Parameter == | |||
None | |||
== Examples == | |||
Inserts the content of [[Template:Doc/doc]] if used in [[Template:Doc]]. | |||
<pre> | |||
{{doc}} | |||
</pre> | |||
The template should only be used inside of <code>noinclude</code>. | |||
<pre> | |||
<noinclude>{{doc}}</noinclude> | |||
</pre> |
Latest revision as of 15:46, 15 August 2020
Template to describe and document templates.
About
This template should be used for the documentation of templates.
Parameter
None
Examples
Inserts the content of Template:Doc/doc if used in Template:Doc.
{{doc}}
The template should only be used inside of noinclude
.
<noinclude>{{doc}}</noinclude>