Difference between revisions of "Template:NavHeader"

From Nookipedia, the Animal Crossing wiki
m (Text replacement - " width="(.*)\%"(.*)style="" to "$2style="width: $1%; ")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{Deprecated|replacement='''[[Template:Navbox]]'''}}</noinclude>
 
<noinclude>{{Deprecated|replacement='''[[Template:Navbox]]'''}}</noinclude>
<includeonly>{| class="collapsible collapsed" width="90%" align="center" style="{{roundy|15px}} background:{{{PrimaryColor|white}}}; border: 2px solid {{{SecondaryColor|black}}}; padding: 2px;"
+
<includeonly>{| class="mw-collapsible mw-collapsed" align="center" style="width: 90%; {{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}}}|{{{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>
+
! align="center" style="width: 80%; 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>
 
|-
 
|-
 
|  
 
|  
{| width="100%" align="center" style="{{roundy|10px}} background:{{{TertiaryColor|white}}};"</includeonly><noinclude>
+
{| align="center" style="width: 100%; {{roundy|10px}} background:{{{TertiaryColor|white}}};"</includeonly><noinclude>
 
== Summary ==
 
== 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).
 
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).

Latest revision as of 20:10, June 30, 2021

Lucky NH Villager Icon.png
This template is deprecated and should no longer be used.
This template's functionality has been superseded by Template:Navbox and all instances of this template should be updated to the linked template instead.
Lucky NH Villager Icon.png
This template is deprecated and should no longer be used.
This template's functionality has been superseded by Template:Navbox and all instances of this template should be updated to the linked template instead.

Template:NavHeader

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.