Category:Newpage 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>Duskey
(Created the page)
 
m (2 revisions imported: Import from https://sims.wikia.com)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
These templates are used with [[MediaWiki:Newarticletext]].

{{Templatecategory}}
{{Templatecategory}}
[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 20:52, 22 February 2019

These templates are used with MediaWiki:Newarticletext.

Using this category[edit source]

To put a template in Category:Newpage templates:

  • Go to the template documentation page, usually located in the /doc subpage of the template, and then add <includeonly>[[Category:Newpage 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.