(Created page with "== Usage == #Create a <code>/doc</code> page for your template that documents the usage. #Add the following to the bottom of your template: <pre><nowiki><noinclude>{{Documentation}}</noinclude></nowiki></pre>") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Usage == | == Usage == | ||
#Create a <code>/doc</code> page for your template that documents the usage. | #Create a <code>/doc</code> page for your template or page that documents the usage. | ||
#Add the following to the bottom of your template: | #Add the following to the bottom of your template: | ||
<pre><nowiki><noinclude>{{Documentation}}</noinclude></nowiki></pre> | <pre><nowiki><noinclude>{{Documentation}}</noinclude></nowiki></pre> | ||
You can override the default title of this section by providing a title argument: | |||
<pre><nowiki><noinclude>{{Documentation|title=<title>}}</noinclude></nowiki></pre> |
Latest revision as of 08:33, 11 September 2023
Usage[edit source]
- Create a
/doc
page for your template or page that documents the usage. - Add the following to the bottom of your template:
<noinclude>{{Documentation}}</noinclude>
You can override the default title of this section by providing a title argument:
<noinclude>{{Documentation|title=<title>}}</noinclude>