Template:Documentation/doc: Difference between revisions
m 1 revision imported |
m fixed template typo |
||
Line 3: | Line 3: | ||
==Syntax== | ==Syntax== | ||
Add <code><nowiki><noinclude></nowiki>{{ | Add <code><nowiki><noinclude></nowiki>{{tl|documentation}}<nowiki></noinclude></nowiki></code> at the end of the template page. | ||
==Usage== | ==Usage== | ||
Line 27: | Line 27: | ||
==Syntax== | ==Syntax== | ||
Type <code>{{ | Type <code>{{tl|templatename}}</code> somewhere. | ||
==Samples== | ==Samples== | ||
Line 41: | Line 41: | ||
Use any or all of the above description/syntax/sample output sections. You may also want to add "see also" or other sections. | Use any or all of the above description/syntax/sample output sections. You may also want to add "see also" or other sections. | ||
Note that the above example also uses the [[Template: | Note that the above example also uses the [[Template:Tl]] template. | ||
<includeonly>[[Category:Templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:Templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |