Difference between revisions of "Template:PCBugInfo"

From Nookipedia, the Animal Crossing wiki
(Moving new template here now that all pages have been updated)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<noinclude>{{#cargo_declare:
 +
_table=pc_bug
 +
|url = String
 +
|name = String
 +
|number = Integer
 +
|image = String
 +
|image_url = String
 +
|location = String
 +
|size = String
 +
|rarity = String
 +
|sell = Integer
 +
|version_added = String
 +
|tier = Integer
 +
|catalog_category = String
 +
|currently_available = Boolean
 +
|availability_current_start = Date
 +
|availability_current_end = Date
 +
|availability_current_event = String
 +
|availability1_start = Date
 +
|availability1_end = Date
 +
|availability1_event = String
 +
|availability2_start = Date
 +
|availability2_end = Date
 +
|availability2_event = String
 +
|availability3_start = Date
 +
|availability3_end = Date
 +
|availability3_event = String
 +
|availability4_start = Date
 +
|availability4_end = Date
 +
|availability4_event = String
 +
|availability5_start = Date
 +
|availability5_end = Date
 +
|availability5_event = String
 +
|availability6_start = Date
 +
|availability6_end = Date
 +
|availability6_event = String
 +
|availability7_start = Date
 +
|availability7_end = Date
 +
|availability7_event = String
 +
|availability8_start = Date
 +
|availability8_end = Date
 +
|availability8_event = String
 +
|availability9_start = Date
 +
|availability9_end = Date
 +
|availability9_event = String
 +
|availability10_start = Date
 +
|availability10_end = Date
 +
|availability10_event = String
 +
|availability_latest_start = Date
 +
|availability_latest_end = Date
 +
|availability_latest_event = String
 +
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 +
_table=pc_bug
 +
|url = {{canonicalurl:{{PAGENAME}}}}
 +
|name = {{#if:{{{name|}}}|{{{name|}}}|{{#replace:{{PAGENAME}}|&#39;|'}}}}
 +
|number = {{{number|}}}
 +
|image = {{{image|}}}
 +
|image_url = {{filepath:{{{image|}}}}}
 +
|location = {{{location|}}}
 +
|size = {{{size|}}}
 +
|rarity = {{{rarity|}}}
 +
|sell = {{{sell|}}}
 +
|version_added = {{{version-added|}}}
 +
|tier = {{{tier|}}}
 +
|catalog_category = {{{catalog-category|bugs}}}
 +
|currently_available = {{#if:{{{availability-current-start|}}}|Yes|No}}
 +
|availability_current_start = {{{availability-current-start|}}}
 +
|availability_current_end = {{{availability-current-end|}}}
 +
|availability_current_event = {{{availability-current-event|}}}
 +
|availability1_start = {{{availability1-start|}}}
 +
|availability1_end = {{{availability1-end|}}}
 +
|availability1_event = {{{availability1-event|}}}
 +
|availability2_start = {{{availability2-start|}}}
 +
|availability2_end = {{{availability2-end|}}}
 +
|availability2_event = {{{availability2-event|}}}
 +
|availability3_start = {{{availability3-start|}}}
 +
|availability3_end = {{{availability3-end|}}}
 +
|availability3_event = {{{availability3-event|}}}
 +
|availability4_start = {{{availability4-start|}}}
 +
|availability4_end = {{{availability4-end|}}}
 +
|availability4_event = {{{availability4-event|}}}
 +
|availability5_start = {{{availability5-start|}}}
 +
|availability5_end = {{{availability5-end|}}}
 +
|availability5_event = {{{availability5-event|}}}
 +
|availability6_start = {{{availability6-start|}}}
 +
|availability6_end = {{{availability6-end|}}}
 +
|availability6_event = {{{availability6-event|}}}
 +
|availability7_start = {{{availability7-start|}}}
 +
|availability7_end = {{{availability7-end|}}}
 +
|availability7_event = {{{availability7-event|}}}
 +
|availability8_start = {{{availability8-start|}}}
 +
|availability8_end = {{{availability8-end|}}}
 +
|availability8_event = {{{availability8-event|}}}
 +
|availability9_start = {{{availability9-start|}}}
 +
|availability9_end = {{{availability9-end|}}}
 +
|availability9_event = {{{availability9-event|}}}
 +
|availability10_start = {{{availability10-start|}}}
 +
|availability10_end = {{{availability10-end|}}}
 +
|availability10_event = {{{availability10-event|}}}
 +
|availability_latest_start = {{{availability-latest-start|}}}
 +
|availability_latest_end = {{{availability-latest-end|}}}
 +
|availability_latest_event = {{{availability-latest-event|}}}
 +
}}}}</includeonly>
 
{{Critter Info
 
{{Critter Info
 
|bordercolor    = e4f6bc
 
|bordercolor    = e4f6bc
Line 6: Line 109:
 
|image          = {{{image|}}}
 
|image          = {{{image|}}}
 
|imagesize      = 128px
 
|imagesize      = 128px
|label          = Event availability
+
|caption        = {{{catalog-category|}}}
|data          = {{{event|None}}}
+
|label          = Availability
 +
|data          = {{#if:{{{availability-current-start|}}}|Currently available <small>(since {{#dateformat:{{{availability-current-start|}}}|mdy}}{{#if:{{{availability-current-event|}}}|<nowiki>;</nowiki> {{{availability-current-event|}}})</small>|)</small>}}|Not currently available}}{{#if:{{{availability1-start|}}}
 +
|*{{{availability1-start|}}} – {{{availability1-end|}}} {{#if:{{{availability1-event|}}}|<small>({{{availability1-event|}}})</small>}}}}{{#if:{{{availability2-start|}}}
 +
|*{{{availability2-start|}}} – {{{availability2-end|}}} {{#if:{{{availability2-event|}}}|<small>({{{availability2-event|}}})</small>}}}}{{#if:{{{availability3-start|}}}
 +
|*{{{availability3-start|}}} – {{{availability3-end|}}} {{#if:{{{availability3-event|}}}|<small>({{{availability3-event|}}})</small>}}}}{{#if:{{{availability4-start|}}}
 +
|*{{{availability4-start|}}} – {{{availability4-end|}}} {{#if:{{{availability4-event|}}}|<small>({{{availability4-event|}}})</small>}}}}{{#if:{{{availability5-start|}}}
 +
|*{{{availability5-start|}}} – {{{availability5-end|}}} {{#if:{{{availability5-event|}}}|<small>({{{availability5-event|}}})</small>}}}}{{#if:{{{availability6-start|}}}
 +
|*{{{availability6-start|}}} – {{{availability6-end|}}} {{#if:{{{availability6-event|}}}|<small>({{{availability6-event|}}})</small>}}}}{{#if:{{{availability7-start|}}}
 +
|*{{{availability7-start|}}} – {{{availability7-end|}}} {{#if:{{{availability7-event|}}}|<small>({{{availability7-event|}}})</small>}}}}{{#if:{{{availability8-start|}}}
 +
|*{{{availability8-start|}}} – {{{availability8-end|}}} {{#if:{{{availability8-event|}}}|<small>({{{availability8-event|}}})</small>}}}}{{#if:{{{availability9-start|}}}
 +
|*{{{availability9-start|}}} – {{{availability9-end|}}} {{#if:{{{availability9-event|}}}|<small>({{{availability9-event|}}})</small>}}}}{{#if:{{{availability10-start|}}}
 +
|*{{{availability10-start|}}} – {{{availability10-end|}}} {{#if:{{{availability10-event|}}}|<small>({{{availability10-event|}}})</small>}}}}{{#if:{{{availability-current-start|}}}|
 +
|*{{{availability-latest-start|}}} – {{{availability-latest-end|}}} {{#if:{{{availability-latest-event|}}}|<small>({{{availability-latest-event|}}})</small>}}}}
 
|label2        = Location
 
|label2        = Location
|data2          = {{{location|Unknown}}}
+
|data2          = {{#if:{{{location|}}}|[[File:{{{location|}}} PC Map Icon.png|32px|link=]]&nbsp;[[{{{location|}}}]]|Unknown}}
 
|label3        = Size
 
|label3        = Size
 
|data3          = {{{size|Unknown}}}
 
|data3          = {{{size|Unknown}}}
 
|label4        = Rarity
 
|label4        = Rarity
 
|data4          = {{{rarity|Unknown}}}
 
|data4          = {{{rarity|Unknown}}}
|label5        = Catch rate
+
|label5        = Selling price
|data5          = {{{catch-rate|Unknown}}}
+
|data5          = {{Currency|Bells|{{{sell|??}}}}}
|label6        = Selling price
+
|label6        = Version added
|data6          = {{Currency|Bells|{{{sell|??}}}}}
+
|data6          = {{{version-added|Unknown}}}
|labelend      = Request reward
+
|labelend      = Villager gift data
|dataend        = {{Currency|Bells|{{{reward-bells|??}}}}}{{#if:{{{reward-exp|}}}| {{{reward-exp|}}} [[File:Heart PC Icon.png|link=]] Friendship Points|}}<br><small>{{{reward-misc|}}}</small>
+
|dataend        = '''Tier:''' {{#switch:{{{tier|}}}|1=1 (Common)|2=2 (Uncommon)|3=3 (Uncommon+)|4=4 (Rare)|5=5 (Super Rare)|Unknown}}
}}<includeonly><span id="api-critter_catchphrase_pc" style="display:none;">N/A</span><span id="api-critter_event_pc" style="display:none;">{{{event|Unknown}}}</span><span id="api-critter_location_pc" style="display:none;">{{{location|Unknown}}}</span><span id="api-critter_size_nl" style="display:none;">{{{size|Unknown}}}</span><span id="api-critter_rarity_pc" style="display:none;">{{{rarity|Unknown}}}</span><span id="api-critter_catch_rate_pc" style="display:none;">{{{catch-rate|Unknown}}}</span><span id="api-critter_sell_pc" style="display:none;">{{{sell|Unknown}}}</span></includeonly><noinclude>{{Documentation}}[[Category:Critter info templates]]</noinclude>
+
'''Rewards:''' {{#switch:{{{tier|}}}
 +
|1=
 +
*{{Currency|Bells|100}}
 +
*+2 [[File:Heart PC Icon.png|15px|link=]] Friendship points
 +
|2
 +
|3=
 +
*{{Currency|Bells|1500}}
 +
*[[Fortune cookie]] (20%)
 +
*+3 [[File:Heart PC Icon.png|15px|link=]] Friendship points
 +
|4=
 +
*{{Currency|Bells|2000}}
 +
*[[Fortune cookie]]
 +
*[[File:Sparkle Stones PC Icon.png|15px|link=]] Sparkle stones (1.6%)
 +
*+4 [[File:Heart PC Icon.png|15px|link=]] Friendship points
 +
|5=
 +
*{{Currency|Bells|10000}}
 +
*[[Fortune cookie]]
 +
*[[File:Sparkle Stones PC Icon.png|15px|link=]] Sparkle stones
 +
*+10 [[File:Heart PC Icon.png|15px|link=]] Friendship points
 +
|Unknown
 +
}}
 +
}}<noinclude>{{Documentation}}[[Category:Critter info templates]]</noinclude>

Latest revision as of 22:09, May 6, 2024

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

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

Availability Not currently available
Location Unknown
Size Unknown
Rarity Unknown
Selling price  ?? Bells
Version added Unknown
Villager gift data Tier: Unknown

Rewards: Unknown

Template documentation (view)


Usage

Parameters

number
Number in the catalog.
image
Sprite image, defined as Filename.ext (do not include File:).
event
The event the critter appears in, if any. For example:
Daisy Mae's Pickin' Patch
location
Where the critter can be found.
size
Critter size in mm.
rarity
Critter rarity in stars, as shown in the catalog:
★★★
catch-rate
Catch rate of the critter if using an item (e.g. fish net, honey).
13.1332%
Cannot be caught at this time.
Event only.
sell
How many Bells the critter sells for.
reward-bells
How many Bells are received when the critter is gifted; use N/A if the critter cannot be gifted.
reward-exp
How many Friendship Points are received when the critter is gifted; do not use if the critter cannot be gifted.
reward-misc
Any additional rewards received when the critter is gifted; do not use if the critter cannot be gifted.