Difference between revisions of "Template:Articles"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
m (Reverted edits by Ramuk (Ramuk); changed back to last version by 67.162.30.158)
Line 1: Line 1:
<includeonly>[[Category:All Pages]][[Category:Howto]]{{#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}}}]]}}</includeonly><noinclude>[[Category:Administrative templates]]
+
<includeonly>[[Category:All Pages]]</includeonly>{{#if: {{{1|}}}| [[Category:{{{1}}}]]}} {{#if: {{{2|}}}| [[Category:{{{2}}}]]}}
__NOTOC__
+
{{#if: {{{3|}}}| [[Category:{{{3}}}]]}} {{#if: {{{4|}}}| [[Category:{{{4}}}]]}} {{#if: {{{5|}}}| [[Category:{{{5}}}]]}}
==Use this template to add categories:==
+
{{#if: {{{6|}}}| [[Category:{{{6}}}]]}} <noinclude>[[Category:Administrative templates]]</noinclude>
===Usage===
+
<nowiki>{{Template:Articles|</nowiki><font color=red><CAT1></font><nowiki>|.....|<CAT7>|<CAT8>}}</nowiki>
+
 
+
===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>
+

Revision as of 04:04, 9 March 2007