Difference between revisions of "Template:NHFishInfo"

From Nookipedia, the Animal Crossing wiki
m (Default param fix)
(Render param is now defined on all pages)
 
(16 intermediate revisions by 6 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
Line 11: Line 13:
 
|location = String
 
|location = String
 
|shadow_size = String
 
|shadow_size = String
 +
|shadow_size_sort = Integer
 
|rarity = String
 
|rarity = String
 
|total_catch = Integer
 
|total_catch = Integer
Line 73: Line 76:
 
|time2_n_availability = String
 
|time2_n_availability = String
 
|time2_s_availability = String
 
|time2_s_availability = String
 +
|is_material = Boolean
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
_table=nh_fish
 
_table=nh_fish
Line 80: 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|}}}
Line 85: Line 91:
 
|location = {{{location|}}}
 
|location = {{{location|}}}
 
|shadow_size = {{{shadow-size|}}}
 
|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|}}}
 
|rarity = {{{rarity|}}}
 
|total_catch = {{{total-catch|}}}
 
|total_catch = {{{total-catch|}}}
Line 147: Line 154:
 
|time2_n_availability = {{{time2-n-availability|}}}
 
|time2_n_availability = {{{time2-n-availability|}}}
 
|time2_s_availability = {{{time2-s-availability|}}}
 
|time2_s_availability = {{{time2-s-availability|}}}
 +
|is_material = {{#if: {{{is-material|}}} | Yes | No}}
 
}}}}</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|}}}
Line 157: Line 165:
 
|caption        = ''"{{{catchphrase-display|{{{catchphrase|Unknown [[catch quote]]}}}}}}"''
 
|caption        = ''"{{{catchphrase-display|{{{catchphrase|Unknown [[catch quote]]}}}}}}"''
 
|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> | }}
 
|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          = {{#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}}}|}}
 
|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:Cargo templates]][[Category:Critter info templates]]</noinclude>
 

Latest revision as of 20: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.