« Modèle:Navbox » : différence entre les versions

De Inkipédia
FRInki>Trig Jegman
mAucun résumé des modifications
 
m (1 version importée)
 
(2 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 10 : Ligne 10 :
     |{{ColorScheme|{{{colorscheme|Generic}}}|contentBackground}}
     |{{ColorScheme|{{{colorscheme|Generic}}}|contentBackground}}
}}; border-radius: 18px; padding: 4px 4px 0px 4px;"></includeonly>
}}; border-radius: 18px; padding: 4px 4px 0px 4px;"></includeonly>
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}[[Category:Navigation templates]]</noinclude>

Dernière version du 7 janvier 2024 à 14:21



Ci-dessous la documentation du modèle
N.B.: le modèle ci-dessus peut parfois être partiellement ou entièrement invisible.
Visit Modèle:Navbox/doc to edit this documentation. (Comment ça marche ?)

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