Template:InfoboxCategory
Renders the infobox card at the top of a Vault category page — as distinct from the content infoboxes ({{InfoboxMovie}}, {{InfoboxShow}}, etc.), which describe an article's subject rather than a category's place in the tree.
Displays the page's own name automatically via InfoboxCategory — there is no name parameter, since a category page's title is fixed and shouldn't need repeating.
Note: requires the ParserFunctions extension for the conditionals, same as the other infoboxes.
Formatting note: the entire template body is written as one unbroken line, with no line breaks between rows — same rule as every other infobox/brief template on the wiki. Splitting rows across multiple lines causes MediaWiki to wrap them in stray <p> tags; leaving blank lines between otherwise-correct rows causes visible gaps.
Important: this template must never be placed on a page that also contains a call to itself, and must never itself call
InfoboxCategory— doing either produces a "Template loop detected" error.
Usage:
{{InfoboxCategory
|parent_categories=[[:Category:The Vault|The Vault]]
|related_categories=[[:Category:Locations by Type|Locations by Type]], [[:Category:Locations by Geography|Locations by Geography]]
}}
Place at the top of a category page, before its descriptive text.
Parameters
- parent_categories — the category's parent(s) in the tree, as display text/links (this is separate from the actual [[Category:Parent]] tag at the bottom of the page, which is what does the real categorization — this parameter is just the human-readable label)
- related_categories — optional. Sibling or cross-referenced categories worth surfacing to a reader browsing this category
