User:Makendo/Sandbox/Navbox

From Inkipedia, the Splatoon wiki
Revision as of 14:40, 16 November 2022 by Makendo (talk | contribs) (Fix oversight in backward compat code)

Opens an expandable navigation box. The resulting DOM construct must be terminated with the following wiki markup:

</div>
|}

Arguments

title Unnamed The text to display at the top of the navbox, even when collapsed.
colorscheme Optional The color scheme of the navbox. Defaults to Generic.
color Optional Deprecated: An RGB triplet to use as the base color for formatting. If left blank, the color scheme specified is used.
style Optional A list of CSS rules to apply to the top-level container.

Example

Markup

{{Navbox
|color = {{SiteColor|Splatoon 2}}
|Demonstration
}}
{{NavboxGroup
|color = {{SiteColor|Splatoon 2}}
|style = width: 150px;
|Group
}}
|Content
|}
</div>
|}

Output