No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ #ifexist:{{FULLPAGENAME}}/doc | {{:{{FULLPAGENAME}}/doc}} | <includeonly>== {{{title|Documentation}}} == | ||
The above documentation is transcluded from [[{{FULLPAGENAME}}/doc]]. <small>([{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit] | [{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history])</small> | {{ #ifexist:{{FULLPAGENAME}}/doc | {{:{{FULLPAGENAME}}/doc}}<p>The above {{NAMESPACE}} documentation is transcluded from [[{{FULLPAGENAME}}/doc]]. <small>([{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit] | [{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history])</small></p> | ||
| This | |<p>This {{NAMESPACE}} page doesn't have any documentation yet. Create [[:{{FULLPAGENAME}}/doc]] to have its contents transcluded here.</p> | ||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation|title=}}</noinclude> |
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>
The above Template documentation is transcluded from Template:Documentation/doc. (edit | history)