Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Protected "Template:Documentation" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite))) |
No edit summary |
||
Line 14: | Line 14: | ||
<code><nowiki><noinclude>{{documentation}}</noinclude></nowiki></code><br/> |
<code><nowiki><noinclude>{{documentation}}</noinclude></nowiki></code><br/> |
||
<code><nowiki><noinclude>{{documentation|templatename}}</noinclude></nowiki></code><br/> |
<code><nowiki><noinclude>{{documentation|templatename}}</noinclude></nowiki></code><br/> |
||
[[Category:Templates]] |
Latest revision as of 19:14, 19 August 2020
Use this template within a template page to transclude its documentation. If the template shares the same documentation as another template, pass the other template's name as parameter 1.
Examples of usage
The doc transclusion should be placed at the end of the template code:
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation|templatename}}</noinclude>