Template:Documentation: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{:{{{1|{{FULLPAGENAME}}/doc}}}}}</includeonly>
<includeonly>{{ #ifexist: {{FULLPAGENAME}}/doc | {{:{{FULLPAGENAME}}/doc}} }}</includeonly>


<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 11:17, 7 August 2023


Usage

  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>