Difference between revisions of "Template:Availability"

From Nookipedia, the Animal Crossing wiki
Jump to navigation Jump to search
m (added Rover)
(Replacing season w/ note (availabilities sometimes need clarification other than just season))
Line 45: Line 45:
 
| Sisterly = [[File:Emotion Mischief NH Icon cropped.png|{{{size|22px}}}|link=Sisterly]] [[Sisterly|Sisterly villager]]
 
| Sisterly = [[File:Emotion Mischief NH Icon cropped.png|{{{size|22px}}}|link=Sisterly]] [[Sisterly|Sisterly villager]]
 
| #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:{{{note|}}}|&nbsp;({{{note|}}})}}</span>{{#if:{{{nb|}}}||<br />}}<noinclude>{{Clear}}{{Documentation}}[[Category:Templates]]</noinclude>

Revision as of 22:04, May 23, 2020

Unknown

Template documentation (view)


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:

These sources will be supported in the future but do not currently display an icon and may generate red links:

  • Friendship
  • HHA
  • Nintendo
  • Recycling Bin
  • Villager

Example

{{Availability|Nook's Cranny}}

Nookling PC icon.png Nook's Cranny

{{Availability|Able Sisters|note=Winter}}
Mabel NH Character Icon.png Able Sisters (Winter)