Category:Templates

From OPPOwiki
Jump to: navigation, search
(adding description as well as sub-categorizing under the top level category)
(expanded description)
 
Line 1: Line 1:
All '''templates''' should be categorized with this 'Templates' category. Also that category tag should be enclosed in a <NOWIKI><noinclude>...</noinclude></NOWIKI> tag so that when the template is used in other pages the 'template' category won't be displayed on that article page.
+
All '''templates''' should be categorized with this 'Templates' category. Also that category tag should be enclosed in a <NOWIKI><noinclude>...</noinclude></NOWIKI> tag so that when the template is used in other pages the 'template' category won't be displayed on that article page. Also by using the PAGENAME special variable to set the templates sort order then all the templates will be sorted on this page by their page name and not under 'T' due to the page namespace impacting the default sort order.
  
In other words, include this text/tag set '''<NOWIKI><noinclude>[[category:Templates]]</noinclude></NOWIKI>''' on template pages.
+
In other words, include this text/tag set '''<NOWIKI><noinclude>[[category:Templates|{{PAGENAME}}]]</noinclude></NOWIKI>''' on template pages.
  
 
[[Category:categories]]
 
[[Category:categories]]

Latest revision as of 19:57, 29 January 2011

Personal tools