Template:Blockcat: Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
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]]|}}[[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.
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>
</noinclude>

Latest revision as of 15:15, 24 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. If the block is an "Expansion" block, use the "exp" parameter, and set it to whatever category it is an expansion of.