Difference between revisions of "Template:Articles"
From NAS-Central Buffalo - The Linkstation Wiki
m (→Explanation) |
m |
||
(14 intermediate revisions by the same 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]] | + | [[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=== | ||
− | <nowiki>{{Template:Articles|</nowiki><font color=red>CAT1</font><nowiki>| | + | <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 (eg:<font color=red>CAT1</font>). This can be done for up to 8 additional categories (ie CAT1 | + | 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.
- This Template uses extension ParserFunctions