Difference between revisions of "Template:NLFishInfo"

From Nookipedia, the Animal Crossing wiki
(Merging time+months since times can vary by month (ugh))
(Need to specify rain/snow because Coelacanth works with rain/snow in all games except New Horizons where it is just rain.)
 
(46 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
<noinclude>{{#cargo_declare:
 +
_table=nl_fish
 +
|url = String
 +
|name = String
 +
|number = Integer
 +
|image = String
 +
|image_url = String
 +
|catchphrase = String
 +
|catchphrase2 = String
 +
|location = String
 +
|shadow_size = String
 +
|fish_size = String
 +
|rarity = String
 +
|sell = Integer
 +
|sell_pre_wa = Integer
 +
|tank_width = Float
 +
|tank_length = Float
 +
|availability = String
 +
|m1 = Boolean
 +
|m2 = Boolean
 +
|m3 = Boolean
 +
|m4 = Boolean
 +
|m5 = Boolean
 +
|m6 = Boolean
 +
|m7 = Boolean
 +
|m8_1 = Boolean
 +
|m8_2 = Boolean
 +
|m9_1 = Boolean
 +
|m9_2 = Boolean
 +
|m10 = Boolean
 +
|m11 = Boolean
 +
|m12 = Boolean
 +
|on_tortimer_island = Boolean
 +
|on_island_tour = Boolean
 +
|m1_time = String
 +
|m2_time = String
 +
|m3_time = String
 +
|m4_time = String
 +
|m5_time = String
 +
|m6_time = String
 +
|m7_time = String
 +
|m8_1_time = String
 +
|m8_2_time = String
 +
|m9_1_time = String
 +
|m9_2_time = String
 +
|m10_time = String
 +
|m11_time = String
 +
|m12_time = String
 +
|tortimer_island_time = String
 +
|time = String
 +
|time_availability = String
 +
|time2 = String
 +
|time2_availability = String
 +
|time3 = String
 +
|time3_availability = String
 +
|time4 = String
 +
|time4_availability = String
 +
|peaktime = String
 +
|peaktime_availability = String
 +
|peaktime2 = String
 +
|peaktime2_availability = String
 +
|peaktime3 = String
 +
|peaktime3_availability = String
 +
|peaktime4 = String
 +
|peaktime4_availability = String
 +
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 +
_table=nl_fish
 +
|url = {{canonicalurl:{{PAGENAME}}}}
 +
|name = {{#if:{{{name|}}}|{{{name|}}}|{{#replace:{{PAGENAME}}|&#39;|'}}}}
 +
|number = {{{number|}}}
 +
|image = {{{image|}}}
 +
|image_url = {{filepath:{{{image|}}}}}
 +
|catchphrase = {{{catchphrase|}}}
 +
|catchphrase2 = {{{catchphrase2|}}}
 +
|location = {{{location|}}}
 +
|shadow_size = {{{shadow-size|}}}
 +
|fish_size = {{{fish-size|}}}
 +
|rarity = {{{rarity|}}}
 +
|sell = {{{sell|}}}
 +
|sell_pre_wa = {{{sell-pre-wa|}}}
 +
|tank_width = {{{tank-width|}}}
 +
|tank_length = {{{tank-length|}}}
 +
|availability = {{{availability|}}}
 +
|m1 = {{#ifeq:{{{m1|}}}|Yes|Yes|No}}
 +
|m2 = {{#ifeq:{{{m2|}}}|Yes|Yes|No}}
 +
|m3 = {{#ifeq:{{{m3|}}}|Yes|Yes|No}}
 +
|m4 = {{#ifeq:{{{m4|}}}|Yes|Yes|No}}
 +
|m5 = {{#ifeq:{{{m5|}}}|Yes|Yes|No}}
 +
|m6 = {{#ifeq:{{{m6|}}}|Yes|Yes|No}}
 +
|m7 = {{#ifeq:{{{m7|}}}|Yes|Yes|No}}
 +
|m8_1 = {{#ifeq:{{{m8-1|}}}|Yes|Yes|No}}
 +
|m8_2 = {{#ifeq:{{{m8-2|}}}|Yes|Yes|No}}
 +
|m9_1 = {{#ifeq:{{{m9-1|}}}|Yes|Yes|No}}
 +
|m9_2 = {{#ifeq:{{{m9-2|}}}|Yes|Yes|No}}
 +
|m10 = {{#ifeq:{{{m10|}}}|Yes|Yes|No}}
 +
|m11 = {{#ifeq:{{{m11|}}}|Yes|Yes|No}}
 +
|m12 = {{#ifeq:{{{m12|}}}|Yes|Yes|No}}
 +
|on_tortimer_island = {{#ifeq:{{{on-tortimer-island|}}}|Yes|Yes|No}}
 +
|on_island_tour = {{#ifeq:{{{on-island-tour|}}}|Yes|Yes|No}}
 +
|m1_time = {{#ifeq:{{{m1|}}}|Yes|{{{m1_time|{{{times|}}}}}}|NA}}
 +
|m2_time = {{#ifeq:{{{m2|}}}|Yes|{{{m2_time|{{{times|}}}}}}|NA}}
 +
|m3_time = {{#ifeq:{{{m3|}}}|Yes|{{{m3_time|{{{times|}}}}}}|NA}}
 +
|m4_time = {{#ifeq:{{{m4|}}}|Yes|{{{m4_time|{{{times|}}}}}}|NA}}
 +
|m5_time = {{#ifeq:{{{m5|}}}|Yes|{{{m5_time|{{{times|}}}}}}|NA}}
 +
|m6_time = {{#ifeq:{{{m6|}}}|Yes|{{{m6_time|{{{times|}}}}}}|NA}}
 +
|m7_time = {{#ifeq:{{{m7|}}}|Yes|{{{m7_time|{{{times|}}}}}}|NA}}
 +
|m8_1_time = {{#ifeq:{{{m8-1|}}}|Yes|{{{m8-1_time|{{{times|}}}}}}|NA}}
 +
|m8_2_time = {{#ifeq:{{{m8-2|}}}|Yes|{{{m8-2_time|{{{times|}}}}}}|NA}}
 +
|m9_1_time = {{#ifeq:{{{m9-1|}}}|Yes|{{{m9-1_time|{{{times|}}}}}}|NA}}
 +
|m9_2_time = {{#ifeq:{{{m9-2|}}}|Yes|{{{m9-2_time|{{{times|}}}}}}|NA}}
 +
|m10_time = {{#ifeq:{{{m10|}}}|Yes|{{{m10_time|{{{times|}}}}}}|NA}}
 +
|m11_time = {{#ifeq:{{{m11|}}}|Yes|{{{m11_time|{{{times|}}}}}}|NA}}
 +
|m12_time = {{#ifeq:{{{m12|}}}|Yes|{{{m12_time|{{{times|}}}}}}|NA}}
 +
|tortimer_island_time = {{#ifeq:{{{on-tortimer-island|}}}|Yes|{{{tortimer-island-time|{{{times|}}}}}}|NA}}
 +
|time = {{{times|}}}
 +
|time_availability = {{{time-availability|}}}
 +
|time2 = {{{time2|}}}
 +
|time2_availability = {{{time2-availability|}}}
 +
|time3 = {{{time3|}}}
 +
|time3_availability = {{{time3-availability|}}}
 +
|time4 = {{{time4|}}}
 +
|time4_availability = {{{time4-availability|}}}
 +
|peaktime = {{{times-peak|}}}
 +
|peaktime_availability = {{{peaktime-availability|}}}
 +
|peaktime2 = {{{peaktime2|}}}
 +
|peaktime2_availability = {{{peaktime-availability2|}}}
 +
|peaktime3 = {{{peaktime3|}}}
 +
|peaktime3_availability = {{{peaktime-availability3|}}}
 +
|peaktime4 = {{{peaktime4|}}}
 +
|peaktime4_availability = {{{peaktime-availability4|}}}
 +
}}}}</includeonly>
 
{{Critter Info
 
{{Critter Info
 
|bordercolor    = 4F9FC6
 
|bordercolor    = 4F9FC6
 
|primarycolor  = 66CCFF
 
|primarycolor  = 66CCFF
|secondarycolor = 4F9FC6
+
|secondarycolor = B3E6FF
 +
|number        = {{{number|}}}
 
|image          = {{{image|}}}
 
|image          = {{{image|}}}
 
|imagesize      = 128px
 
|imagesize      = 128px
|caption        = ''"{{{catchphrase|Unknown catchphrase}}}"''
+
|crisp          = yes
|label          = Times
+
|caption        = ''"{{{catchphrase-display|{{{catchphrase|Unknown [[catch quote]]}}}}}}"''
|data          = {{{times|Unknown}}}
+
|caption2      = {{#if:{{{catchphrase2|}}} | <small>Alternate [[catch quote]]: ''"{{{catchphrase2-display|{{{catchphrase2|Unknown [[catch quote]]}}}}}}"''</small> | }}
|label2        = Peak Times
+
|label          = Time of year
|data2          = {{{times-peak|Unknown}}}
+
|data          = {{{availability|Unknown}}}{{#ifeq:{{{on-tortimer-island|}}}|Yes|{{#ifeq:{{{availability|}}}|All year||<br>All year ([[Tortimer Island]])|}}}}
|label3        = Location
+
|label2        = Time of day
|data3          = {{{location|Unknown}}}
+
|data2          = {{#if:{{{time2|}}}|<small>{{{time-availability|}}}:</small><br>|}}{{{times|Unknown}}}{{#if:{{{time2|}}}|<br><small>{{{time2-availability|}}}:</small><br>{{{time2|Unknown}}}|}}{{#if:{{{time3|}}}|<br><small>{{{time3-availability|}}}:</small><br>{{{time3|Unknown}}}|}}{{#if:{{{time4|}}}|<br><small>{{{time4-availability|}}}:</small><br>{{{time4|Unknown}}}|}}{{#ifeq:{{{on-tortimer-island|}}}|Yes|{{#if:{{{tortimer-island-time|}}}|<br><small>[[Tortimer Island]]:</small><br>{{{tortimer-island-time|Unknown}}}|}}|}}
|label4        = Shadow Size
+
|label3         = Peak times
|data4          = {{{shadow-size|Unknown}}}
+
|data3         = {{#if:{{{peaktime-availability|}}}|{{#if:{{{times-peak|}}}|<small>{{{peaktime-availability|}}}:</small><br>{{{times-peak|}}}|{{{peaktime-availability|}}}}}|{{{times-peak|N/A}}}}}{{#if:{{{peaktime2|}}}|<br><small>{{{peaktime2-availability|}}}</small>:<br>{{{peaktime2|Unknown}}}|}}{{#if:{{{peaktime3|}}}|<br><small>{{{peaktime3-availability|}}}</small>:<br>{{{peaktime3|Unknown}}}|}}{{#if:{{{peaktime4|}}}|<br><small>{{{peaktime4-availability|}}}</small>:<br>{{{peaktime4|Unknown}}}|}}
|label5        = Fish Size
+
|label4        = Location
|data5          = {{{fish-size|Unknown}}}
+
|data4          = {{#switch:{{{location|}}}|River pool = [[River pool]]|River (mouth) = [[River]] (mouth)|Sea = [[Sea]]|Holding pond = [[Pond]]|Pond = [[Pond]]|Sea (raining) = [[Sea]] ([[Weather|raining]])|Sea (raining or snowing) = [[Sea]] ([[Weather|raining or snowing]])|Tortimer Island = [[Tortimer Island]]|[[{{{location|Unknown}}}]]}}{{#ifeq:{{{on-tortimer-island|}}}|Yes|{{#ifeq:{{{location|}}}|Tortimer Island||<br>[[Tortimer Island]]|}}}}
|label6        = Rarity
+
|label5        = Shadow size
|data6          = {{{rarity|Unknown}}}
+
|data5          = {{{shadow-size|Unknown}}}
|label7         = Selling Price
+
|label6        = Fish size
|data7         = {{Currency|Bells|{{{sell|??}}}}}
+
|data6          = {{{fish-size|Unknown}}}
|labelend      = Tank Size
+
|label7        = {{#if:{{{rarity|}}}|Rarity}}
|dataend        = {{Size|{{{width|1.0}}}|{{{height|1.0}}}|imgsize=30x30px}}
+
|data7          = {{{rarity|Unknown}}}
}}<includeonly><span id="api-critter_catchphrase_nl" style="display:none;">{{{catchphrase|Unknown}}}</span><span id="api-critter_times_nl" style="display:none;">{{{times|Unknown}}}</span><span id="api-critter_times_peak_nl" style="display:none;">{{{times_peak|Unknown}}}</span><span id="api-critter_catchphrase_nl" style="display:none;">{{{catchphrase|Unknown}}}</span><span id="api-critter_location_nl" style="display:none;">{{{location|Unknown}}}</span><span id="api-critter_shadow_nl" style="display:none;">{{{shadow-size|Unknown}}}</span><span id="api-critter_size_nl" style="display:none;">{{{fish-size|Unknown}}}</span><span id="api-critter_rarity_nl" style="display:none;">{{{rarity|Unknown}}}</span><span id="api-critter_sell_nl" style="display:none;">{{{sell|Unknown}}}</span><span id="api-critter_tank_size_nl" style="display:none;">{{{sell|}}}</span></includeonly>
+
|label8        = Selling price
 +
|data8          = {{Currency|Bells|{{{sell|}}}}}{{#if:{{{sell-pre-wa|}}}|<br>Prior to [[Welcome amiibo]] update: {{Currency|Bells|{{{sell-pre-wa|}}}}}|}}
 +
|labelend      = Furniture size
 +
|dataend        = {{Size|{{{tank-width|1.0}}}|{{{tank-length|1.0}}}|imgsize=30x30px}}
 +
}}<noinclude>{{Documentation}}[[Category:Cargo templates]][[Category:Critter info templates]]</noinclude>

Latest revision as of 02:35, February 18, 2022

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

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

Time of year Unknown
Time of day Unknown
Peak times N/A
Location Unknown
Shadow size Unknown
Fish size Unknown
Selling price  Bells
Furniture size 1.0 x 1.0

Template documentation (view)


More Cargo templates