Difference between revisions of "Template:NavHeader"
From Nookipedia, the Animal Crossing wiki
Dorsal Axe (talk | contribs) |
Dorsal Axe (talk | contribs) (Adding new image size parameter) |
||
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|10px}}" | {{#if: {{{ImageIcon|}}} | [[File:{{{ImageIcon}}}|24px|left|link=]] | }} {{#if: {{{Link|}}} | [[{{{Link|}}}|<font face="Coustard" size=4 color="{{{TextColor}}}">{{{Title|Navbox}}}</font>]] |<font face="Coustard" size=4>{{{Title|Navbox}}}</font>}}<br> | + | ! width="80%" align="center" style="background: {{{PrimaryColor|white}}}; font-weight: normal; {{roundy|10px}}" | {{#if: {{{ImageIcon|}}} | [[File:{{{ImageIcon}}}|{{{ImageSize|24px}}}|left|link=]] | }} {{#if: {{{Link|}}} | [[{{{Link|}}}|<font face="Coustard" size=4 color="{{{TextColor}}}">{{{Title|Navbox}}}</font>]] |<font face="Coustard" size=4>{{{Title|Navbox}}}</font>}}<br> |
|- | |- | ||
| | | |
Revision as of 08:40, February 29, 2020
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.