Difference between revisions of "Template:Articles"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(Use this template to add categories:)
m
 
(18 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>[[Category:All Pages]]</includeonly>{{#if: {{{1|}}}| [[Category:{{{1}}}]]}} {{#if: {{{2|}}}| [[Category:{{{2}}}]]}}
+
<includeonly>
{{#if: {{{3|}}}| [[Category:{{{3}}}]]}} {{#if: {{{4|}}}| [[Category:{{{4}}}]]}} {{#if: {{{5|}}}| [[Category:{{{5}}}]]}} {{#if: {{{6|}}}| [[Category:{{{6}}}]]}} {{#if: {{{7|}}}| [[Category:{{{7}}}]]}} {{#if: {{{8|}}}| [[Category:{{{8}}}]]}} <noinclude>[[Category:Administrative templates]]</noinclude><noinclude>
+
[[Category:All Pages]][[Category:Howto]]</includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}}]]}}{{#if:{{{2|}}}| [[Category:{{{2}}}]]}}{{#if:{{{3|}}}|[[Category:{{{3}}}]]}}{{#if: {{{4|}}}| [[Category:{{{4}}}]]}}{{#if:{{{5|}}}|[[Category:{{{5}}}]]}}{{#if: {{{6|}}}| [[Category:{{{6}}}]]}}{{#if:{{{7|}}}|[[Category:{{{7}}}]]}}{{#if: {{{8|}}}| [[Category:{{{8}}}]]}}<noinclude>[[Category:Administrative templates]]
 
__NOTOC__
 
__NOTOC__
 
==Use this template to add categories:==
 
==Use this template to add categories:==
 
===Usage===
 
===Usage===
  {{Template:Articles|<font color=red>CAT1</font>|CAT2|CAT3|CAT4|CAT5|CAT6|CAT7|CAT8))
+
  <nowiki>{{Template:Articles|</nowiki><font color=red><CAT1></font><nowiki>|.....|<CAT7>|<CAT8>}}</nowiki>
  
 
===Explanation===
 
===Explanation===
Line 10: Line 10:
 
  '''<nowiki>[[Category:All Pages]]</nowiki>'''  
 
  '''<nowiki>[[Category:All Pages]]</nowiki>'''  
 
is added  
 
is added  
  '''<nowiki>[[Category:</nowiki><font color=red>CAT1</font><nowiki>]]</nowiki>'''  
+
  '''<nowiki>[[Category:</nowiki><font color=red><CAT1></font><nowiki>]]</nowiki>'''  
will be added if you have a value there this can be done for up to 8 additional categories, or no additional categories.  
+
will be added if you have a value there (eg:<font color=red><CAT1></font>). This can be done for up to 8 additional categories (ie: <CAT1>.....<CAT7><CAT8>) or no additional categories.
 +
 
 +
* This Template uses extension [[metawikipedia:ParserFunctions | ParserFunctions]]
  
 
===Add this template to the top of all articles===
 
===Add this template to the top of all articles===
 
</noinclude>
 
</noinclude>

Latest revision as of 04:30, 11 September 2007


Use this template to add categories:

Usage

{{Template:Articles|<CAT1>|.....|<CAT7>|<CAT8>}}

Explanation

By default

[[Category:All Pages]] 

is added

[[Category:<CAT1>]] 

will be added if you have a value there (eg:<CAT1>). This can be done for up to 8 additional categories (ie: <CAT1>.....<CAT7><CAT8>) or no additional categories.

Add this template to the top of all articles