Template:Blockcat: Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
(Undo revision 3670 by MediansSC (talk))
Tag: Undo
 
Line 1: Line 1:
<includeonly>{{#if:{{{sc|}}}|[[Category:Vanilla Blocks]]|}}{{#if:{{{ext|}}}|[[Category:Extension Blocks]]|}}{{#if:{{{cat|}}}|[[Category:{{{cat}}} 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:{{{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>

Latest revision as of 17:32, 3 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.