Template:Cat. table entry: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
(what happens if we lose all the random stuff at the top?) |
||
Line 1: | Line 1: | ||
[[:Category:{{{category}}}| {{#if: {{{categoryLabel|}}} | {{{categoryLabel}}} | {{{category}}} }}]] | [[:Category:{{{category}}}| {{#if: {{{categoryLabel|}}} | {{{categoryLabel}}} | {{{category}}} }}]] | ||
<noinclude> | <noinclude> |
Revision as of 15:21, 27 April 2020
[[:Category:{{{category}}}| {{{category}}}]]
Description
This is a simplified way to add formatted entries to the Browse Categories page. It includes the icon, category, the text used for the link to the category page, and the number of members in that category.
For a list of categories, see Special:Categories.
Usage
There are 3 variables:
icon
– full filename of picture to use as category iconcategory
– category namecategoryLabel
– optional text that appears as the category link. If omitted, the category name is used. Including this variable is useful when you wish to include a line break or use alternative text for a link to a category page.
Example:
{{Cat. table entry |icon = CatIcon energy.png |category = Energy Healing |categoryLabel = Alt med:<br>Energy Healing }}
Copy
{{Cat. table entry |icon = |category = |categoryLabel = }}