Difference between revisions of "Template:NavHeader"

From Nookipedia, the Animal Crossing wiki
m
Line 1: Line 1:
 
<includeonly>{| class="collapsible collapsed" width="90%" align="center" style="{{roundy|15px}} background:{{{PrimaryColor|white}}}; border: 2px solid {{{SecondaryColor|black}}}; padding: 2px;"
 
<includeonly>{| class="collapsible collapsed" width="90%" align="center" style="{{roundy|15px}} background:{{{PrimaryColor|white}}}; border: 2px solid {{{SecondaryColor|black}}}; padding: 2px;"
 
|-
 
|-
! width="80%" align="center" style="background: {{{PrimaryColor|white}}}; font-weight: normal; {{roundy|9px}}" | {{#if: {{{ImageIcon|}}} | [[File:{{{ImageIcon}}}|24px|left|link=]] | }} <font face="Coustard" size=4 {{#if: {{{TextColor|}}} | color="{{{TextColor}}}" | }}>{{{Title|Navbox}}}</font><br>
+
! width="80%" align="center" style="background: {{{PrimaryColor|white}}}; font-weight: normal; {{roundy|9px}}" | {{#if: {{{ImageIcon|}}} | [[File:{{{ImageIcon}}}|24px|left|link=]] | }} <font face="Coustard" size=4 {{#if:{{{TextColor|}}}|color="{{{TextColor}}}"| }}>{{{Title|Navbox}}}</font><br>
 
|-
 
|-
 
|  
 
|  

Revision as of 09:55, October 25, 2019

Summary

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

Parameters

All parameters are required unless otherwise noted.

  • Title - The navbox title.
  • ImageIcon - Image icon that appearing in the left of the header.
  • TextColor - Navbox text color.
  • PrimaryColor - Navbox header background color.
  • SecondaryColor - Navbox header border color.
  • TertiaryColor - Navbox background color.