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

De Pikmin FR
fr>Fxfxfx0
m Suppression de la catégorie Category:Template documentation et ajout de Catégorie:Documentation de modèle par un robot
m 8 versions importées
 
(5 versions intermédiaires par un autre utilisateur non affichées)
Ligne 1 : Ligne 1 :
__NOTOC__
__NOTOC__{{TemplateStyles usage|Template:Navbox/styles.css{{!}}/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>
Ligne 82 : Ligne 82 :
</div>
</div>
|}
|}
[[category:Template documentation]]
[[Catégorie:Documentation de modèle]]
[[Catégorie:Documentation de modèle]]

Dernière version du 8 avril 2025 à 17:09

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