Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly> |
<onlyinclude><includeonly> |
||
<div style="border:1px solid #aaaaaa; background-color:#fafafa |
<div style="border:1px solid #aaaaaa; background-color:#fafafa"> |
||
<div style="padding-bottom: 3px; border-bottom: 1px solid #aaaaaa; margin-bottom: 1ex;"><!-- |
<div style="padding-bottom: 3px; border-bottom: 1px solid #aaaaaa; margin-bottom: 1ex;"><!-- |
||
-->[[File:Template-info.png|50px]] <span style="font-weight:bold; font-size:125%; margin-right:10px;">Documentation</span><!-- |
-->[[File:Template-info.png|50px]] <span style="font-weight:bold; font-size:125%; margin-right:10px;">Documentation</span><!-- |
Revision as of 22:20, 19 December 2019
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>