From Fedora Project Wiki

(New page: To add documentation for a template: add this line to the end of your template: :'''<nowiki><noinclude>{{tempdoc}}</noinclude></nowiki>''' This will automatically transclude the /doc subpa...)
 
No edit summary
Line 1: Line 1:
To add documentation for a template: add this line to the end of your template:
To add documentation for a template: add this line to the end of your template:
:'''<nowiki><noinclude>{{tempdoc}}</noinclude></nowiki>'''
:'''<nowiki>&lt;noinclude>{{tempdoc}}&lt;/noinclude></nowiki>'''
This will automatically transclude the /doc subpage of the template. Click the red link to edit the documentation.
This will automatically transclude the /doc subpage of the template. Click the red link to edit the documentation.

Revision as of 19:55, 29 May 2008

To add documentation for a template: add this line to the end of your template:

<noinclude>{{tempdoc}}</noinclude>

This will automatically transclude the /doc subpage of the template. Click the red link to edit the documentation.