Template:Documentation/doc: Difference between revisions

Template page
No edit summary
No edit summary
 
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:



Latest revision as of 08:33, 11 September 2023

Usage[edit source]

  1. Create a /doc page for your template or page that documents the usage.
  2. 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>