Mr. Johnson (talk | contribs) No edit summary |
Mr. Johnson (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
|{{Redbox|{{FULLPAGENAME}}|{{ {{FULLPAGENAME}}/Documentation}}}} | |{{Redbox|{{FULLPAGENAME}}|{{ {{FULLPAGENAME}}/Documentation}}}} | ||
<p style="margin-left: 25px">The documentation above was transcluded from [[{{FULLPAGENAME}}/Documentation]]. {{Edit|{{FULLPAGENAME}}/Documentation|action=edit}}</p> | <p style="margin-left: 25px">The documentation above was transcluded from [[{{FULLPAGENAME}}/Documentation]]. {{Edit|{{FULLPAGENAME}}/Documentation|action=edit}}</p> | ||
|{{Redbox|No Documentation|{{Template|{{PAGENAME}}}} has [[:Category:Templates without Documentation|no documentation]]. {{Edit|{{FULLPAGENAME}}/Documentation|Create}}|error|color=red|width= | |{{Redbox|No Documentation|{{Template|{{PAGENAME}}}} has [[:Category:Templates without Documentation|no documentation]]. {{Edit|{{FULLPAGENAME}}/Documentation|Create}}|error|color=red|width=95%}}[[Category:Templates without Documentation|Documentation]] | ||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> |
Latest revision as of 18:53, 3 February 2024
Template:Documentation
Template:Documentation
is used within the template namespace to automate the detection and presentation of documentation.
Usage
It accepts no parameters. It should be included at the top of every template's main page — Boilerplate:Template does this automatically.
Any categories meant to apply to the template itself should be included in the documentation subpage, wrapped inside <includeonly />
tags, rather than directly in the body of the template.
Return
As it relies on the presence or existence of other pages, working examples cannot be provided.The documentation above was transcluded from Template:Documentation/Documentation. [ edit ]