Difference between revisions of "Template:Availability"

From Nookipedia, the Animal Crossing wiki
(Check to use either   or plain space for note)
(adding no-image parameter)
 
(217 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<span style="font-size:.9em; display:inline-block;">{{#switch:{{{1|}}}
+
{{#invoke:Availability|main|{{{1|Unknown}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|text={{{text|}}}|nb={{{nb|}}}|note={{{note|}}}|size={{{size|}}}|noimages={{{no-image|}}}}}<noinclude>{{Clear}}{{Documentation}}[[Category:Formatting templates]]</noinclude>
| Able Sisters = [[File:Able Sisters NH Map Icon.png|{{{size|22px}}}|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
| Animal Island = [[File:Animal Island PG Icon.png|{{{size|18px}}}|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
| Blathers
 
| C.J.
 
| Celeste
 
| Cyrus
 
| Flick
 
| Gullivarrr
 
| Gulliver
 
| Isabelle
 
| Kicks
 
| Label
 
| Luna
 
| Pascal
 
| Saharah
 
| Redd
 
| Rover
 
| Mabel
 
| Wilbur
 
| Sable
 
| Zipper
 
| Tom Nook = [[File:{{{1|}}} NH Character Icon.png|{{{size|22px}}}|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
| K.K. Slider = [[File:K.K. NH Character Icon.png|{{{size|22px}}}|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
| Crafting = [[File:Menu DIY NH Icon.png|{{{size|22px}}}|link=DIY]]&nbsp;[[DIY|Crafting]]
 
| Tom Nook's store = [[File:Tom Nook NH Character Icon.png|{{{size|22px}}}|link=Tom Nook's store]]&nbsp;[[Tom Nook's store]]
 
| Timmy and Tommy's store = [[File:Nooklings NH Icon.png|{{{size|22px}}}|link=Timmy and Tommy's store]]&nbsp;[[Timmy and Tommy's store]]
 
| Brewster
 
| Chip
 
| Gracie
 
| Harriet
 
| Jack
 
| Jingle
 
| Katie
 
| Lottie
 
| Pavé = [[File:{{{1|}}} PC icon.png|{{{size|22px}}}|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
| Cornimer = [[File:Cornimer WW.png||{{{size|22px}}}|link=Cornimer]]&nbsp;[[Cornimer]]
 
| Kaitlin = [[File:Kaitlin WW.png||{{{size|22px}}}|link=Kaitlin]]&nbsp;[[Kaitlin]]
 
| GracieGrace = [[File:Gracie PC icon.png|{{{size|22px}}}|link=GracieGrace]]&nbsp;[[GracieGrace]]
 
| Nook's Cranny = [[File:Nook's Cranny NH Map Icon.png|{{{size|22px}}}|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
| Nook's Cranny (Upgraded) = [[File:Nook's Cranny (Upgraded) NH Map Icon.png|{{{size|22px}}}|link=Nook's Cranny]]&nbsp;[[Nook's Cranny|{{{1|}}}]]
 
| Resident Services = [[File:Resident Services NH Map Icon.png|{{{size|22px}}}|link=Resident Services]]&nbsp;[[{{{1|}}}]]
 
| Resident Services Tent = [[File:Resident Services (Tent) NH Map Icon.png|{{{size|22px}}}|link=Resident Services]]&nbsp;[[Resident Services|Resident Services Tent]]
 
| Bunny Day = [[File:Bunny Day Basket NH Icon.png|{{{size|22px}}}|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
| amiibo = [[File:Amiibo icon black.png|{{{size|22px}}}|link=amiibo]]&nbsp;[[{{{1|}}}]]
 
| Balloons
 
| Balloon = [[File:Balloon Gift NH Icon.png|{{{size|22px}}}|link=Balloon]]&nbsp;[[Balloon]]s
 
| Birthday = [[File:Birthday Cupcake NH Inv Icon Cropped.png|{{{size|22px}}}|link=Birthday]]&nbsp;[[Birthday]]
 
| Message Bottle = [[File:Message Bottle NH Inv Icon.png|{{{size|22px}}}|link=Message Bottle]]&nbsp;[[Message Bottle]]
 
| Bug-Off = [[File:Net NH Inv Icon.png|{{{size|22px}}}|link=Bug-Off]]&nbsp;[[Bug-Off]]
 
| Cedar Tree = [[File:Cedar Sapling NH Inv Icon.png|{{{size|22px}}}|link=Tree]]&nbsp;[[Tree|Cedar Tree]]
 
| Dodo Airlines = [[File:Airport (Blue) NH Map Icon.png|{{{size|22px}}}|link=Dodo Airlines]]&nbsp;[[Dodo|Dodo Airlines]]
 
| Fishing Tourney = [[File:Fishing Rod NH Inv Icon.png|{{{size|22px}}}|link=Fishing Tourney]]&nbsp;[[Fishing Tourney]]
 
| Fortune Cookie = [[File:Fortune Cookie NL Icon.png|{{{size|22px}}}|link=Fortune Cookie]]&nbsp;[[Fortune Cookie]]
 
| Friendship = [[File:Emotion Love NH Icon.png|{{{size|22px}}}|link=Friendship]]&nbsp;[[Friendship]]
 
| Mom = [[File:Present NH Inv Icon.png|{{{size|22px}}}|link=Mom]]&nbsp;[[Mom]]
 
| HHA = [[File:Gold HHA Trophy NH Icon.png|{{{size|22px}}}|link=Happy Home Academy]]&nbsp;[[Happy Home Academy]]
 
| New Year's
 
| Countdown = [[File:Party Popper NH Inv Icon.png|{{{size|22px}}}|link=Countdown]]&nbsp;[[{{{1|}}}]]
 
| Nintendo = [[File:Mailbox NH Inv Icon.png|{{{size|22px}}}|link=Nintendo]]&nbsp;[[Nintendo]]
 
| Nook Miles Exchange = [[File:Nook Miles NH Icon Cropped.png|{{{size|22px}}}|link=Nook Miles]]&nbsp;[[Nook Miles|Nook Miles Exchange]]
 
| Nook Shopping = [[File:Package NH Inv Icon.png|{{{size|22px}}}|link=Nook Shopping]]&nbsp;[[{{{1|}}}]]
 
| Pocket Camp = [[File:Map Icon Camp ACPC.png|{{{size|22px}}}|link=Animal Crossing: Pocket Camp]]&nbsp;[[Animal Crossing: Pocket Camp|Pocket Camp]]
 
| Recycle box = [[File:Recycle Box NH Logo.png|{{{size|20px}}}|link=Recycle box]]&nbsp;[[Recycle box]]
 
| Crazy Redd's = [[File:Redd NH Character Icon.png|{{{size|22px}}}|link=Crazy Redd's]]&nbsp;[[Crazy Redd's]]
 
| Redd's Raffle = [[File:Redd NH Character Icon.png|{{{size|22px}}}|link=Fireworks Show#New Horizons]]&nbsp;[[Fireworks Show#New Horizons|Redd's Raffle]]
 
| Jolly Redd's Treasure Trawler = [[File:Redd NH Character Icon.png|{{{size|22px}}}|link=Jolly Redd's Treasure Trawler]]&nbsp;[[Jolly Redd's Treasure Trawler]]
 
| Blanca
 
| Booker
 
| Copper
 
| Franklin
 
| Katrina
 
| Nat
 
| Phineas
 
| Shrunk
 
| Tortimer
 
| Wendell = [[File:{{{1|}}} aF Character Icon.png|{{{size|22px}}}|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
| Tortimer Island = [[File:Tortimer aF Character Icon.png|{{{size|22px}}}|link=Tortimer Island]]&nbsp;[[Tortimer Island]]
 
| Secret code = [[File:Nook's Code Icon AC.png|{{{size|22px}}}|link=Secret code]]&nbsp;[[Secret code]]
 
| Villager = [[File:{{{2|}}}{{#switch:{{{3|}}}|AMFIcon=|#default=&nbsp;}}{{{3|NH Villager Icon}}}.png|{{{size|22px}}}|link={{{2|}}}]]&nbsp;[[{{{2|}}}]]
 
| Cranky = [[File:Emotion Aggravation NH Icon cropped.png|{{{size|22px}}}|link=Cranky]]&nbsp;[[Cranky|Cranky villager]]
 
| Cranky villager = [[File:Emotion Aggravation NH Icon cropped.png|{{{size|22px}}}|link=Cranky]]&nbsp;[[Cranky|Cranky villager]]
 
| Jock = [[File:Emotion Pride NH Icon cropped.png|{{{size|22px}}}|link=Jock]]&nbsp;[[Jock|Jock villager]]
 
| Jock villager = [[File:Emotion Pride NH Icon cropped.png|{{{size|22px}}}|link=Jock]]&nbsp;[[Jock|Jock villager]]
 
| Lazy = [[File:Emotion Sleepy NH Icon cropped.png|{{{size|22px}}}|link=Lazy]]&nbsp;[[Lazy|Lazy villager]]
 
| Lazy villager = [[File:Emotion Sleepy NH Icon cropped.png|{{{size|22px}}}|link=Lazy]]&nbsp;[[Lazy|Lazy villager]]
 
| Smug = [[File:Emotion Smirking NH Icon cropped.png|{{{size|22px}}}|link=Smug]]&nbsp;[[Smug|Smug villager]]
 
| Smug villager = [[File:Emotion Smirking NH Icon cropped.png|{{{size|22px}}}|link=Smug]]&nbsp;[[Smug|Smug villager]]
 
| Normal = [[File:Emotion Happiness NH Icon cropped.png|{{{size|22px}}}|link=Normal]]&nbsp;[[Normal|Normal villager]]
 
| Normal villager = [[File:Emotion Happiness NH Icon cropped.png|{{{size|22px}}}|link=Normal]]&nbsp;[[Normal|Normal villager]]
 
| Peppy = [[File:Emotion Encouraging NH Icon cropped.png|{{{size|22px}}}|link=Peppy]]&nbsp;[[Peppy|Peppy villager]]
 
| Peppy villager = [[File:Emotion Encouraging NH Icon cropped.png|{{{size|22px}}}|link=Peppy]]&nbsp;[[Peppy|Peppy villager]]
 
| Snooty = [[File:Emotion Disagreement NH Icon cropped.png|{{{size|22px}}}|link=Snooty]]&nbsp;[[Snooty|Snooty villager]]
 
| Snooty villager = [[File:Emotion Disagreement NH Icon cropped.png|{{{size|22px}}}|link=Snooty]]&nbsp;[[Snooty|Snooty villager]]
 
| Sisterly = [[File:Emotion Mischief NH Icon cropped.png|{{{size|22px}}}|link=Sisterly]]&nbsp;[[Sisterly|Sisterly villager]]
 
| Sisterly villager = [[File:Emotion Mischief NH Icon cropped.png|{{{size|22px}}}|link=Sisterly]]&nbsp;[[Sisterly|Sisterly villager]]
 
| Any villager = [[File:Residents NH Category Icon.png|{{{size|22px}}}|link=Villager]]&nbsp;[[Villager|Any villager]]
 
| #default = {{#if:{{{1|}}}|[[{{{1|}}}]]|Unknown}}
 
}}{{#if:{{{note|}}}|{{#if:{{{nb|}}}|&nbsp;|<nowiki /> <nowiki />}}<small>({{{note|}}})</small>}}</span>{{#if:{{{nb|}}}||<br />}}<noinclude>{{Clear}}{{Documentation}}[[Category:Templates]]</noinclude>
 

Latest revision as of 12:13, November 2, 2022

Unknown

Template documentation (view)


Emotion Surprise NH Icon.png
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
Emotion Surprise NH Icon.png
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
Lua Logo.svg
This template is using one or many Lua modules
To change certain features of this template, the following modules will need to be edited:
  • Module:Availability
  • Module:Availability/Data
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
    Lua Logo.svg
    This template is using one or many Lua modules
    To change certain features of this template, the following modules will need to be edited:
  • Module:Availability
  • Module:Availability/Data
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.

    Usage

    {{Availability|<source>}}
    

    Generates an icon and link, intended for use in item tables. If no value is entered, template will return 'Unknown'. note can be used to specify any notes, such as a specific season the item is available in, or prerequisites that have to be met. By default, instances of this template will be on their own line; to remove linebreaks, nb can be set to true.

    The following item sources are currently supported:

    Characters
    Locations and merchants
    Villagers
    • Friendship
    • Any villager
    • Cranky
    • Jock
    • Lazy
    • Smug
    • Big sister
    • Normal
    • Peppy
    • Snooty
    • Camper
    • Islander
    Events
    Distribution methods
    Flowers and flower bags
    • Black-Cosmos Plant
    • Black-Lily Plant
    • Black-Rose Plant
    • Black-Tulip Plant
    • Blue-Hyacinth Plant
    • Blue-Pansy Plant
    • Blue-Rose Plant
    • Blue-Windflower Plant
    • Gold-Rose Plant
    • Green-Mum Plant
    • Orange-Cosmos Plant
    • Orange-Hyacinth Plant
    • Orange-Lily Plant
    • Orange-Pansy Plant
    • Orange-Rose Plant
    • Orange-Tulip Plant
    • Orange-Windflower Bag
    • Orange-Windflower Plant
    • Pink-Cosmos Plant
    • Pink-Hyacinth Plant
    • Pink-Lily Plant
    • Pink-Rose Plant
    • Pink-Tulip Plant
    • Pink-Windflower Plant
    • Purple-Hyacinth Plant
    • Purple-Mum Plant
    • Purple-Pansy Plant
    • Purple-Rose Plant
    • Purple-Tulip Plant
    • Purple-Windflower Plant
    • Red-Cosmos Bag
    • Red-Cosmos Plant
    • Red-Hyacinth Bag
    • Red-Hyacinth Plant
    • Red-Lily Bag
    • Red-Lily Plant
    • Red-Mum Bag
    • Red-Mum Plant
    • Red-Pansy Bag
    • Red-Pansy Plant
    • Red-Rose Bag
    • Red-Rose Plant
    • Red-Tulip Bag
    • Red-Tulip Plant
    • Red-Windflower Bag
    • Red-Windflower Plant
    • White-Cosmos Bag
    • White-Cosmos Plant
    • White-Hyacinth Bag
    • White-Hyacinth Plant
    • White-Lily Bag
    • White-Lily Plant
    • White-Mum Bag
    • White-Mum Plant
    • White-Pansy Bag
    • White-Pansy Plant
    • White-Rose Bag
    • White-Rose Plant
    • White-Tulip Bag
    • White-Tulip Plant
    • White-Windflower Bag
    • White-Windflower Plant
    • Yellow-Cosmos Bag
    • Yellow-Cosmos Plant
    • Yellow-Hyacinth Bag
    • Yellow-Hyacinth Plant
    • Yellow-Lily Bag
    • Yellow-Lily Plant
    • Yellow-Mum Bag
    • Yellow-Mum Plant
    • Yellow-Pansy Bag
    • Yellow-Pansy Plant
    • Yellow-Rose Bag
    • Yellow-Rose Plant
    • Yellow-Tulip Bag
    • Yellow-Tulip Plant
    Other plants
    • Apple
    • Apple Tree
    • Bamboo
    • Blue-Hydrangea Start
    • Carrot
    • Carrot Start
    • Cedar Sapling
    • Cedar tree
    • Cherry
    • Cherry Tree
    • Coconut
    • Coconut Tree
    • Durian
    • Grape
    • Green Pumpkin
    • Holly Start
    • Lemon
    • Lychee
    • Mango
    • Money Tree
    • Orange
    • Orange Tree
    • Orange Pumpkin
    • Orange-Tea-Olive Start
    • Peach
    • Peach Tree
    • Pear
    • Pear Tree
    • Perfect Apple
    • Perfect Cherry
    • Perfect Grape
    • Perfect Lemon
    • Perfect Lychee
    • Perfect Orange
    • Perfect Peach
    • Perfect Pear
    • Persimmon
    • Pink-Azalea Start
    • Pink-Camellia Start
    • Pink-Hydrangea Start
    • Potato
    • Pumpkin Start
    • Red-Camellia Start
    • Red-Hibiscus Start
    • Ripe Carrot Plant
    • Ripe Green-Pumpkin Plant
    • Ripe Orange-Pumpkin Plant
    • Ripe Potato Plant
    • Ripe Sugarcane Plant
    • Ripe Tomato Plant
    • Ripe Wheat Plant
    • Ripe White-Pumpkin Plant
    • Ripe Yellow-Pumpkin Plant
    • Rotten Apple
    • Rotten Cherry
    • Rotten Orange
    • Rotten Peach
    • Rotten Pear
    • Sapling
    • Seed Potato
    • Sugarcane
    • Sugarcane Start
    • Tomato
    • Tomato Start
    • Tree
    • Wheat
    • Wheat Start
    • White-Azalea Start
    • White Pumpkin
    • Yellow-Hibiscus Start
    • Yellow-Tea-Olive Start
    • Yellow Pumpkin
    Animal Crossing: Pocket Camp's Fortune Cookies
    •  Clothing Fortune Cookie
    •  Timmy's Fortune Cookie
    •  Tommy's Fortune Cookie
    •  Filbert's Rocket Cookie
    •  Marshal's Pastry Cookie
    •  Rosie's Pop-Star Cookie
    •  Hopkins's Game Cookie
    •  Stitches's Patch Cookie
    •  Lily's Hydrangea Cookie
    •  Whitney's Rose Cookie
    •  Roald's Beach Cookie
    •  Bluebear's Party Cookie
    •  Julian's Stardust Cookie
    •  Bunnie's Li'l Red Cookie
    •  Tia's Rosewater Cookie
    •  Inkling's Splatted Cookie
    •  Muffy's Creepy Cookie
    •  Goldie's Library Cookie
    •  Isabelle's Café Cookie
    •  Dazzling Duo Cookie
    •  Fauna's Toy Day Cookie
    •  Tasha's Hip-Rose Cookie
    •  Gladys's Camellia Cookie
    •  Kitt's Plushie Cookie
    •  Hamlet's Chilly Cookie
    •  Poppy's Cocoa Cookie
    •  Apple's Glazier Cookie
    •  Diana's Fay Cookie
    •  Broccolo's Band Cookie
    •  Lobo's Solo Table Cookie
    •  Chrissy's Royal Cookie
    •  Cherry's Rockin' Cookie
    •  Agnes's Grand Cookie
    •  Apollo's Cinema Cookie
    •  Colton's Gilded Cookie
    •  Stella's Sleepy Cookie
    •  Francine's Sea Cookie
    •  Cinnamoroll Cookie
    •  Hello Kitty Cookie
    •  My Melody Cookie
    •  Pompompurin Cookie
    •  Julia's Palace Cookie
    •  Phoebe's Fiery Cookie
    •  Kerokerokeroppi Cookie
    •  Kiki and Lala Cookie
    •  Beau's Artisanal Cookie
    •  Wolfgang's Cog Cookie
    •  Maple's Autumn Cookie
    •  Lucky's Frightful Cookie
    •  Yuka's Grim-Lily Cookie
    •  Bob's Circus Cookie
    •  Nana's Glazen Cookie
    •  Skye's Lavish Ball Cookie
    •  Bree's Boutique Cookie
    •  Flurry's Powdered Cookie
    •  Rhonda's Holiday Cookie
    •  Dotty's Tea-Party Cookie
    •  Chevre's Serene Cookie
    •  Wendy's Snowy Cookie
    •  Olivia's Whimsical Cookie
    •  Eloise's Flapjack Cookie
    •  Maggie's Florist Cookie
    •  Vesta's Chic Cookie
    •  Merry's Sakura Cookie
    •  Mitzi's Aviary Cookie
    •  Punchy's Crunch Cookie
    •  Alice's Salon Cookie
    •  Celia's Chapel Cookie
    •  Butch's Candlelit Cookie
    •  Audie's Lemon Cookie
    •  Rod's Adventure Cookie
    •  Zell's Aquarium Cookie
    •  Lolly's Celestial Cookie
    •  Pekoe's Boba Cookie
    •  Raymond's Scholar Cookie
    •  Carrie's Apple Cookie
    •  Chief's Fall Feels Cookie
    •  Kiki's Black Cat Cookie
    •  Judy's Blooming Cookie
    •  Dom's Funfair Cookie
    •  Erik's Workshop Cookie
    •  Egbert's Cozy Cookie
    •  Cranston's Temple Cookie
    •  Sprinkle's Crystal Cookie
    •  Pecan's House Cookie
    •  Felicity's Kitty Cookie
    •  Piper's Sunbeam Cookie
    •  Daisy's Berry Cookie
    •  Sanrio Characters Cookie
    •  Bonbon's Bunny Cookie
    •  Roscoe's Diner Cookie
    •  Annalisa's Calm Cookie
    •  Snake's Ninja Cookie
    •  Gloria's Starlight Cookie
    •  Reneigh's Luxury Cookie
    •  O'Hare's Pool Cookie
    •  Rex's Food-Truck Cookie
    •  Ellie's Donut Cookie
    •  Marina's Mermaid Cookie
    •  Opal's Jewel-Lab Cookie
    •  Blanche's Inn Cookie
    •  Olive's Toadstool Cookie
    •  Poncho's Hero Cookie
    •  Queenie's Mystic Cookie
    •  Henry's Glamping Cookie
    •  Ursala's Bouquet Cookie
    •  Shari's Cottage Cookie
    •  Bianca's Lights Cookie
    •  Willow's Winged Cookie
    •  Shino's Shrine Cookie
    •  Wig Collection Cookie
    •  Elegant Kimono Cookie
    •  Tasteful Kimono Cookie
    •  Fang's Sterling Cookie
    •  Kitty's Chocolate Cookie
    •  Beardo's Sleuth Cookie
    •  Mint's Tea-Shop Cookie
    •  Azalea's Train Cookie
    •  Snooty's Blossom Cookie
    •  Pinky's Regal Cookie
    •  Pancetti's Beauty Cookie
    •  Quinn's Clear Cookie
    •  Sherb's Naptime Cookie
    •  Vivian's Drizzle Cookie
    •  Nan's Post-Office Cookie
    Other

    Additionally, Villager is supported and will allow an icon and link for a specified villager to be shown. It is possible to switch the icon of the villager. To change the text for specific Villagers/Special NPCs, use text=. To hide the image of the availability template, use no-image.

    Example

    {{Availability|Nook's Cranny}}
    

     Nook's Cranny

    {{Availability|Able Sisters|note=Winter}}
    

     Able Sisters (Winter)

    {{Availability|Villager|Bob}}
    

     Bob

    {{Availability|RV|Toby}}
    

     Toby's RV

    {{Availability|Tom Nook|no-image=yes}}
    
    Tom Nook