Difference between revisions of "Template:Availability"

From Nookipedia, the Animal Crossing wiki
(Added Redd)
(Allowing "<personality> villager" as a param, to match the output, and to provide more detail when storing in Cargo)
Line 38: Line 38:
 
| Villager = [[{{{1|}}}]]
 
| Villager = [[{{{1|}}}]]
 
| Cranky = [[File:Emotion Aggravation NH Icon cropped.png|{{{size|22px}}}|link=Cranky]]&nbsp;[[Cranky|Cranky villager]]
 
| 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 = [[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 = [[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 = [[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 = [[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 = [[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 = [[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 = [[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]]
 
| #default = {{#if:{{{1|}}}|[[{{{1|}}}]]|Unknown}}
 
| #default = {{#if:{{{1|}}}|[[{{{1|}}}]]|Unknown}}
 
}}{{#if:{{{note|}}}|&nbsp;({{{note|}}})}}</span>{{#if:{{{nb|}}}||<br />}}<noinclude>{{Clear}}{{Documentation}}[[Category:Templates]]</noinclude>
 
}}{{#if:{{{note|}}}|&nbsp;({{{note|}}})}}</span>{{#if:{{{nb|}}}||<br />}}<noinclude>{{Clear}}{{Documentation}}[[Category:Templates]]</noinclude>

Revision as of 01:03, May 25, 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 (Winter)

    {{Availability|Villager|Bob}}
    

    Villager

    {{Availability|RV|Toby}}
    

    RV

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