yoohoo! hot sauce please

10:27, 7 September 2026 (UTC)

Template:Categorytemplate/doc

From 2swagg wiki
Jump to navigationJump to search

{{Categorytemplate|type=module}}

prints:

Lua logo
The pages listed in this category are Lua modules.
This page is part of 2swagg Wiki's administration and is not part of the enswaggclopedia.
Further module category notes

This category contains pages in the Module namespace. It should not contain articles or pages in other namespaces.

To add a module to this category:

In the module's documentation page, usually named Module:Example/doc, add [[Template:Categorytemplate/doc]] inside the <includeonly> section at the bottom of that page.

With 1= prefix, and the text you want to print out, it will print big text in blue.

{{Categorytemplate|1=Templates relating to something}}

Templates relating to something
The pages listed in this category are templates.
This page is part of 2swagg Wiki's administration and is not part of the enswaggclopedia.
Further template category notes

This category contains pages in the Template namespace. It should not contain articles or pages in other namespaces.

To add a template to this category:

If the template has a documentation page, usually named Template:Example/doc, add [[Template:Categorytemplate/doc]] inside the <includeonly> section at the bottom of that page.

Otherwise, add <noinclude>[[Template:Categorytemplate/doc]]</noinclude> at the end of the template code, starting on the same line as its last character.

The 2= prefix does the same thing but next to the "The pages listed.." text. This can be used for small bits of extra info. See any use of this template for an example, including the source code for it to check.