Difference between revisions of "Template:NHBugInfo"

From Nookipedia, the Animal Crossing wiki
(+number param)
(update)
Line 14: Line 14:
 
|label3        = Location
 
|label3        = Location
 
|data3          = {{{location|Unknown}}}
 
|data3          = {{{location|Unknown}}}
|label4        = Bug Size
+
|label4        = Rarity
|data4          = {{{bug-size|Unknown}}}
+
|data4          = {{{rarity|Unknown}}}
|label5         = Rarity
+
|label5        = Selling Prices
|data5          = {{{rarity|Unknown}}}
+
|data5         = {{Availability|Nook's Cranny|nb=true}}:&nbsp;{{Currency|Bells|{{{sell-nook|??}}}}}<br/>{{Availability|Flick|nb=true}}:&nbsp;{{Currency|Bells|{{{sell-flick|??}}}}}
|label6         = Selling Prices
 
|data6         = {{Availability|Nook's Cranny|nb=true}}:&nbsp;{{Currency|Bells|{{{sell-nook|??}}}}}<br/>{{Availability|Flick|nb=true}}:&nbsp;{{Currency|Bells|{{{sell-flick|??}}}}}
 
 
|labelend      = Tank Size
 
|labelend      = Tank 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_catchphrase_nh" style="display:none;">{{{catchphrase|Unknown}}}</span><span id="api-critter_catchphrase2_nh" style="display:none;">{{{catchphrase2|}}}</span><span id="api-critter_months_north_nh" style="display:none;">{{{n-months|Unknown}}}</span><span id="api-critter_months_south_nh" style="display:none;">{{{s-months|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;">{{{bug-size|Unknown}}}</span><span id="api-critter_rarity_nh" style="display:none;">{{{rarity|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></includeonly><noinclude>{{Documentation}}[[Category:Critter info templates]]</noinclude>
+
}}<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_rarity_nh" style="display:none;">{{{rarity|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:
 +
| {{#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>

Revision as of 09:06, June 3, 2020

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

Time of Year North:
South:
Time of Day Unknown
Location Unknown
Rarity Unknown
Selling Prices  Nook's Cranny ?? Bells
 Flick ?? Bells
Tank Size 1.0 x 1.0

Template documentation (view)


Usage

More Cargo templates

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.
rarity
Critter rarity (TODO: Define scale here.)
total-catch
The total number of bugs 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-flick
How many Bells the critter sells for if selling to Flick.
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.