Template:Blockcat: Difference between revisions

Content deleted Content added
m MediansSC moved page User:MediansSC/Sandbox/TestingBlockCat to Template:Blockcat: It works
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1:
<includeonly>{{#if:{{{sc|}}}|[[Category:Vanilla Blocks]]|}}{{#if:{{{ext|}}}|[[Category:Extension Blocks]]|}}{{#if:{{{cat|}}}|[[Category:{{{cat}}} Blocks]]|}}[[Category:Blocks]]{{#if:{{{exp|}}}|[[Category:{{{exp}}} Blocks/Expansion]]|}}{{#if:{{{type|}}}|[[Category:{{{type}}} Blocks]]|}}</includeonly><noinclude>==Documentation==
This template adds categories to block articles. To add the "Vanilla Blocks" category, set the sc parameter to anything. To add the "Extension Blocks" category, set the ext parameter to anything. To add a category/extension as a category, set the "cat" parameter to the name of the category. For block types (Stack/Reporter/etc), use the type parameter. If the block is an "Expansion" block, use the "exp" parameter, and set it to whatever category it is an expansion of.
</noinclude>