Template:Cat. table entry

From SGUTranscripts
Revision as of 02:51, 13 July 2023 by Xanderox (talk | contribs) (Undo revision 18186 by Xanderox (talk) hmm..)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description[edit]

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[edit]

There are 3 variables:

  • icon – full filename of picture to use as category icon
  • category – category name
  • categoryLabel – 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[edit]

{{Cat. table entry
|icon           = 
|category       = 
|categoryLabel  = 
}}