Difference between revisions of "Template:Documentation/doc"

From Bronies.wiki
Jump to navigation Jump to search
(Created page with "This template is intended for documenting templates and other pages that are transcluded onto other pages. It can be used in the template names...")
 
(Add no substitution warning.)
 
Line 6: Line 6:
 
<pre><nowiki>{{Documentation}}</nowiki></pre>
 
<pre><nowiki>{{Documentation}}</nowiki></pre>
  
There are no parameters.
+
There are no parameters.
 +
 
 +
This template should never be [[mediawikiwiki:Help:Substitution|substituted]] in normal use.

Latest revision as of 11:57, 3 October 2020

This template is intended for documenting templates and other pages that are transcluded onto other pages. It can be used in the template namespace and most other namespaces.

Keeping documentation separate from template code allows for a separation of concerns: templates are complex, typically requiring advanced knowledge of wikitext and ParserFunctions, whereas documentation is intended to be human-readable prose. It also allows for templates to be protected without affecting the ability to document it.

Usage[edit source]

{{Documentation}}

There are no parameters.

This template should never be substituted in normal use.