Template:Blockcat: Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content added Content deleted
m (MediansSC moved page User:MediansSC/Sandbox/TestingBlockCat to Template:Blockcat: It works)
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{sc|}}}|[[Category:Vanilla Blocks]]|}}{{#if:{{{ext|}}}|[[Category:Extension Blocks]]|}}{{#if:{{{cat|}}}|[[Category:{{{cat}}} Blocks]]|}}[[Category:Blocks]]{{#if:{{{type|}}}|[[Category:{{{type}}} Blocks]]|}}</includeonly><noinclude>==Documentation==
<includeonly>{{#if:{{{sc|}}}|[[Category:Vanilla Blocks]]|}}{{#if:{{{ext|}}}|[[Category:Extension Blocks]]|}}{{#if:{{{cat|}}}|[[Category:{{{cat}}} Blocks]]|}}{{#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.
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.
</noinclude>
</noinclude>

Revision as of 17:11, 1 July 2024

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.