Difference between revisions of "Template:NavGroup"

From Nookipedia, the Animal Crossing wiki
(Slight adjustment of roundedness to match other templates)
Line 1: Line 1:
<includeonly>! {{#if:{{{Rowspan|}}}|rowspan={{{Rowspan}}}|}} style="background: {{{Color}}}; {{#switch:{{{Roundy}}}|Top={{roundytl|10px}}|Bottom={{roundybl|10px}}|Both={{roundyleft|10px}}|}}" width=12% align="center;" | '''<font color="#143448">{{{Title}}}</font>'''</includeonly><noinclude>
+
<includeonly>! {{#if:{{{Rowspan|}}}|rowspan={{{Rowspan}}}|}} style="background: {{{Color}}}; {{#switch:{{{Roundy}}}|Top={{roundytl|9px}}|Bottom={{roundybl|9px}}|Both={{roundyleft|9px}}|}}" width=12% align="center;" | '''<font color="#143448">{{{Title}}}</font>'''</includeonly><noinclude>
 
== Summary ==
 
== Summary ==
 
This template will create a collapsible navigation box group. This template is to be used in conjunction with [[Template:NavHeader]] and [[Template:VillagerNavList]] (characters only).
 
This template will create a collapsible navigation box group. This template is to be used in conjunction with [[Template:NavHeader]] and [[Template:VillagerNavList]] (characters only).

Revision as of 13:50, October 30, 2019

Summary

This template will create a collapsible navigation box group. This template is to be used in conjunction with Template:NavHeader and Template:VillagerNavList (characters only).

Parameters

All parameters are required unless otherwise noted.

  • Title - The group title.
  • Rowspan - Number of rows.
  • Color - Navbox group background color.
  • Roundy - Optional. First or last group of navbox.