Template:Template: Difference between revisions

Add template autocategorization.
(trying something.)
(Add template autocategorization.)
 
(6 intermediate revisions by 2 users not shown)
Line 1:
<includeonly>
''This is a template. There are many others. See [[:Category:RCTemplates]] for a complete list of templates.''
----
[[Category:RCTemplates]]
</includeonly>
 
''{{alertbox|lightgreen|This is a template. There are many others. See [[:Category:RCTemplates]] for a complete list of templates.''}}[[Category:RCTemplates|{{PAGENAME}}]]{{#if: {{{1|}}} |[[Category:RCTemplates/{{{1}}}]]}}<noinclude>
<noinclude>
--The above gets included in any page (preferably templates) that uses ''this'' template.
 
Mind you: The proper way to use ''this'' template is such:
 
<nowiki> <&lt;noinclude>&gt;{{subst:template}}<&lt;/noinclude>&gt;</nowiki>
 
If you neglect the "noinclude" tags, you'll include the body of this template in any page that uses the template you're editing.