Template:Navbox: Difference between revisions
From Inkipedia, the Splatoon wiki
m (Oopsie (moved category inside the noinclude tag)) |
(extracted most inline styles to Template:Navbox/styles.css) |
||
Line 1: | Line 1: | ||
<includeonly>{| class="mw-collapsible mw-collapsed navbox" style=" | <includeonly><templatestyles src="Navbox/styles.css" /> | ||
{| class="mw-collapsible mw-collapsed navbox" style="background-color: {{#if:{{{color|}}} | |||
|rgb({{{color}}}) | |rgb({{{color}}}) | ||
|{{ColorScheme|{{{colorscheme|Generic}}}}} | |{{ColorScheme|{{{colorscheme|Generic}}}}} | ||
}} | }}; {{{style|}}}" | ||
|- | |- | ||
|<div style="color: {{ColorScheme|{{{colorscheme|}}}|textColor}} | |<div style="color: {{ColorScheme|{{{colorscheme|}}}|textColor}};">{{{title|{{{1}}}}}}</div> | ||
|- | |- | ||
|<div style="background-color: {{#if:{{{color|}}} | |||
|rgba({{{color}}}, 0.2) | |rgba({{{color}}}, 0.2) | ||
|{{ColorScheme|{{{colorscheme|Generic}}}|contentBackground}} | |{{ColorScheme|{{{colorscheme|Generic}}}|contentBackground}} | ||
}} | }};"></includeonly> | ||
<noinclude>{{documentation}}[[Category:Navigation templates]]</noinclude> | <noinclude>{{documentation}}[[Category:Navigation templates]]</noinclude> |
Latest revision as of 15:55, 11 April 2024
Template documentation follows | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Note: the template above may sometimes be partially or fully invisible. | ||||||||||||||||||||
Visit Template:Navbox/doc to edit this documentation. (How does this work?)
Opens an expandable navigation box. The resulting DOM construct must be terminated with the following wiki markup: </div> |} Arguments
ExampleMarkup{{Navbox |colorscheme = Splatoon 2 |title = S2 Demonstration }} {{NavboxGroup |colorscheme = Splatoon 2 |style = width: 150px; |Group }} |Content |} </div> |} {{Navbox |colorscheme = Splatoon 3 |title = S3 Demonstration }} {{NavboxGroup |colorscheme = Splatoon 3 |style = width: 150px; |Group }} |Content |} </div> |} Output
|