No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{ #ifexist:{{FULLPAGENAME}}/doc | {{:{{FULLPAGENAME}}/doc}}< | <includeonly>{{ #ifexist:{{FULLPAGENAME}}/doc | {{:{{FULLPAGENAME}}/doc}}<p>The above documentation is transcluded from [[{{FULLPAGENAME}}/doc]]. <small>([{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit] | [{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history])</small></p> | ||
|<p>This template doesn't have any documentation yet. Create [[{{FULLPAGENAME}}/doc]] to have its contents transcluded here.</p> | |<p>This template doesn't have any documentation yet. Create [[{{FULLPAGENAME}}/doc]] to have its contents transcluded here.</p> | ||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 06:14, 11 September 2023
Usage
- 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>
The above documentation is transcluded from Template:Documentation/doc. (edit | history)