From Fedora Project Wiki

No edit summary
mNo 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>&lt;noinclude>{{tempdoc}}&lt;/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 ''edit'' link to edit the documentation.

Revision as of 00:20, 8 June 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 edit link to edit the documentation.