Difference between revisions of "Template:Documentation"
Jump to navigation
Jump to search
(Created page with "<!-- Automatically add {{template sandbox notice}} when on a /sandbox page. -->{{#ifeq: {{SUBPAGENAME}} | sandbox | <div style="clear: both;"></div>{{template sandbox notice}} ...") |
m (Fixed silliness of it technically using itself) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly> | ||
{{#ifexist:{{{1|{{FULLPAGENAME}}}}}/doc | |||
|{{ {{{1|{{FULLPAGENAME}}}}}/doc }}[[Category:Templates with documentation]] | |||
| | |{{#ifexist:{{{1|{{#titleparts:{{FULLPAGENAME}}|-1}}}}}/doc | ||
}} | |{{ {{{1|{{#titleparts:{{FULLPAGENAME}}|-1}}}}}/doc}}[[Category:Templates with documentation]] | ||
|{{#ifexist:Template:{{{1}}}/doc | |||
|{{ {{{1}}}/doc}}[[Category:Templates with documentation]] | |||
| {{# | |[[Category:Templates with no documentation]]{{/doc}} | ||
}} | |||
}} | }} | ||
}}</includeonly><noinclude> | |||
}}< | {{Documentation/doc}} | ||
</noinclude> | </noinclude> |
Latest revision as of 20:15, 8 March 2015
This template transcludes the template's documentation page automatically, if no documentation is found, the template is added to Category:Templates with no documentation and Template:Doc will be displayed in place.
Parameters[edit]
- 1: (Default: {{FULLPAGENAME}}/doc) Documentation to display.
The above documentation is transcluded from Template:Documentation/doc. (edit | history)