Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Template:Categorybox/custom

From PCGamingWiki, the wiki about fixing PC games
< Template:Categorybox
Revision as of 02:25, 9 March 2019 by Aemony (talk | contribs) (initial commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation for the above template (sometimes hidden from view).

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

Related templates

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:
{{{content}}}
Title
{{Categorybox/custom|title=Title|entries=
{{Categorybox/row|link}}
{{Categorybox/row|link}}
{{Categorybox/row|link}}
}}
  • Example 2:
{{{content}}}
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]]}}
}}