Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
Renegade54 (talk | contribs) m copyedit |
Renegade54 (talk | contribs) m copyedit |
||
| Line 11: | Line 11: | ||
{{/doc}} | {{/doc}} | ||
|:''This template is not yet documented. Please create documentation here: [[{{FULLPAGENAME}}/doc]]''[[Category:Templates without documentation]]}}</includeonly><noinclude>{{doc}}[[Category:Maintenance templates|{{PAGENAME}}]]</noinclude> | |:''This template is not yet documented. Please create documentation here: [[{{FULLPAGENAME}}/doc]]''[[Category:Templates without documentation]]}}</includeonly><noinclude>{{doc}}[[Category:Maintenance templates|{{PAGENAME}}]]</noinclude> | ||
Revision as of 20:47, 14 December 2021
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| View • Edit • History |
- The following documentation is transcluded from Template:Documentation/doc:
This template can be used on any other template page to transclude documentation on how to use the other template.
If a documentation subpage (/doc) already exists, the content of that page will be displayed (like in this case). Otherwise, it will show a short note about missing documentation combined with a link to the subpage to be written.
This is useful to reduce the amount of wikicode that is transcluded every time the template in question is used. Everything that does not need to be transcluded should be put on this subpage, including interwiki links.
Usage
When creating a template page, copy and paste the following, to automatically insert the Usage information, if it exists.
<noinclude>{{doc}}</noinclude>