Difference between revisions of "Template:NHSeaCreatureInfo"

From Nookipedia, the Animal Crossing wiki
m (adding render)
(adding is_material parameter)
(4 intermediate revisions by 2 users not shown)
Line 73: Line 73:
 
|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_sea_creature
 
_table=nh_sea_creature
Line 147: Line 148:
 
|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 156: Line 158:
 
|caption        = ''"{{{catchphrase-display|{{{catchphrase|Unknown [[catch quote]]}}}}}}"''
 
|caption        = ''"{{{catchphrase-display|{{{catchphrase|Unknown [[catch quote]]}}}}}}"''
 
|caption2      = {{#if:{{{catchphrase2|}}} | <small>Alternate [[catch quote]]: ''"{{{catchphrase2-display|{{{catchphrase2|Unknown [[catch quote]]}}}}}}"''</small> | }}
 
|caption2      = {{#if:{{{catchphrase2|}}} | <small>Alternate [[catch quote]]: ''"{{{catchphrase2-display|{{{catchphrase2|Unknown [[catch quote]]}}}}}}"''</small> | }}
|label          = Time of Year
+
|label          = Time of year
 
|data          = <small>North:</small> {{{n-availability|Unknown}}}<br /><small>South:</small> {{{s-availability|Unknown}}}
 
|data          = <small>North:</small> {{{n-availability|Unknown}}}<br /><small>South:</small> {{{s-availability|Unknown}}}
|label2        = Time of Day
+
|label2        = Time of day
 
|data2          = {{{time|Unknown}}}
 
|data2          = {{{time|Unknown}}}
|label3        = Shadow Size
+
|label3        = Shadow size
 
|data3          = {{{shadow-size|Unknown}}}
 
|data3          = {{{shadow-size|Unknown}}}
|label4        = Shadow Movement
+
|label4        = Shadow movement
 
|data4          = {{{shadow-movement|Unknown}}}
 
|data4          = {{{shadow-movement|Unknown}}}
|label5        = Rarity
+
|label5        = {{#if:{{{rarity|}}}|Rarity}}
 
|data5          = {{{rarity|Unknown}}}
 
|data5          = {{{rarity|Unknown}}}
|label6        = [[Critterpedia#Total catch requirement|Spawn Requirement]]
+
|label6        = [[Critterpedia#Total catch requirement|Spawn requirement]]
 
|data6          = {{#switch:{{{total-catch|Unknown}}}|0 = Appears from the start of the game|Unknown = Unknown|#default = Catch {{{total-catch}}} total sea creatures}}
 
|data6          = {{#switch:{{{total-catch|Unknown}}}|0 = Appears from the start of the game|Unknown = Unknown|#default = Catch {{{total-catch}}} total sea creatures}}
|label7        = Selling Price
+
|label7        = Selling price
 
|data7          = {{Currency|Bells|{{{sell-nook|??}}}}}
 
|data7          = {{Currency|Bells|{{{sell-nook|??}}}}}
|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|Sea}}}</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>
 

Revision as of 15:51, November 16, 2021

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

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

Time of year North: Unknown
South: Unknown
Time of day Unknown
Shadow size Unknown
Shadow movement Unknown
Spawn requirement Unknown
Selling price  ?? Bells
Furniture size 1.0 x 1.0

Template documentation (view)


More Cargo templates

Usage

{{NHSeaCreatureInfo
|name            =
|image           = 
|catchphrase     =
|n-availability  =
|s-availability  =
|time            =
|shadow-size     =
|shadow-movement =
|rarity          =
|total-catch     =
|sell-nook       =
|tank-width      =
|tank-length     =
}}