Difference between revisions of "Template:NHFishInfo"

From Nookipedia, the Animal Crossing wiki
m
(Render param is now defined on all pages)
 
(8 intermediate revisions by 4 users not shown)
Line 13: 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 75: Line 76:
 
|time2_n_availability = String
 
|time2_n_availability = String
 
|time2_s_availability = String
 
|time2_s_availability = String
|description = Text
+
|is_material = Boolean
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
_table=nh_fish
 
_table=nh_fish
Line 83: Line 84:
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|image_url = {{filepath:{{{image|}}}}}
 
|image_url = {{filepath:{{{image|}}}}}
|render = {{{render|{{#replace:{{#replace:{{PAGENAME}}| (fish)|}}|&#39;|'}} NH.png|}}}
+
|render = {{{render|}}}
|render_url = {{filepath:{{{render|{{#replace:{{#replace:{{PAGENAME}}| (fish)|}}|&#39;|'}} NH.png|}}}}}
+
|render_url = {{filepath:{{{render|}}}}}
 
|catchphrase = {{{catchphrase|}}}
 
|catchphrase = {{{catchphrase|}}}
 
|catchphrase2 = {{{catchphrase2|}}}
 
|catchphrase2 = {{{catchphrase2|}}}
Line 90: 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 152: 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
Line 163: Line 166:
 
|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        = [[Critterpedia#Total catch requirement|Spawn requirement]]
 
|label7        = [[Critterpedia#Total catch requirement|Spawn requirement]]

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.