Difference between revisions of "Template:Availability"

From Nookipedia, the Animal Crossing wiki
(Alphabetized list)
(Undo)
Tag: Undo
Line 1: Line 1:
 
<span style="font-size:.9em;">{{#switch:{{{1|}}}
 
<span style="font-size:.9em;">{{#switch:{{{1|}}}
 
| Able Sisters = {{#ifeq:{{#expr:{{#time:j}} mod 2}}|0|[[File:Mabel NH Icon.png|22px|link={{{1|}}}]]|[[File:Sable NH Icon.png|22px]]}}&nbsp;[[Able Sisters]]
 
| Able Sisters = {{#ifeq:{{#expr:{{#time:j}} mod 2}}|0|[[File:Mabel NH Icon.png|22px|link={{{1|}}}]]|[[File:Sable NH Icon.png|22px]]}}&nbsp;[[Able Sisters]]
 +
| Blathers
 +
| Celeste
 +
| Gulliver
 +
| Isabelle
 +
| Kicks
 +
| Label
 +
| Saharah
 +
| Tom Nook = [[File:{{{1|}}} NH Icon.png|22px|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 +
| Crafting = [[File:Menu DIY NH Icon.png|22px|link=DIY]]&nbsp;[[DIY|Crafting]]
 +
| Nook's Cranny = [[File:Nookling PC icon.png|22px|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 +
| Nook's Cranny (Upgraded) = [[File:Nookling PC icon.png|22px|link=Nook's Cranny]]&nbsp;[[Nook's Cranny|{{{1|}}}]]
 +
| Resident Services = [[File:Nookling PC icon.png|22px|link=Resident Services]]&nbsp;[[{{{1|}}}]]
 +
| Zipper = [[File:{{{1|}}} PC icon.png|22px|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 +
| Bunny Day = [[File:ACnHEggSky.png|22px|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
| amiibo = [[File:Amiibo icon black.png|22px|link=amiibo]]&nbsp;[[{{{1|}}}]]
 
| amiibo = [[File:Amiibo icon black.png|22px|link=amiibo]]&nbsp;[[{{{1|}}}]]
 
| Balloon
 
| Balloon
 
| Birthday = [[File:Birthday Cupcake NH Inv Icon Cropped.png|22px|link=Birthday]]&nbsp;[[Birthday]]
 
| Birthday = [[File:Birthday Cupcake NH Inv Icon Cropped.png|22px|link=Birthday]]&nbsp;[[Birthday]]
| Blathers
+
| Message Bottle = [[File:Message Bottle NH Inv Icon.png|22px|link=Message Bottle]]&nbsp;[[Message Bottle]]
 
| Bug-Off = [[File:Net NH Inv Icon.png|22px|link=Bug-Off]]&nbsp;[[Bug-Off]]
 
| Bug-Off = [[File:Net NH Inv Icon.png|22px|link=Bug-Off]]&nbsp;[[Bug-Off]]
| Bunny Day = [[File:Sky Egg NH Icon.png|22px|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
 
| C.J.
 
| C.J.
| Celeste
 
| Crafting = [[File:Menu DIY NH Icon.png|22px|link=DIY]]&nbsp;[[DIY|Crafting]]
 
 
| Cyrus = [[File:Cyrus NH Icon.png|22px|link=Cyrus]]&nbsp;[[Cyrus]]
 
| Cyrus = [[File:Cyrus NH Icon.png|22px|link=Cyrus]]&nbsp;[[Cyrus]]
 
| Dodo Airlines = [[File:Wilbur NH Icon.png|22px|link=Dodo Airlines]]&nbsp;[[Dodo|Dodo Airlines]]
 
| Dodo Airlines = [[File:Wilbur NH Icon.png|22px|link=Dodo Airlines]]&nbsp;[[Dodo|Dodo Airlines]]
Line 15: Line 26:
 
| Flick
 
| Flick
 
| Friendship
 
| Friendship
| Gulliver
+
| Mom
 
| HHA
 
| HHA
| Isabelle
 
| Kicks
 
| Label
 
| Message Bottle = [[File:Message Bottle NH Inv Icon.png|22px|link=Message Bottle]]&nbsp;[[Message Bottle]]
 
| Mom
 
 
| New Year's = [[File:Party Popper NH Inv Icon.png|22px|link=New Year's]]&nbsp;[[{{{1|}}}]]
 
| New Year's = [[File:Party Popper NH Inv Icon.png|22px|link=New Year's]]&nbsp;[[{{{1|}}}]]
 
| Nintendo
 
| Nintendo
| Nook's Cranny = [[File:Nookling PC icon.png|22px|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
| Nook's Cranny (Upgraded) = [[File:Nookling PC icon.png|22px|link=Nook's Cranny]]&nbsp;[[Nook's Cranny|{{{1|}}}]]
 
 
| Nook Miles Exchange = [[File:Nook Miles NH Icon.png|22px|link=Nook Miles]]&nbsp;[[Nook Miles|Nook Miles Exchange]]
 
| Nook Miles Exchange = [[File:Nook Miles NH Icon.png|22px|link=Nook Miles]]&nbsp;[[Nook Miles|Nook Miles Exchange]]
 
| Nook Shopping = [[File:Package NH Inv Icon.png|22px|link=Nook Shopping]]&nbsp;[[{{{1|}}}]]
 
| Nook Shopping = [[File:Package NH Inv Icon.png|22px|link=Nook Shopping]]&nbsp;[[{{{1|}}}]]
 
| Pocket Camp
 
| Pocket Camp
 
| Recycling Bin
 
| Recycling Bin
| Resident Services = [[File:Nookling PC icon.png|22px|link=Resident Services]]&nbsp;[[{{{1|}}}]]
 
| Saharah
 
| Tom Nook = [[File:{{{1|}}} NH Icon.png|22px|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
 
| Villager = [[{{{1|}}}]]
 
| Villager = [[{{{1|}}}]]
 
| Cranky = [[File:Emotion Aggravation NH Icon cropped.png|22px|link=Cranky]]&nbsp;[[Cranky|Cranky villager]]
 
| Cranky = [[File:Emotion Aggravation NH Icon cropped.png|22px|link=Cranky]]&nbsp;[[Cranky|Cranky villager]]
Line 42: Line 43:
 
| Snooty = [[File:Emotion Disagreement NH Icon cropped.png|22px|link=Snooty]]&nbsp;[[Snooty|Snooty villager]]
 
| Snooty = [[File:Emotion Disagreement NH Icon cropped.png|22px|link=Snooty]]&nbsp;[[Snooty|Snooty villager]]
 
| Sisterly = [[File:Emotion Mischief NH Icon cropped.png|22px|link=Sisterly]]&nbsp;[[Sisterly|Sisterly villager]]
 
| Sisterly = [[File:Emotion Mischief NH Icon cropped.png|22px|link=Sisterly]]&nbsp;[[Sisterly|Sisterly villager]]
| Zipper = [[File:{{{1|}}} PC icon.png|22px|link={{{1|}}}]]&nbsp;[[{{{1|}}}]]
 
 
| #default = {{#if:{{{1|}}}|[[{{{1|}}}]]|Unknown}}
 
| #default = {{#if:{{{1|}}}|[[{{{1|}}}]]|Unknown}}
 
}}{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>{{#if:{{{nb|}}}||<br />}}<noinclude>{{Clear}}{{Documentation}}[[Category:Templates]]</noinclude>
 
}}{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>{{#if:{{{nb|}}}||<br />}}<noinclude>{{Clear}}{{Documentation}}[[Category:Templates]]</noinclude>

Revision as of 14:37, April 30, 2020

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
    Events
    Distribution methods
    Flowers and flower bags
    Other plants
    Animal Crossing: Pocket Camp's Fortune Cookies
    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}}
    

    Nookling PC Character Icon.png Nook's Cranny

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

    Sable NH Character Icon.png Able Sisters

    {{Availability|Villager|Bob}}
    

    Villager

    {{Availability|RV|Toby}}
    

    RV

    {{Availability|Tom Nook|no-image=yes}}
    
    Tom Nook NH Character Icon.png Tom Nook