Difference between revisions of "Template:Articles"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[Category:All Pages]]</includeonly>
+
<includeonly>
{{#if: {{{1|}}}| [[Category:{{{1}}}]]}}
+
[[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]]
{{#if: {{{2|}}}| [[Category:{{{2}}}]]}}
+
__NOTOC__
{{#if: {{{3|}}}| [[Category:{{{3}}}]]}}
+
==Use this template to add categories:==
{{#if: {{{4|}}}| [[Category:{{{4}}}]]}}
+
===Usage===
{{#if: {{{5|}}}| [[Category:{{{5}}}]]}}
+
<nowiki>{{Template:Articles|</nowiki><font color=red><CAT1></font><nowiki>|.....|<CAT7>|<CAT8>}}</nowiki>
{{#if: {{{6|}}}| [[Category:{{{6}}}]]}}
+
 
<noinclude>[[Category:Administrative templates]]</noinclude>
+
===Explanation===
 +
By default
 +
'''<nowiki>[[Category:All Pages]]</nowiki>'''
 +
is added
 +
'''<nowiki>[[Category:</nowiki><font color=red><CAT1></font><nowiki>]]</nowiki>'''
 +
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===
 +
</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