Difference between revisions of "Template:Cat"
Jump to navigation
Jump to search
sc4e>JoeST m (New page: <noinclude>A simple template for adding categories to. Allows upto 9 categories with only the first one being optional. ===Example==== </noinclude><!-- here goes the first one -->{{Option|...) |
m (5 revisions imported) |
||
(19 intermediate revisions by 3 users not shown) | |||
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}}]]|}}<!-- |
+ | <noinclude>{{pp-template}}</noinclude> |
Latest revision as of 00:44, 10 August 2019
A simple template for adding categories to. Allows upto 9 categories with all but the first one being optional.
Example
[[Category:{{{1}}}|Cat]]