Difference between revisions of "Template:Availability/doc"

From Nookipedia, the Animal Crossing wiki
Jump to navigation Jump to search
(added Pascal)
(Update documentation)
Line 22: Line 22:
 
* {{Availability|Fishing Tourney}}
 
* {{Availability|Fishing Tourney}}
 
* {{Availability|Flick}}
 
* {{Availability|Flick}}
 +
* {{Availability|Friendship}}
 
* {{Availability|GracieGrace}}
 
* {{Availability|GracieGrace}}
 
* {{Availability|Gulliver}}
 
* {{Availability|Gulliver}}
 +
* {{Availability|Gullivarrr}}
 +
* {{Availability|HHA}}
 
* {{Availability|Isabelle}}
 
* {{Availability|Isabelle}}
 
* {{Availability|K.K. Slider}}
 
* {{Availability|K.K. Slider}}
 
* {{Availability|Kicks}}
 
* {{Availability|Kicks}}
 
* {{Availability|Label}}
 
* {{Availability|Label}}
 +
* {{Availability|Luna}}
 
* {{Availability|Mabel}}
 
* {{Availability|Mabel}}
 
* {{Availability|Message Bottle}}
 
* {{Availability|Message Bottle}}
 
* {{Availability|Mom}}
 
* {{Availability|Mom}}
 
* {{Availability|New Year's}}
 
* {{Availability|New Year's}}
 +
* {{Availability|Nintendo}}
 
* {{Availability|Nook's Cranny}}
 
* {{Availability|Nook's Cranny}}
 
* {{Availability|Nook's Cranny (Upgraded)}}
 
* {{Availability|Nook's Cranny (Upgraded)}}
Line 38: Line 43:
 
* {{Availability|Pascal}}
 
* {{Availability|Pascal}}
 
* {{Availability|Pocket Camp}}
 
* {{Availability|Pocket Camp}}
 +
* {{Availability|Recycling Bin}}
 
* {{Availability|Resident Services}}
 
* {{Availability|Resident Services}}
 
* {{Availability|Resident Services Tent}}
 
* {{Availability|Resident Services Tent}}
Line 59: Line 65:
 
}}
 
}}
  
These sources will be supported in the future but do not currently display an icon and may generate red links:
+
Additionally, <code>Villager</code> is supported and will allow an icon and link for a specified villager to be shown.
{{Columns-list|colwidth=210px|
 
* Friendship
 
* HHA
 
* Nintendo
 
* Recycling Bin
 
* Villager
 
}}
 
  
 
===Example===
 
===Example===
Line 78: Line 77:
 
</pre>
 
</pre>
 
{{Availability|Able Sisters|note=Winter}}
 
{{Availability|Able Sisters|note=Winter}}
 +
 +
<pre>
 +
{{Availability|Villager|Bob}}
 +
</pre>
 +
{{Availability|Villager|Bob}}

Revision as of 09:53, August 2, 2020

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:

Additionally, Villager is supported and will allow an icon and link for a specified villager to be shown.

Example

{{Availability|Nook's Cranny}}

Nook's Cranny NH Map Icon.png Nook's Cranny

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

Able Sisters NH Map Icon.png Able Sisters (Winter)

{{Availability|Villager|Bob}}

Bob NH Villager Icon.png Bob