From Fedora Project Wiki

(Reverted a mistakingly placed user page)
(Added more content for this template)
 
Line 1: Line 1:
To add documentation for a template: add this line to the end of your template:
[[:Template:Tempdoc]] provides a convenient way to include documentation for a template. This template is the preferred way to insert this sort of information.
:'''<nowiki>&lt;noinclude>{{tempdoc}}&lt;/noinclude></nowiki>'''
 
This will automatically transclude the /doc subpage of the template. Click the ''edit'' link to edit the documentation.
To use this template, insert <code><nowiki><noinclude>{{tempdoc}}</noinclude></nowiki></code> at the end of the template. The <code><nowiki><noinclude></noinclude></nowiki></code> tags may be omitted if the template has already been wrapped with <code><nowiki><onlyinclude></onlyinclude></nowiki></code> tags.
 
[[:Template:For]] and [[:Template:Delete]] demonstrate this template in action.

Latest revision as of 04:35, 3 July 2010

Template:Tempdoc provides a convenient way to include documentation for a template. This template is the preferred way to insert this sort of information.

To use this template, insert <noinclude>{{tempdoc}}</noinclude> at the end of the template. The <noinclude></noinclude> tags may be omitted if the template has already been wrapped with <onlyinclude></onlyinclude> tags.

Template:For and Template:Delete demonstrate this template in action.