Template:Blockcat: Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "<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}}</noinclude>")
 
(Undo revision 3670 by MediansSC (talk))
Tag: Undo
 
(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}}</noinclude>
<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.
</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.