Template:Documentation: Difference between revisions

Gorasuhl (talk | contribs)
switch Doc and Documentation
Tag: Removed redirect
Gorasuhl (talk | contribs)
added note for short forms
 
Line 1: Line 1:
<noinclude>{{doc/start}}
<noinclude>{{doc/start}}
To use, create a sub-page from the template called '''doc''', put {{tlx|doc/start}} at the start of your documentation, and {{tlx|doc/end}} at the end.
To use, create a sub-page from the template called '''doc''', put {{tlx|doc/start}}<ref group="note", name="shortForm>{{tlx|doc}}, {{tlx|doc/start}} and {{tlx|doc/end}} are available short forms for {{tlx|Documentation}}, {{tlx|Documentation/start}} and {{tlx|Documentation/end}}</ref> at the start of your documentation, and {{tlx|doc/end}}<ref group="note", name="shortForm"/> at the end.


Go back to your main template page and put &lt;noinclude&gt;{{tlx|doc}}&lt;/noinclude&gt; on a newline after the end of the template. /doc pages will automatically be added to [[:Category:Template documentation]].
Go back to your main template page and put &lt;noinclude&gt;{{tlx|doc}}&lt;/noinclude&gt;<ref group="note", name="shortForm"/> on a newline after the end of the template. /doc pages will automatically be added to [[:Category:Template documentation]].
 
=== Notes ===
<references group="note"/>


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