Template:NavboxGroup: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Removing userspace reference)
m (make group header <th> (from <td>))
Line 1: Line 1:
<includeonly>{| style="border: 2px solid rgb({{#if:{{{color|}}}|{{Trim|{{{color}}}}}|{{SiteColor|Generic}}}}); border-radius: 14px; width: 100%; border-spacing: 2px; margin-bottom: 4px;"
<includeonly>{| style="border: 2px solid rgb({{#if:{{{color|}}}|{{Trim|{{{color}}}}}|{{SiteColor|Generic}}}}); border-radius: 14px; width: 100%; border-spacing: 2px; margin-bottom: 4px;"
|-
|-
|style="background-color: rgb({{#if:{{{color|}}}|{{Trim|{{{color}}}}}|{{SiteColor|Generic}}}}); border-radius: 11px 0px 0px 11px; text-align: center; font-weight: bold; {{{style|}}}" rowspan="100"|{{Trim|{{{1}}}}}</includeonly><noinclude>__NOTOC__
!style="background-color: rgb({{#if:{{{color|}}}|{{Trim|{{{color}}}}}|{{SiteColor|Generic}}}}); border-radius: 11px 0px 0px 11px; text-align: center; font-weight: bold; {{{style|}}}" rowspan="100"|{{Trim|{{{1}}}}}</includeonly><noinclude>__NOTOC__
Displays a group header in a navbox. This produces an unterminated wiki table.
Displays a group header in a navbox. This produces an unterminated wiki table.



Revision as of 09:52, 16 November 2022

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.
color Optional An RGB triplet to use as the base color for formatting. The default value is 0, 153, 255, which is defined as "Generic" in SiteColor.
style Optional A list of CSS rules to apply to the header cell.

Example

Markup

{{NavboxGroup
|color = {{SiteColor|NIWA}}
|style = width: 150px; color: #ffffff;
|Group
}}
|Contents
|}

Output

Group Contents