Template:Categorybox/custom
This is an manual/custom template in the likes of Template:Seriesbox that creates a floating list of member pages. This is best used alongside a manually defined and controlled sidebar on one page that is then transcluded (embedded) into the relevant member pages, same as for Template:Seriesbox.
Real-world examples
- The Category:Sound have one defined, which is then transcluded unto the member pages Glossary:Sound, Glossary:Sound card, Glossary:Surround sound through transclusion using
{{:Category:Sound}}
. - The Template:Stores makes use of one to construct the Stores sidebar on store pages like Store:Amazon or Games for Windows - LIVE.
Related templates
- Template:Categorybox - Automated template for use with defined categories.
- Template:Categorybox/custom - Custom template for use with categories or situations that require manual definition (functions more similar to Template:Seriesbox).
- Template:Categorybox/row - Row template used by both Template:Categorybox and Template:Categorybox/custom.
Syntax
{{Categorybox/custom|title=Title|entries= {{Categorybox/row|link}} {{Categorybox/row|link}} {{Categorybox/row|link}} }}
Parameters
title=
- Title of the sidebar. To make it a link, use regular MediaWiki code such as title=[[Special K]]
or title=[[Glossary:Sound|Sound]]
entries=
Custom entries, in the form of {{Categorybox/row|link}}
for each entry, for example {{Categorybox/row|[[Glossary:Surround sound|Surround sound]]}}
Usage
- Example 1:
link |
link |
link |
{{Categorybox/custom|title=Title|entries= {{Categorybox/row|link}} {{Categorybox/row|link}} {{Categorybox/row|link}} }}
- Example 2:
Sound |
Sound card |
Surround sound |
{{Categorybox/custom|title=[[:Category:Sound|Sound]]|entries= {{Categorybox/row|[[Glossary:Sound|Sound]]}} {{Categorybox/row|[[Glossary:Sound card|Sound card]]}} {{Categorybox/row|[[Glossary:Surround sound|Surround sound]]}} }}