Category:Categorizing templates: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>A morris
(Created page with 'Templates that categorize articles, usually used in infobox templates. {{Templatecategory}} Category:Templates Category:Infobox templates')
 
sims>LostInRiverview
mNo edit summary
Line 2: Line 2:
{{Templatecategory}}
{{Templatecategory}}
[[Category:Templates]]
[[Category:Templates]]
[[Category:Infobox templates]]
[[Category:Auxiliary templates|Categorizing templates]]

Revision as of 01:38, 21 December 2017

Templates that categorize articles, usually used in infobox templates.

Using this category

To put a template in Category:Categorizing templates:

  • Go to the template documentation page, usually located in the /doc subpage of the template, and then add <includeonly>[[Category:Categorizing templates]]</includeonly> on the template page. The "<includeonly>" tags ensure that the template (and not the template documentation page) get added to the category. Adding categories on the template documentation page allow users to edit them even if the template is fully protected.
  • 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.