Mr. Johnson (talk | contribs) No edit summary |
Mr. Johnson (talk | contribs) No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Redbox|{{FULLPAGENAME}}|{{Documentation/Documentation}}|width=95%}} | ||
<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> | ||
<!-- We have to do this template's documentation "manually" to avoid a template loop.--> | <!-- We have to do this template's documentation "manually" to avoid a template loop.--> | ||
<includeonly><onlyinclude> | <includeonly><onlyinclude> | ||
[[Category:Template]]{{#ifexist:{{FULLPAGENAME}}/Documentation | [[Category:Template]]{{#ifexist:{{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=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 ]