Template:Fish & Seafood Availability NH

From Nookipedia, the Animal Crossing wiki

0

Template documentation (view)


Note: This template queries the nh_fish table and checks for Northern hemisphere availability by default when the critter or num parameter are used.

This template accepts one of the following standardized time values:

All day
NA
4 AM – 9 PM
4 PM – 9 AM
9 AM – 4 PM
9 PM – 4 AM
9 AM – 4 PM & 9 PM – 4 AM

...and outputs a 0 (not available to catch) or a 1 (available to catch) based on the user's local time. If no value is entered it will return a 0.

It also supports the following optional parameters:

  • hemisphere can be set to southern to query southern hemisphere availability data
  • type can be set to sea creature to query the nh_sea_creature table
  • critter can be used to specify an ACNH fish or sea creature to test for availability
  • num can be used to specify an ACNH fish or sea creature number to test for availability

Examples

{{Fish & Seafood Availability NH|All day}} → 1
{{Fish & Seafood Availability NH|NA}} → 0
{{Fish & Seafood Availability NH|critter=Sea Bass}} → 1
{{Fish & Seafood Availability NH|critter=Gar}} → 0
{{Fish & Seafood Availability NH|critter=Gar|hemisphere=southern}} → 0
{{Fish & Seafood Availability NH|num=2|type=sea creature}} → 0

{{Fish & Seafood Availability NH|num=2|type=sea creature|hemisphere=southern}} → 0