Difference between revisions of "Template:Cat"
Jump to navigation
Jump to search
sc4e>JoeST m (omg an equals sine) |
sc4e>JoeST m (fixed) |
||
Line 1: | Line 1: | ||
− | <noinclude>A simple template for adding categories to. Allows upto 9 categories with | + | <noinclude>A simple template for adding categories to. Allows upto 9 categories with all but the first one being optional. |
===Example=== | ===Example=== | ||
</noinclude><!-- | </noinclude><!-- | ||
here goes the first one | here goes the first one | ||
− | -->{{ | + | -->{{#if:{{{1}}}|[[Category:{{{1}}}|{{PAGENAME}}]]|}}<!-- |
optional ones | optional ones | ||
− | -->{{ | + | -->{{#if:{{{2|}}}|[[Category:{{{2|}}}|{{PAGENAME}}]]|}}<!-- |
− | -->{{ | + | -->{{#if:{{{3|}}}|[[Category:{{{3|}}}|{{PAGENAME}}]]|}}<!-- |
− | -->{{ | + | -->{{#if:{{{4|}}}|[[Category:{{{4|}}}|{{PAGENAME}}]]|}}<!-- |
− | -->{{ | + | -->{{#if:{{{5|}}}|[[Category:{{{5|}}}|{{PAGENAME}}]]|}}<!-- |
− | -->{{ | + | -->{{#if:{{{6|}}}|[[Category:{{{6|}}}|{{PAGENAME}}]]|}}<!-- |
− | -->{{ | + | -->{{#if:{{{7|}}}|[[Category:{{{7|}}}|{{PAGENAME}}]]|}}<!-- |
− | -->{{ | + | -->{{#if:{{{8|}}}|[[Category:{{{8|}}}|{{PAGENAME}}]]|}}<!-- |
− | -->{{ | + | -->{{#if:{{{9|}}}|[[Category:{{{9|}}}|{{PAGENAME}}]]|}}<!-- |
Revision as of 05:56, 26 January 2009
A simple template for adding categories to. Allows upto 9 categories with all but the first one being optional.
Example
[[Category:{{{1}}}|Cat]]