Difference between revisions of "Template:Availability"

From Nookipedia, the Animal Crossing wiki
m (Link fix)
m (added personality types as different pers give different recipes)
Line 33: Line 33:
 
| Recycling Bin
 
| Recycling Bin
 
| Villager = <span style="font-size:.9em;">[[{{{1|}}}]]{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>
 
| Villager = <span style="font-size:.9em;">[[{{{1|}}}]]{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>
 +
| Cranky = [[File:Emotion Aggravation NH Icon cropped.png|22px|link=Cranky]]<span style="font-size:.9em;">&nbsp;[[Cranky|Cranky villager]]{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>
 +
| Jock = [[File:Emotion Pride NH Icon cropped.png|22px|link=Jock]]<span style="font-size:.9em;">&nbsp;[[Jock|Jock villager]]{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>
 +
| Lazy = [[File:Emotion Sleepy NH Icon cropped.png|22px|link=Lazy]]<span style="font-size:.9em;">&nbsp;[[Lazy|Lazy villager]]{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>
 +
| Smug = [[File:Emotion Smirking NH Icon cropped.png|22px|link=Smug]]<span style="font-size:.9em;">&nbsp;[[Smug|Smug villager]]{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>
 +
| Normal = [[File:Emotion Happiness NH Icon cropped.png|22px|link=Normal]]<span style="font-size:.9em;">&nbsp;[[Normal|Normal villager]]{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>
 +
| Peppy = [[File:Emotion Encouraging NH Icon cropped.png|22px|link=Peppy]]<span style="font-size:.9em;">&nbsp;[[Peppy|Peppy villager]]{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>
 +
| Snooty = [[File:Emotion Disagreement NH Icon cropped.png|22px|link=Snooty]]<span style="font-size:.9em;">&nbsp;[[Snooty|Snooty villager]]{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>
 +
| Sisterly = [[File:Emotion Mischief NH Icon cropped.png|22px|link=Sisterly]]<span style="font-size:.9em;">&nbsp;[[Sisterly|Sisterly villager]]{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>
 
| #default = <span style="font-size:.9em;">{{#if:{{{1|}}}|[[{{{1|}}}]]|Unknown}}{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>
 
| #default = <span style="font-size:.9em;">{{#if:{{{1|}}}|[[{{{1|}}}]]|Unknown}}{{#if:{{{season|}}}|&nbsp;({{{season|}}})}}</span>
 
}}<noinclude>{{Clear}}{{Documentation}}[[Category:Templates]]</noinclude>
 
}}<noinclude>{{Clear}}{{Documentation}}[[Category:Templates]]</noinclude>

Revision as of 11:49, April 21, 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}}
    

    Mabel 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