Using this category[]
To put a template in Category:Templatecategory:
- Use
<includeonly>[[Category:Templatecategory]]</includeonly>
on the documentation page (see Template:Documentation for more info). The "<includeonly>" tags are necessary to prevent categorizing the documentation page itself in the template category! - If the template doesn't have a documentation page, either make one, or use
<noinclude>[[Category:Templatecategory]]</noinclude>
on the template page. The "<noinclude>" tags are necessary to prevent categorizing all pages using the template in the template category! - If your template is meant to be used in-line, try and make sure that there are as few line feeds (breaks, whitespace, etc.) as possible.
- Remember that a template can be put in multiple categories if it belongs to them all!
- Or, if this is not quite the right category, go back to Category:Templates and try to find a better suited subcategory.
Template documentation (for the above template, sometimes hidden or invisible)
Using this category[]
To put a template in Category:Templatecategory:
- Use
<includeonly>[[Category:Templatecategory]]</includeonly>
on the documentation page (see Template:Documentation for more info). The "<includeonly>" tags are necessary to prevent categorizing the documentation page itself in the template category! - If the template doesn't have a documentation page, either make one, or use
<noinclude>[[Category:Templatecategory]]</noinclude>
on the template page. The "<noinclude>" tags are necessary to prevent categorizing all pages using the template in the template category! - If your template is meant to be used in-line, try and make sure that there are as few line feeds (breaks, whitespace, etc.) as possible.
- Remember that a template can be put in multiple categories if it belongs to them all!
- Or, if this is not quite the right category, go back to Category:Templates and try to find a better suited subcategory.
Visit Template:Templatecategory/doc to edit this text! (edit | history | purge) (How does this work?)