Difference between revisions of "Template:Furniture Header"

From Nookipedia, the Animal Crossing wiki
(Correcting next furniture selection)
(adding prev and next links)
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| width="100%" align="center" style="text-align:center; background-color: #FFFFCC; border-spacing:0px; border: 3px solid #FFDD66; margin-bottom: 20px; {{Roundy|30px}}"  
+
{| align="center" style="width: 100%; text-align:center; background-color: #cfecc6; border-spacing:0px; border: 3px solid #9ed98c; margin-bottom: 20px; {{Roundy|30px}}"  
| width=35% height=38px style="text-align:left; padding:0 0 0 18px;"|  [[{{{prev|Blue}}} {{{type|Series}}}|{{Colorshow|333|←}}]] [[File:{{{prev|Blue}}}_Bed_HHD_Icon.png|48px|link={{{prev|Blue}}} {{{type|Series}}}]] [[{{{prev|Blue}}} {{{type|Series}}}|{{Colorshow|333|'''({{{prev|Blue}}})''' Previous {{{type|Series}}}}}]]
+
| width=35% height=38px style="text-align:left; padding:0 0 0 18px;"|  [[{{{prev-link|{{{prev|Blue}}} {{{type|Series}}}}}}|{{Colorshow|333|←}}]] {{{pfile|[[File:{{{prev|Blue}}}_Bed_HHD_Icon.png|48px|link={{{prev-link|{{{prev|Blue}}} {{{type|Series}}}}}}]]}}} [[{{{prev-link|{{{prev|Blue}}} {{{type|Series}}}}}}|{{Colorshow|333|'''({{{prev|Blue}}})''' Previous {{{type|Series}}}}}]]
| width=30% style="border-left:3px solid #FFDD66; border-right:3px solid #FFDD66;"| '''[[{{{type|Series (furniture)}}}|{{Colorshow|333|All of the {{{type|Series}}}}}]]'''
+
| width=30% style="border-left:3px solid #9ed98c; border-right:3px solid #9ed98c;"| '''[[{{#ifeq:{{{type|}}}|Series|Series (furniture)|{{{type|Series (furniture)}}}}}|{{Colorshow|333|Furniture {{{type|Series}}}}}]]'''
| width=35% style="text-align:right; padding:0 18px 0 0;"| [[{{{next|Blue}}} {{{type|Series}}}|{{Colorshow|333|Next {{{type|Series}}} '''({{{next|Blue}}})'''}}]] [[File:{{{next|Blue}}}_Bed_HHD_Icon.png|48px|link={{{next|Blue}}} {{{type|Series}}}]] [[{{{next|Blue}}} {{{type|Series}}}|{{Colorshow|333|→}}]]
+
| width=35% style="text-align:right; padding:0 18px 0 0;"| [[{{{next-link|{{{next|Blue}}} {{{type|Series}}}}}}|{{Colorshow|333|Next {{{type|Series}}} '''({{{next|Blue}}})'''}}]] {{{nfile|[[File:{{{next|Blue}}}_Bed_HHD_Icon.png|48px|link={{{next-link|{{{next|Blue}}} {{{type|Series}}}}}}]]}}} [[{{{next-link|{{{next|Blue}}} {{{type|Series}}}}}}|{{Colorshow|333|→}}]]
 
|}<noinclude>
 
|}<noinclude>
  
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
{{Critter Header
+
{{Furniture Header
 
| prev =  
 
| prev =  
 +
| prev-link =
 
| next =  
 
| next =  
 +
| next-link =
 
| type =
 
| type =
 +
| pfile =
 +
| nfile =
 
}}
 
}}
 
</pre>
 
</pre>
{| align="center" width=100% style="background-color:#ff6666; text-align:center; height:50px; {{roundy}}"
+
 
|'''Important:''' This template only works with Series pages as of 9/18/19. Do not place on a theme or set page.
 
|}
 
 
==Notes==
 
==Notes==
 
*The prev parameter takes the name of the previous furniture collection in alphabetical order.
 
*The prev parameter takes the name of the previous furniture collection in alphabetical order.
 
*The next parameter takes the name of the next furniture collection in alphabetical order.
 
*The next parameter takes the name of the next furniture collection in alphabetical order.
 
*The type parameter takes the type of furniture collection. (e.g. series, theme, set)
 
*The type parameter takes the type of furniture collection. (e.g. series, theme, set)
 +
*The pfile parameter allows for a custom image associated with the previous collection.
 +
*The nfile parameter allows for a custom image associated with the next collection.<br>Both pfile and nfile default to a Bed item, therefore default settings will work for Series only. The proper format for these parameters is: <pre>[[File:image.png|48px|link=Collection Name]]</pre>
  
 
Acceptable prev or next parameters:
 
Acceptable prev or next parameters:
Line 180: Line 184:
 
|-
 
|-
 
|}
 
|}
[[Category:Header Templates]]
+
[[Category:Header templates]]
 
</noinclude>
 
</noinclude>

Revision as of 10:29, December 2, 2021

Blue Bed HHD Icon.png (Blue) Previous Series Furniture Series Next Series (Blue) Blue Bed HHD Icon.png

Usage

{{Furniture Header
| prev = 
| prev-link = 
| next = 
| next-link = 
| type =
| pfile =
| nfile =
}}

Notes

  • The prev parameter takes the name of the previous furniture collection in alphabetical order.
  • The next parameter takes the name of the next furniture collection in alphabetical order.
  • The type parameter takes the type of furniture collection. (e.g. series, theme, set)
  • The pfile parameter allows for a custom image associated with the previous collection.
  • The nfile parameter allows for a custom image associated with the next collection.
    Both pfile and nfile default to a Bed item, therefore default settings will work for Series only. The proper format for these parameters is:
    [[File:image.png|48px|link=Collection Name]]

Acceptable prev or next parameters:

Series Theme Set
Alpine Backyard Bear
Astro Boxing Bonsai
Balloon Chess Cactus
Blue Classroom Chess
Cabana Construction Citrus
Cabin Creepy Classroom
Card Japanese Dharma
Classic Mad Scientist Drum
Egg Mario Fish
Exotic Mossy Garden Flower
Golden Nursery Froggy
Gorgeous Pirate Ship Golf
Gracie Rock Garden Guitar
Green Sci-Fi Hospital
Harvest Spa House Plant
Ice Space Insect
Jingle Western Juicy-Apple
Kiddie Lava Lamp
Lovely Lucky Cat
Mermaid Lucky Nintendo
Minimalist Museum
Modern Nintendo
Modern Wood Office
Mushroom Oil Drum
Pave Panda
Polka-Dot Pear
Princess Pine
Ranch Pine Bonsai
Regal Red Furniture
Robo Robot
Rococo String
Sleek Study
Sloppy Totem Pole
Snowman Vase
Spooky Vending Machine
Stripe Watermelon
Sweets Zen
Zen Garden