Difference between revisions of "Template:NHFishInfo"

From Nookipedia, the Animal Crossing wiki
(Dealing with apostrophes in Cargo)
(Render param is now defined on all pages)
 
(27 intermediate revisions by 7 users not shown)
Line 6: Line 6:
 
|image = String
 
|image = String
 
|image_url = String
 
|image_url = String
 +
|render = String
 +
|render_url = String
 
|catchphrase = String
 
|catchphrase = String
 
|catchphrase2 = String
 
|catchphrase2 = String
 +
|catchphrase3 = String
 +
|location = String
 +
|shadow_size = String
 +
|shadow_size_sort = Integer
 +
|rarity = String
 +
|total_catch = Integer
 +
|sell_nook = Integer
 +
|sell_cj = Integer
 +
|tank_width = Float
 +
|tank_length = Float
 
|n_availability = String
 
|n_availability = String
 
|n_m1 = Boolean
 
|n_m1 = Boolean
Line 21: Line 33:
 
|n_m11 = Boolean
 
|n_m11 = Boolean
 
|n_m12 = Boolean
 
|n_m12 = Boolean
 +
|n_m1_time = String
 +
|n_m2_time = String
 +
|n_m3_time = String
 +
|n_m4_time = String
 +
|n_m5_time = String
 +
|n_m6_time = String
 +
|n_m7_time = String
 +
|n_m8_time = String
 +
|n_m9_time = String
 +
|n_m10_time = String
 +
|n_m11_time = String
 +
|n_m12_time = String
 
|s_availability = String
 
|s_availability = String
 
|s_m1 = Boolean
 
|s_m1 = Boolean
Line 34: Line 58:
 
|s_m11 = Boolean
 
|s_m11 = Boolean
 
|s_m12 = Boolean
 
|s_m12 = Boolean
 +
|s_m1_time = String
 +
|s_m2_time = String
 +
|s_m3_time = String
 +
|s_m4_time = String
 +
|s_m5_time = String
 +
|s_m6_time = String
 +
|s_m7_time = String
 +
|s_m8_time = String
 +
|s_m9_time = String
 +
|s_m10_time = String
 +
|s_m11_time = String
 +
|s_m12_time = String
 
|time = String
 
|time = String
|location = String
+
|time_n_availability = String
|shadow_size = String
+
|time_s_availability = String
|rarity = String
+
|time2 = String
|total_catch = Integer
+
|time2_n_availability = String
|sell_nook = Integer
+
|time2_s_availability = String
|sell_cj = Integer
+
|is_material = Boolean
|tank_width = Float
 
|tank_length = Float
 
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
_table=nh_fish
 
_table=nh_fish
Line 50: Line 84:
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|image_url = {{filepath:{{{image|}}}}}
 
|image_url = {{filepath:{{{image|}}}}}
 +
|render = {{{render|}}}
 +
|render_url = {{filepath:{{{render|}}}}}
 
|catchphrase = {{{catchphrase|}}}
 
|catchphrase = {{{catchphrase|}}}
 
|catchphrase2 = {{{catchphrase2|}}}
 
|catchphrase2 = {{{catchphrase2|}}}
 +
|catchphrase3 = {{{catchphrase3|}}}
 +
|location = {{{location|}}}
 +
|shadow_size = {{{shadow-size|}}}
 +
|shadow_size_sort = {{#switch:{{{shadow-size|}}}|Tiny=1|Small=2|Medium=3|Long=4|Large=5|Very large=6|Very large (finned)=7|Huge=8}}
 +
|rarity = {{{rarity|}}}
 +
|total_catch = {{{total-catch|}}}
 +
|sell_nook = {{{sell-nook|}}}
 +
|sell_cj = {{{sell-cj|}}}
 +
|tank_width = {{{tank-width|}}}
 +
|tank_length = {{{tank-length|}}}
 
|n_availability = {{{n-availability|}}}
 
|n_availability = {{{n-availability|}}}
 
|n_m1 = {{#ifeq:{{{n-m1|}}}|Yes|Yes|No}}
 
|n_m1 = {{#ifeq:{{{n-m1|}}}|Yes|Yes|No}}
Line 65: Line 111:
 
|n_m11 = {{#ifeq:{{{n-m11|}}}|Yes|Yes|No}}
 
|n_m11 = {{#ifeq:{{{n-m11|}}}|Yes|Yes|No}}
 
|n_m12 = {{#ifeq:{{{n-m12|}}}|Yes|Yes|No}}
 
|n_m12 = {{#ifeq:{{{n-m12|}}}|Yes|Yes|No}}
 +
|n_m1_time = {{#ifeq:{{{n-m1|}}}|Yes|{{{n_m1_time|{{{time|}}}}}}|NA}}
 +
|n_m2_time = {{#ifeq:{{{n-m2|}}}|Yes|{{{n_m2_time|{{{time|}}}}}}|NA}}
 +
|n_m3_time = {{#ifeq:{{{n-m3|}}}|Yes|{{{n_m3_time|{{{time|}}}}}}|NA}}
 +
|n_m4_time = {{#ifeq:{{{n-m4|}}}|Yes|{{{n_m4_time|{{{time|}}}}}}|NA}}
 +
|n_m5_time = {{#ifeq:{{{n-m5|}}}|Yes|{{{n_m5_time|{{{time|}}}}}}|NA}}
 +
|n_m6_time = {{#ifeq:{{{n-m6|}}}|Yes|{{{n_m6_time|{{{time|}}}}}}|NA}}
 +
|n_m7_time = {{#ifeq:{{{n-m7|}}}|Yes|{{{n_m7_time|{{{time|}}}}}}|NA}}
 +
|n_m8_time = {{#ifeq:{{{n-m8|}}}|Yes|{{{n_m8_time|{{{time|}}}}}}|NA}}
 +
|n_m9_time = {{#ifeq:{{{n-m9|}}}|Yes|{{{n_m9_time|{{{time|}}}}}}|NA}}
 +
|n_m10_time = {{#ifeq:{{{n-m10|}}}|Yes|{{{n_m10_time|{{{time|}}}}}}|NA}}
 +
|n_m11_time = {{#ifeq:{{{n-m11|}}}|Yes|{{{n_m11_time|{{{time|}}}}}}|NA}}
 +
|n_m12_time = {{#ifeq:{{{n-m12|}}}|Yes|{{{n_m12_time|{{{time|}}}}}}|NA}}
 
|s_availability = {{{s-availability|}}}
 
|s_availability = {{{s-availability|}}}
 
|s_m1 = {{#ifeq:{{{s-m1|}}}|Yes|Yes|No}}
 
|s_m1 = {{#ifeq:{{{s-m1|}}}|Yes|Yes|No}}
Line 78: Line 136:
 
|s_m11 = {{#ifeq:{{{s-m11|}}}|Yes|Yes|No}}
 
|s_m11 = {{#ifeq:{{{s-m11|}}}|Yes|Yes|No}}
 
|s_m12 = {{#ifeq:{{{s-m12|}}}|Yes|Yes|No}}
 
|s_m12 = {{#ifeq:{{{s-m12|}}}|Yes|Yes|No}}
 +
|s_m1_time = {{#ifeq:{{{s-m1|}}}|Yes|{{{s_m1_time|{{{time|}}}}}}|NA}}
 +
|s_m2_time = {{#ifeq:{{{s-m2|}}}|Yes|{{{s_m2_time|{{{time|}}}}}}|NA}}
 +
|s_m3_time = {{#ifeq:{{{s-m3|}}}|Yes|{{{s_m3_time|{{{time|}}}}}}|NA}}
 +
|s_m4_time = {{#ifeq:{{{s-m4|}}}|Yes|{{{s_m4_time|{{{time|}}}}}}|NA}}
 +
|s_m5_time = {{#ifeq:{{{s-m5|}}}|Yes|{{{s_m5_time|{{{time|}}}}}}|NA}}
 +
|s_m6_time = {{#ifeq:{{{s-m6|}}}|Yes|{{{s_m6_time|{{{time|}}}}}}|NA}}
 +
|s_m7_time = {{#ifeq:{{{s-m7|}}}|Yes|{{{s_m7_time|{{{time|}}}}}}|NA}}
 +
|s_m8_time = {{#ifeq:{{{s-m8|}}}|Yes|{{{s_m8_time|{{{time|}}}}}}|NA}}
 +
|s_m9_time = {{#ifeq:{{{s-m9|}}}|Yes|{{{s_m9_time|{{{time|}}}}}}|NA}}
 +
|s_m10_time = {{#ifeq:{{{s-m10|}}}|Yes|{{{s_m10_time|{{{time|}}}}}}|NA}}
 +
|s_m11_time = {{#ifeq:{{{s-m11|}}}|Yes|{{{s_m11_time|{{{time|}}}}}}|NA}}
 +
|s_m12_time = {{#ifeq:{{{s-m12|}}}|Yes|{{{s_m12_time|{{{time|}}}}}}|NA}}
 
|time = {{{time|}}}
 
|time = {{{time|}}}
|location = {{{location|}}}
+
|time_n_availability = {{{time-n-availability|{{{n-availability|}}}}}}
|shadow_size = {{{shadow-size|}}}
+
|time_s_availability = {{{time-s-availability|{{{s-availability|}}}}}}
|rarity = {{{rarity|}}}
+
|time2 = {{{time2|}}}
|total_catch = {{{total-catch|}}}
+
|time2_n_availability = {{{time2-n-availability|}}}
|sell_nook = {{{sell-nook|}}}
+
|time2_s_availability = {{{time2-s-availability|}}}
|sell_cj = {{{sell-cj|}}}
+
|is_material = {{#if: {{{is-material|}}} | Yes | No}}
|tank_width = {{{tank-width|}}}
 
|tank_length = {{{tank-length|}}}
 
 
}}}}</includeonly>
 
}}}}</includeonly>
 
{{Critter Info
 
{{Critter Info
 
|bordercolor    = 4F9FC6
 
|bordercolor    = 4F9FC6
 
|primarycolor  = 66CCFF
 
|primarycolor  = 66CCFF
|secondarycolor = 4F9FC6
+
|secondarycolor = B3E6FF
 
|number        = {{{number|}}}
 
|number        = {{{number|}}}
 
|image          = {{{image|}}}
 
|image          = {{{image|}}}
 
|imagesize      = 128px
 
|imagesize      = 128px
|caption        = ''"{{{catchphrase|Unknown [[catch quote]]}}}"''
+
|caption        = ''"{{{catchphrase-display|{{{catchphrase|Unknown [[catch quote]]}}}}}}"''
|caption2      = {{#if:{{{catchphrase2|}}} | <small>Alternate [[catch quote]](s): ''"{{{catchphrase2|}}}"''</small> | }}
+
|caption2      = {{#if:{{{catchphrase2|}}} | <small>Alternate [[catch quote]](s): ''"{{{catchphrase2-display|{{{catchphrase2|Unknown [[catch quote]]}}}}}}"''</small> | }}{{#if:{{{catchphrase3|}}} | <br><small>''"{{{catchphrase3-display|{{{catchphrase3|Unknown [[catch quote]]}}}}}}"''</small> | }}
|label          = Time of Year
+
|label          = Time of year
|data          = <small>North:</small> {{{n-availability|}}}<br /><small>South:</small> {{{s-availability|}}}
+
|data          = <small>North:</small> {{{n-availability|}}}{{#if: {{{n-availability-note|}}}|{{Note|{{{n-availability-note|}}}}}}}<br /><small>South:</small> {{{s-availability|}}}{{#if: {{{s-availability-note|}}}|{{Note|{{{s-availability-note|}}}}}}}
|label2        = Time of Day
+
|label2        = Time of day
|data2          = {{{time|Unknown}}}
+
|data2          = {{#if:{{{time2|}}}|<small>{{{time-n-availability|}}} (NH), {{{time-s-availability|}}} (SH)</small>:<br>|}}{{{time|Unknown}}}{{#if:{{{time2|}}}|<br><small>{{{time2-n-availability|}}} (NH), {{{time2-s-availability|}}} (SH)</small>:<br>{{{time2|Unknown}}}|}}
 
|label3        = Location
 
|label3        = Location
|data3          = {{#switch:{{{location|}}}|River (clifftop) = [[River]] (clifftop)|River (mouth) = [[River]] (mouth)|Sea (rainy days) = [[Sea]] (rainy days)|[[{{{location|Unknown}}}]]}}
+
|data3          = {{#switch:{{{location|}}}|River (clifftop) = [[River]] (clifftop)|River (mouth) = [[River]] (mouth)|Sea (raining) = [[Sea]] ([[Weather|raining]])|[[{{{location|Unknown}}}]]}}
|label4        = Shadow Size
+
|label4        = Shadow size
 
|data4          = {{{shadow-size|Unknown}}}
 
|data4          = {{{shadow-size|Unknown}}}
|label6        = Rarity
+
|label6        = {{#if:{{{rarity|}}}|Rarity}}
 
|data6          = {{{rarity|Unknown}}}
 
|data6          = {{{rarity|Unknown}}}
|label7        = Total Catch
+
|label7        = [[Critterpedia#Total catch requirement|Spawn requirement]]
|data7          = {{{total-catch|}}}
+
|data7          = {{#switch:{{{total-catch|Unknown}}}|0 = Appears from the start of the game|Unknown = Unknown|#default = Catch {{{total-catch}}} total fish}}
|label8        = Selling Prices
+
|label8        = Selling prices
 
|data8          = {{Availability|Nook's Cranny|nb=true}}:&nbsp;{{Currency|Bells|{{{sell-nook|??}}}}}<br>{{Availability|C.J.|nb=true}}:&nbsp;{{Currency|Bells|{{{sell-cj|??}}}}}
 
|data8          = {{Availability|Nook's Cranny|nb=true}}:&nbsp;{{Currency|Bells|{{{sell-nook|??}}}}}<br>{{Availability|C.J.|nb=true}}:&nbsp;{{Currency|Bells|{{{sell-cj|??}}}}}
|labelend      = Tank Size
+
|labelend      = Furniture size
 
|dataend        = {{Size|{{{tank-width|1.0}}}|{{{tank-length|1.0}}}|imgsize=30x30px}}
 
|dataend        = {{Size|{{{tank-width|1.0}}}|{{{tank-length|1.0}}}|imgsize=30x30px}}
}}<includeonly><span id="api-critter_name_nh" style="display:none;">{{{name|{{PAGENAME}}}}}</span><span id="api-critter_catchphrase_nh" style="display:none;">{{{catchphrase|Unknown}}}</span><span id="api-critter_catchphrase2_nh" style="display:none;">{{{catchphrase2|}}}</span><span id="api-critter_availability_north_nh" style="display:none;">{{{n-availability|Unknown}}}</span><span id="api-critter_availability_south_nh" style="display:none;">{{{s-availability|Unknown}}}</span><span id="api-critter_time_nh" style="display:none;">{{{time|Unknown}}}</span><span id="api-critter_location_nh" style="display:none;">{{{location|Unknown}}}</span><span id="api-critter_shadow_nh" style="display:none;">{{{shadow-size|Unknown}}}</span><span id="api-critter_size_nh" style="display:none;">{{{fish-size|Unknown}}}</span><span id="api-critter_rarity_nh" style="display:none;">{{{rarity|Unknown}}}</span><span id="api-critter_total_catch_nh" style="display:none;">{{{total-catch|Unknown}}}</span><span id="api-critter_sell_nh" style="display:none;">{{{sell-nook|Unknown}}}</span><span id="api-critter_tank_size_nh" style="display:none;">{{{tank-width|}}}x{{{tank-length|}}}</span>{{#vardefine: i | 1 }}{{#while:
+
}}<noinclude>{{Documentation}}[[Category:Cargo templates]][[Category:Critter info templates]]</noinclude>
| {{#ifexpr: {{#var: i }} < 13 | true }}
 
| <nowiki />
 
<span id="api-critter_month{{#var: i }}_hn_nh" style="display:none;">{{{n-m{{#var: i }}|No}}}</span>
 
<span id="api-critter_month{{#var: i }}_hs_nh" style="display:none;">{{{s-m{{#var: i }}|No}}}</span>
 
{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
 
}}</includeonly><noinclude>{{Documentation}}[[Category:Critter info templates]]</noinclude>
 

Latest revision as of 19:13, December 2, 2022

This template defines the table "nh_fish". View table.

Have an image of this critter?
Then please upload it!
"Unknown catch quote"

Time of year North:
South:
Time of day Unknown
Location Unknown
Shadow size Unknown
Spawn requirement Unknown
Selling prices  Nook's Cranny ?? Bells
 C.J. ?? Bells
Furniture size 1.0 x 1.0

Template documentation (view)


More Cargo templates

Usage

Parameters

image
Sprite image, defined as Filename.ext (do not include File:).
catchphrase
The catch quote the player says after catching the critter.
n-availability
Months in the northern hemisphere that the critter is available, formatted as:
Month - Month
Month - Month
s-availability
Months in the southern hemisphere that the critter is available, formatted as:
Month - Month
Month - Month
time
The times of the day that the critter is available, formatted as:
#AM - #PM
#AM - #PM
location
Where the critter can be found.
shadow-size
Fish shadow size (TODO: Define scale).
rarity
Critter rarity (TODO: Define scale here.)
total-catch
The total number of fish that need to be caught before the critter will start spawning.
sell-nook
How many Bells the critter sells for if selling in Nook's Cranny (or Timmy before the shop has built).
sell-cj
How many Bells the critter sells for if selling to C.J..
tank-width
Width (x-axis) of the tank when placing the critter down as a furniture item.
tank-length
Length (y-axis) of the tank when placing the critter down as a furniture item.