Category:Templates
From NovaRoma
(Difference between revisions)
(new helpful things) |
(using onlyinclude) |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
There are templates that editors may find useful. | There are templates that editors may find useful. | ||
− | [[Category: | + | ==Putting templates into this category== |
+ | |||
+ | To make a template appear in '''this''' category, add the following to the template: | ||
+ | |||
+ | <nowiki><noinclude>[[Category:Templates]]</noinclude></nowiki> | ||
+ | |||
+ | To prevent a template from appearing in other categories, surround any category statements in the template with: | ||
+ | |||
+ | <nowiki><includeonly>[[Category:...]] ...</includeonly></nowiki> | ||
+ | |||
+ | You can capture all categories in one "includeonly" set. | ||
+ | |||
+ | ===Alternative for simple templates=== | ||
+ | |||
+ | Put the functional part of the template inside | ||
+ | |||
+ | <nowiki><onlyinclude>... </onlyinclude></nowiki> | ||
+ | |||
+ | and leave | ||
+ | |||
+ | <nowiki>[[Category:Templates]]</nowiki> | ||
+ | |||
+ | outside. | ||
+ | |||
+ | [[Category:Maintenance Categories]] |
Latest revision as of 08:18, 20 December 2007
There are templates that editors may find useful.
Putting templates into this category
To make a template appear in this category, add the following to the template:
<noinclude>[[Category:Templates]]</noinclude>
To prevent a template from appearing in other categories, surround any category statements in the template with:
<includeonly>[[Category:...]] ...</includeonly>
You can capture all categories in one "includeonly" set.
Alternative for simple templates
Put the functional part of the template inside
<onlyinclude>... </onlyinclude>
and leave
[[Category:Templates]]
outside.
Subcategories
This category has the following 8 subcategories, out of 8 total.
CDE |
NST |
Y |
Pages in category "Templates"
The following 103 pages are in this category, out of 103 total.