Template:Doc: Difference between revisions

15 bytes added ,  29 March 2023
m
no edit summary
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
mNo edit summary
Line 3: Line 3:
To use, create a sub-page from the template called '''doc''', put {{tl|doc/start}} at the start of your documentation, and {{tl|doc/end}} at the end.
To use, create a sub-page from the template called '''doc''', put {{tl|doc/start}} at the start of your documentation, and {{tl|doc/end}} at the end.


Go back to your main template page and put <noinclude>{{tl|/doc}}</noinclude> on a newline after the end of the template. /doc pages will automatically be added to [[:Category:Documentation templates]].
Go back to your main template page and put <code><nowiki><noinclude>{{/doc}}</noinclude></nowiki></code> on a newline after the end of the template. /doc pages will automatically be added to [[:Category:Documentation templates]].


== Optional parameters ==
== Optional parameters ==