« Modèle:Navbox/doc » : différence entre les versions
De Pikmin FR
fr>Fxfxfx0 m 1 version importée : Import de la majorité des modèles manquants |
fr>Fxfxfx0 mAucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
__NOTOC__ | __NOTOC__{{TemplateStyles usage|pagename=Template:Navbox/styles.css}} | ||
Opens an expandable navigation box. The resulting DOM construct must be terminated with the following wiki markup: | Opens an expandable navigation box. The resulting DOM construct must be terminated with the following wiki markup: | ||
<nowiki></div> | <nowiki></div> |
Version du 7 octobre 2024 à 13:13
Cette page utilise l'Extension:TemplateStyles !
Sa sous-page CSS correspondante se situe sur :
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; use colorscheme instead. 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 |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
Header |
---|
style="background-color: rgb(Modèle:SiteColor); color: black; width: 150px;" rowspan="100"|Group | Content |
---|
Header |
---|
style="background-color: rgb(Modèle:SiteColor); color: black; width: 150px;" rowspan="100"|Group | Content |
---|