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

De Inkipédia
m (1 version importée)
m (fix noincludes)
Ligne 7 : Ligne 7 :
     |rgb({{{color}}})
     |rgb({{{color}}})
     |{{ColorScheme|{{{colorscheme|Generic}}}}}
     |{{ColorScheme|{{{colorscheme|Generic}}}}}
}}; border-radius: 11px 0px 0px 11px; text-align: center; font-weight: bold; color: {{ColorScheme|{{{colorscheme|}}}|textColor}}; {{{style|}}}" rowspan="100"|{{{title|{{{1}}}}}}</includeonly><!--
}}; border-radius: 11px 0px 0px 11px; text-align: center; font-weight: bold; color: {{ColorScheme|{{{colorscheme|}}}|textColor}}; {{{style|}}}" rowspan="100"|{{{title|{{{1}}}}}}</includeonly><noinclude>
--><noinclude>{{documentation}}</noinclude>
{{documentation}}
[[Category:Navigation templates]]
</noinclude>

Version du 29 décembre 2023 à 23:04



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:NavboxGroup/doc to edit this documentation. (Comment ça marche ?)

Displays a group header in a navbox. This produces an unterminated wiki table.

Arguments

title Unnamed The group name to display in the row header.
colorscheme Optional The color scheme of the row. Should be the same as the parent 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 header cell.

Example

Normal usage

{{NavboxGroup
|colorscheme = NIWA
|style = width: 150px;
|Group
}}
|Contents
|}
Group Contents

Using color

{{NavboxGroup
|color = {{SiteColor|Splatoon 3}}
|style = width: 150px;
|Group
}}
|Contents
|}
Group Contents