Difference between revisions of "Template:CurrentFish"

From Nookipedia, the Animal Crossing wiki
(New template that shows key info on ACNL fish available to catch at the time the page is loaded.)
 
(Adding code to allow the table to appear in a collapsed state.)
Line 1: Line 1:
<div class="mw-collapsible" style="margin:auto; width:{{{width|80%}}}; background:#4F9FC6; border: 4px solid #4F9FC6; text-align:center; {{roundy}}">
+
<div class="mw-collapsible {{#ifeq:"{{{collapsed|false}}}"|"true"|mw-collapsed|}}" style="margin:auto; width:{{{width|80%}}}; background:#4F9FC6; border: 4px solid #4F9FC6; text-align:center; {{roundy}}">
 
'''Fish out right now'''
 
'''Fish out right now'''
 
<div class{{=}}"mw-collapsible-content">
 
<div class{{=}}"mw-collapsible-content">
Line 3,844: Line 3,844:
 
</div><noinclude>
 
</div><noinclude>
 
==Usage==
 
==Usage==
This template displays the ACNL fish that can be caught in a user's local time zone at the time the page is loaded. The '''<tt>width</tt>''' parameter can be used to change the width of the table. Width must be expressed as a percent (e.g. 50%), and the default is 80%.
+
This template displays the ACNL fish that can be caught in a user's local time zone at the time the page is loaded. The '''<tt>width</tt>''' parameter can be used to change the width of the table. Width must be expressed as a percent (e.g. 50%), and the default is 80%. The '''<tt>collapsed</tt>''' parameter accepts a true or false value; default value is false. If set to true, it will cause the table to appear collapsed by default. 
  
 
==See also==
 
==See also==
 
*[[Template:CurrentBugs]]
 
*[[Template:CurrentBugs]]
 
*[[Template:CurrentSeafood]]
 
*[[Template:CurrentSeafood]]

Revision as of 20:05, April 20, 2016

Fish out right now

Name Image Price Location
Pale Chub Pale Chub HHD Icon.png 200 In river
Popeyed Goldfish File:Popeyed Goldfish HHD Icon.png 1,300 In river
Bluegill Bluegill HHD Icon.png 120 In river
Pike Pike HHD Icon.png 1,800 In river
Cherry Salmon Cherry Salmon HHD Icon.png 1,000 In river
Char Char HHD Icon.png 3,800 Beach waterfall
Rainbow Trout Rainbow Trout HHD Icon.png 800 In river
Guppy Guppy HHD Icon.png 1,300 In river
Neon Tetra Neon Tetra HHD Icon.png 500 In river
Ray Ray HHD Icon.png 3,000 Redhibiscusacnl.png In ocean
Bitterling Bitterling HHD Icon.png 900 In river
Yellow Perch Yellow Perch HHD Icon.png 240 In river
Sea Horse Sea Horse HHD Icon.png 1,100 Redhibiscusacnl.png In ocean
Zebra Turkeyfish Zebra Turkeyfish HHD Icon.png 400 Redhibiscusacnl.png In ocean
Barred Knifejaw Barred Knifejaw HHD Icon.png 5,000 Redhibiscusacnl.png In ocean
Dab Dab HHD Icon.png 300 In ocean
Tuna Tuna HHD Icon.png 7,000 In ocean
Crucian Carp Crucian Carp HHD Icon.png 120 In river
Barbel Steed Barbel Steed HHD Icon.png 200 In river
Carp Carp HHD Icon.png 300 In river
Goldfish Goldfish HHD Icon.png 1,300 In river
Black Bass Black Bass HHD Icon.png 300 In river
Horse Mackerel Horse Mackerel HHD Icon.png 150 Redhibiscusacnl.png In ocean
Sea Bass Sea Bass HHD Icon.png 200 Redhibiscusacnl.png In ocean
Red Snapper Red Snapper HHD Icon.png 3,000 Redhibiscusacnl.png In ocean
Olive Flounder Olive Flounder HHD Icon.png 800 Redhibiscusacnl.png In ocean
Ribbon Eel Ribbon Eel HHD Icon.png 600 Yellowhibiscusacnl.png In ocean
Giant Trevally Giant Trevally HHD Icon.png 4,500 Yellowhibiscusacnl.png In ocean
Whale Shark Whale Shark HHD Icon.png 13,000 Yellowhibiscusacnl.png In ocean
Redhibiscusacnl.png = Also found on island    Yellowhibiscusacnl.png = Island exclusive fish

Usage

This template displays the ACNL fish that can be caught in a user's local time zone at the time the page is loaded. The width parameter can be used to change the width of the table. Width must be expressed as a percent (e.g. 50%), and the default is 80%. The collapsed parameter accepts a true or false value; default value is false. If set to true, it will cause the table to appear collapsed by default.

See also