Difference between revisions of "Template:PCVillagerInfo"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) m (fixing error) |
m (max level was increased today to 75 in v5.5.0, also grants 1 sparkle stones. Changed a few instances of 'Lv' to 'Lvl' for consistency with the rest of the template) |
||
(40 intermediate revisions by 6 users not shown) | |||
Line 12: | Line 12: | ||
|birthday_sort = Integer | |birthday_sort = Integer | ||
|sign = String | |sign = String | ||
+ | |gender = String | ||
+ | |personality = String | ||
|catchphrase = String | |catchphrase = String | ||
|catchphrase_note = String | |catchphrase_note = String | ||
Line 17: | Line 19: | ||
|catchphrase2_note = String | |catchphrase2_note = String | ||
|quote = String | |quote = String | ||
+ | |species = String | ||
|clothing = String | |clothing = String | ||
|theme = String | |theme = String | ||
Line 22: | Line 25: | ||
|description = Text | |description = Text | ||
|friendshipLevel = Integer | |friendshipLevel = Integer | ||
− | | | + | |blathers = Boolean |
+ | |island = String | ||
|furniture1 = String | |furniture1 = String | ||
|furniture2 = String | |furniture2 = String | ||
Line 37: | Line 41: | ||
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store: | }}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store: | ||
_table=pc_villager | _table=pc_villager | ||
− | |name = {{{name|{{PAGENAME}}}}} | + | |name = {{{name|{{PAGENAME}}}}} |
− | |name_sort = {{{name-sort|{{{name|{{PAGENAME}}}}} | + | |name_sort = {{{name-sort|{{{name|{{PAGENAME}}}}}}}} |
− | |image = {{{image|{{ | + | |image = {{{image|{{{name|{{PAGENAME}}}}} PC.png}}} |
− | |image_url = {{filepath:{{{image|{{ | + | |image_url = {{filepath:{{{image|{{{name|{{PAGENAME}}}}} PC.png}}}}} |
− | |photo = {{{photo|{{{name|{{ | + | |photo = {{{photo|{{{name|{{{name|{{PAGENAME}}}}}}}}'s Pic PC Texture.png}}} |
− | |photo_url = {{filepath:{{{photo|Pic of {{{name|{{ | + | |photo_url = {{filepath:{{{photo|Pic of {{{name|{{{name|{{PAGENAME}}}}}}}} PC Texture.png}}}}} |
− | |icon = {{{icon|{{ | + | |icon = {{{icon|{{{name|{{PAGENAME}}}}} PC Villager Icon.png}}} |
− | |icon_url = {{filepath:{{{icon|{{ | + | |icon_url = {{filepath:{{{icon|{{{name|{{PAGENAME}}}}} PC Villager Icon.png}}}}} |
− | | | + | |birthday = {{{birthday-month|}}} {{{birthday|}}} |
− | | | + | |birthday_sort = {{#switch:{{{birthday-month|}}}|January=1|February=2|March=3|April=4|May=5|June=6|July=7|August=8|September=9|October=10|November=11|December=12}}{{#switch:{{{birthday|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|10=10|{{{birthday|}}}}} |
− | | | + | |sign = {{{sign|}}} |
− | |sign = {{{sign|{{ | + | |gender = {{{gender|}}} |
− | |catchphrase = {{{catchphrase| | + | |personality = {{{personality|}}} |
+ | |catchphrase = {{{catchphrase|}}} | ||
|catchphrase_note = {{{catchphrase-note|}}} | |catchphrase_note = {{{catchphrase-note|}}} | ||
|catchphrase2 = {{{catchphrase2|}}} | |catchphrase2 = {{{catchphrase2|}}} | ||
|catchphrase2_note = {{{catchphrase2-note|}}} | |catchphrase2_note = {{{catchphrase2-note|}}} | ||
+ | |quote = {{{quote|}}} | ||
+ | |species = {{{species|}}} | ||
|clothing = {{{clothing|{{{friendReward1|}}}}}} | |clothing = {{{clothing|{{{friendReward1|}}}}}} | ||
|theme = {{{theme|}}} | |theme = {{{theme|}}} | ||
Line 58: | Line 65: | ||
|description = {{{description|}}} | |description = {{{description|}}} | ||
|friendshipLevel = {{{friendshipLevel|}}} | |friendshipLevel = {{{friendshipLevel|}}} | ||
− | | | + | |blathers = {{#if: {{{blathers|}}} | Yes | No }} |
+ | |island = {{{island|}}} | ||
|furniture1 = {{{furniture1|}}} | |furniture1 = {{{furniture1|}}} | ||
|furniture2 = {{{furniture2|}}} | |furniture2 = {{{furniture2|}}} | ||
Line 71: | Line 79: | ||
|version_added= {{{version-added|}}} | |version_added= {{{version-added|}}} | ||
|date_unlocked = {{{date-unlocked|}}} | |date_unlocked = {{{date-unlocked|}}} | ||
+ | }}}}{{#vardefine:memory|{{#cargo_query: | ||
+ | table=pc_scrapbook_memory | ||
+ | |group by=en_name | ||
+ | |fields=_pageName=pagename,en_name=name,image,image_url=image-url,description,item,villagers,level | ||
+ | |where=villagers HOLDS "{{{name|{{PAGENAME}}}}}" | ||
+ | |order by=en_name | ||
+ | |format=template | ||
+ | |template=PC Villager Memory Navigate | ||
+ | |named args=yes | ||
+ | |limit=100 | ||
+ | |default= | ||
}}}}</includeonly> | }}}}</includeonly> | ||
{{Villager Info Box | {{Villager Info Box | ||
− | |image = {{{photo|{{{name|{{ | + | |image = {{{photo|{{{name|{{{name|{{PAGENAME}}}}}}}}'s Pic PC Texture.png}}} |
− | |image2 = {{{icon|{{ | + | |image2 = {{{icon|{{{name|{{PAGENAME}}}}} PC Villager Icon.png}}} |
|imagesize1 = 100px | |imagesize1 = 100px | ||
|crisp = yes | |crisp = yes | ||
− | |caption = ''{{{quote| | + | |caption = ''{{{quote|}}}'' |
|label = Birthday | |label = Birthday | ||
− | |data = {{{birthday-month| | + | |data = {{{birthday-month|}}} {{{birthday|}}} [[File:Starsign {{{sign|}}} NH Icon.png|32px|{{{sign|}}}|link={{{sign|}}}]] |
|label2 = Personality | |label2 = Personality | ||
− | |data2 = [[{{{personality| | + | |data2 = [[{{{personality|}}}]] |
|label3 = Catchphrase | |label3 = Catchphrase | ||
− | |data3 = {{{catchphrase| | + | |data3 = {{{catchphrase|}}} {{#if:{{{catchphrase-note|}}}|{{Note|{{{catchphrase-note|}}}}}}}{{#if:{{{catchphrase2|}}}|<br>{{{catchphrase2|}}} {{#if:{{{catchphrase2-note|}}}|{{Note|{{{catchphrase2-note|}}}}}}}}} |
− | | | + | |label4 = Default clothing |
− | | | + | |data4 = <!-- [[[File:{{{clothing-image|{{#invoke:TitleCase|main|{{{clothing|{{{friendReward1|}}}}}}}} PC Icon.png}}}|32px|link=|alt=]] {{I|{{{clothing|{{{friendReward1|}}}}}}|Pocket Camp}} --> {{#ifexist:File:{{{clothing-image|{{#invoke:TitleCase|main|{{{friendReward1|}}}}} PC Icon.png}}}|[[File:{{{clothing-image|{{#invoke:TitleCase|main|{{{clothing|{{{friendReward1|}}}}}}}} PC Icon.png}}}|32px|link=|alt=]]|}} {{#invoke:SentenceCase|main|{{{clothing|{{{friendReward1|N/A}}}}}}}} |
− | | | + | |labelbetween4-5 = Biography |
− | | | + | |label5 = Description |
− | | | + | |data5 = ''{{{description|Please enter character's description.}}}'' |
− | | | + | |label6 = {{#if:{{{loadingDescription|}}}|Loading screen description|}} |
− | + | |data6 = ''{{{loadingDescription|}}}'' | |
− | + | |label7 = Preferred theme | |
− | + | |data7 = {{#ifexist:File:PC Banner - {{{theme|}}}.png|[[File:PC Banner - {{{theme|}}}.png|150px|link=|{{{theme|}}}|alt={{{theme|}}}]]|N/A}} | |
− | | | + | |label8 = Primary reward |
− | | | + | |data8 = {{#ifexist:File:{{#invoke:TitleCase|main|{{{material|}}}}} PC Icon.png|[[File:{{#invoke:TitleCase|main|{{{material|}}}}} PC Icon.png|32px|link=|alt=]]|}} {{#invoke:SentenceCase|main|{{{material|N/A}}}}} |
− | |{{# | + | |{{#if:{{{version-added|}}}||NULL}}label9 = Version added |
− | | | + | |data9 = {{{version-added|}}} |
− | | | + | |{{#if:{{{date-unlocked|}}}||NULL}}label10 = Date unlocked |
− | + | |data10 = {{#dateformat:{{{date-unlocked|}}}|mdy}} | |
− | + | |label11 = How to invite | |
− | + | |data11 = {{#if: {{{friendshipLevel|}}}|'''Required friendship level:''' {{{friendshipLevel|}}}<br>|}} | |
− | + | {{#if: {{{blathers|}}} | [[File:Blathers PC Character Icon.png|32px|link=|alt=]] [[Blathers's Treasure Trek]]{{#if:{{{island|}}}| (map obtained on {{{island|}}})|<includeonly>[[Category:Villagers missing Pocket Camp info]]</includeonly>}} | {{#ifexist:File:{{#invoke:TitleCase|main|{{{furniture1|}}}}}_PC_Icon.png|[[File:{{#invoke:TitleCase|main|{{{furniture1|}}}}}_PC_Icon.png|32px|link=|alt=]]|[[File:Nia.png|32px|link=File:{{#invoke:TitleCase|main|{{{furniture1|}}}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly> }} {{#invoke:SentenceCase|main|{{{furniture1|}}}}}<br>{{#ifexist:File:{{#invoke:TitleCase|main|{{{furniture2|}}}}}_PC_Icon.png|[[File:{{#invoke:TitleCase|main|{{{furniture2|}}}}}_PC_Icon.png|32px|link=|alt=]]|[[File:Nia.png|32px|link=File:{{#invoke:TitleCase|main|{{{furniture2|}}}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly> }} {{#invoke:SentenceCase|main|{{{furniture2|}}}}}<br>{{#ifexist:File:{{#invoke:TitleCase|main|{{{furniture3|}}}}}_PC_Icon.png|[[File:{{#invoke:TitleCase|main|{{{furniture3|}}}}}_PC_Icon.png|32px|link=|alt=]]|[[File:Nia.png|32px|link=File:{{#invoke:TitleCase|main|{{{furniture3|}}}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly> }} {{#invoke:SentenceCase|main|{{{furniture3|}}}}}<br>{{#ifexist:File:{{#invoke:TitleCase|main|{{{furniture4|}}}}}_PC_Icon.png|[[File:{{#invoke:TitleCase|main|{{{furniture4|}}}}}_PC_Icon.png|32px|link=|alt=]]|[[File:Nia.png|32px|link=File:{{#invoke:TitleCase|main|{{{furniture4|}}}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly> }} {{#invoke:SentenceCase|main|{{{furniture4|}}}}}{{#if: {{{furniture5|}}} |<br>{{#ifexist:File:{{#invoke:TitleCase|main|{{{furniture5|}}}}}_PC_Icon.png|[[File:{{#invoke:TitleCase|main|{{{furniture5|}}}}}_PC_Icon.png|32px|link=|alt=]]|[[File:Nia.png|32px|link=File:{{#invoke:TitleCase|main|{{{furniture5|}}}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly> }} {{#invoke:SentenceCase|main|{{{furniture5|}}}}}}}}} | |
− | + | |labelbetween11-12 = Friendship rewards | |
− | + | |label12 = Level {{{friendRewardLvl1|7}}} | |
− | + | |data12 = {{#ifexist:File:{{{friendReward1-image|{{#invoke:TitleCase|main|{{{friendReward1|}}}}}_PC_Icon.png}}}|[[File:{{{friendReward1-image|{{#invoke:TitleCase|main|{{{friendReward1|}}}}}_PC_Icon.png}}}|32px|link=|alt=]]|[[File:Nia.png|32px|link=File:{{#invoke:TitleCase|main|{{{friendReward1|}}}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly>}} {{#invoke:SentenceCase|main|{{{friendReward1|}}}}}<br>[[File:Sparkle Stones PC Icon.png|32px|link=|alt=]] Sparkle stones | |
− | + | |label13 = Level {{{friendRewardLvl2|9}}} | |
− | | | + | |data13 = [[File:Sparkle Stones PC Icon.png|32px|link=|alt=]] Sparkle stones |
− | | | + | |label14 = {{#if:{{{sanrio|}}}||Level {{{friendRewardLvl3|15}}}}} |
− | + | |data14 = {{#if:{{{sanrio|}}}||Crafting request:<br>{{#ifexist:File:{{{friendReward3-image|{{#invoke:TitleCase|main|{{{friendReward3|}}}}}_PC_Icon.png}}}|[[File:{{{friendReward3-image|{{#invoke:TitleCase|main|{{{friendReward3|}}}}}_PC_Icon.png}}}|32px|link=|alt=]]|[[File:Nia.png|32px|link=File:{{#invoke:TitleCase|main|{{{friendReward3|}}}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly>}} {{#invoke:SentenceCase|main|{{{friendReward3|}}}}}}} | |
− | + | |label15 = Level {{{friendRewardLvl4|20}}} | |
− | + | |data15 = {{#ifexist:File:{{{name|{{PAGENAME}}}}}'s Pic PC Icon.png|[[File:{{{name|{{PAGENAME}}}}}'s Pic PC Icon.png|32px|link=|alt=]]|<includeonly>[[Category:ACPC Info missing image]]</includeonly>}} {{{name|{{PAGENAME}}}}}'s {{#if:{{{nh|}}}|photo|pic}}<br>[[File:Sparkle Stones PC Icon.png|32px|link=|alt=]] Sparkle stones | |
− | + | |labelend = Level {{{friendRewardLvl5|25}}}{{Note|Repeats for levels {{{friendRewardLvl6|30}}}, {{{friendRewardLvl7|35}}}, {{{friendRewardLvl8|40}}}, {{{friendRewardLvl9|45}}}, {{{friendRewardLvl10|50}}}, {{{friendRewardLvl11|55}}}, {{{friendRewardLvl12|60}}}, {{{friendRewardLvl13|65}}}, {{{friendRewardLvl14|70}}}, and {{{friendRewardLvl15|75}}}}} | |
− | + | |dataend = [[File:Sparkle Stones PC Icon.png|32px|link=|alt=]] Sparkle stones | |
− | | | ||
− | |||
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | | | ||
}} | }} | ||
+ | {{#if:{{#var:memory}}| | ||
<div style="vertical-align: top; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}}; max-width: 700px; padding: 2px;"> | <div style="vertical-align: top; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}}; max-width: 700px; padding: 2px;"> | ||
− | { | + | {{(!}} class="mw-collapsible mw-collapsed" align="center" cellpadding="0px" style="width: 100%; text-align:center; background-color:#FFDD66; border-top: 3px solid #FFDD66; border-right: 3px solid #FFDD66; border-left: 3px solid #FFDD66; {{roundy|10px}}" |
− | ! colspan="2" | + | ! colspan="2" {{!}} Related items for {{{name|{{{name|{{PAGENAME}}}}}}}} |
− | + | {{!-}} | |
− | + | {{!}} <small>[[Scrapbook Memory]] appearances</small> | |
− | + | {{!-}} | |
− | + | {{!}} colspan="2" cellpadding="0px" style="padding:0px" {{!}} | |
− | { | + | {{(!}} class="sortable roundCorners" style="width: 100%; background-color: transparent" |
− | ! height=10 style="background-color:#FFFFCC; color:#444444; {{roundyleft}}" | + | ! height=10 style="background-color:#FFFFCC; color:#444444; {{roundyleft}}" {{!}} Name |
! style="background-color:#FFFFCC; color:#444444; width:150px" {{!}} Image | ! style="background-color:#FFFFCC; color:#444444; width:150px" {{!}} Image | ||
! style="background-color:#FFFFCC; color:#444444; {{roundyright}}" {{!}} Required? | ! style="background-color:#FFFFCC; color:#444444; {{roundyright}}" {{!}} Required? | ||
<noinclude>|- | <noinclude>|- | ||
− | + | {{!}}</noinclude>{{#var:memory}} | |
− | + | {{!)}} | |
− | + | {{!)}} | |
− | + | </div>|}}<includeonly>{{#ifeq: {{NAMESPACE}} | | [[Category:Pocket Camp characters]] [[Category:{{{theme|}}} villagers]] {{#if:{{{name|}}}||[[Category:Villagers missing Pocket Camp info]]}}}}</includeonly><noinclude>{{Note list}}<br>{{Documentation}}[[Category:Cargo templates]][[Category:Villager info templates]][[Category:Pages using the Variables extension]]</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </div> | ||
− | <includeonly>{{#ifeq: {{NAMESPACE}} | | [[Category:Pocket Camp characters]] [[Category:{{{theme|}}} villagers]]}}</includeonly><noinclude><br>{{Documentation}}[[Category:Cargo templates]]</noinclude> |
Latest revision as of 13:50, October 26, 2023
This template defines the table "pc_villager". View table.
Birthday | Personality | Catchphrase |
---|---|---|
32px link= | [[]] | |
Default clothing | N/A | |
Biography | ||
Description | Please enter character's description. | |
Preferred theme | N/A | |
Primary reward | N/A | |
How to invite | | |
Friendship rewards | ||
Level 7 | Sparkle stones | |
Level 9 | Sparkle stones | |
Level 15 | Crafting request: | |
Level 20 | PCVillagerInfo's pic Sparkle stones | |
Level 25[nb 1] | Sparkle stones |
- | |} |}
- ↑ Repeats for levels 30, 35, 40, 45, 50, 55, 60, 65, 70, and 75
Template documentation (view)
More Cargo templates |
---|
- For query instructions see our Cargo documentation.
Description
Information box template to be used for Pocket Camp villagers.
Usage
General Example
{{PCVillagerInfo |name = |birthday-month = |birthday = |sign = |quote = |catchphrase = |personality = |species = |gender = |theme = |material = |description = |loadingDescription = |friendshipLevel = |furniture1 = |furniture2 = |furniture3 = |furniture4 = |furniture5 = |friendRewardLvl1 = |friendRewardLvl2 = |friendRewardLvl3 = |friendRewardLvl4 = |blathers = |island = |friendReward1 = |friendReward3 = |version-added = |date-unlocked = }}
Bruce Example
Bruce was added to Animal Crossing: Pocket Camp on May 17, 2019.
Birthday | Personality | Catchphrase |
---|---|---|
May 26 | Cranky | gruff |
Default clothing | After-school jacket | |
Biography | ||
Description | Bruce doesn't like to beat around the bush. In fact, he's not too fond of shrubbery in general. | |
Preferred theme | ||
Primary reward | Steel | |
Version added | 2.3.1b | |
Date unlocked | May 17, 2019 | |
How to invite | Blathers's Treasure Trek (map obtained on Bea and Pals' Island) | |
Friendship rewards | ||
Level 7 | After-school jacket Sparkle stones | |
Level 9 | Sparkle stones | |
Level 15 | Crafting request: Mahjong table | |
Level 20 | Bruce's pic Sparkle stones | |
Level 25[nb 1] | Sparkle stones |
Related items for Bruce | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Scrapbook Memory appearances | ||||||||||
|
- ↑ Repeats for levels 30, 35, 40, 45, 50, 55, 60, 65, 70, and 75
Bruce was added to {{PC}} on May 17, 2019. {{PCVillagerInfo |name = Bruce |birthday-month = May |birthday = 26 |sign = Gemini |quote = Nobody's perfect. |catchphrase = gruff |personality = Cranky |species = Deer |gender = Male |theme = Cool |material = Steel |description = Bruce doesn't like to beat around the bush. In fact, he's not too fond of shrubbery in general. |blathers = Yes |island = Bea and Pals' Island |friendReward1 = after-school jacket |friendReward3 = mahjong table |version-added = 2.3.1b |date-unlocked = 2019-05-17 }}
Parameters
- name - Optional, defaults to PAGENAME
- name-sort - Optional and used in sorting character's name, default to name
- birthday-month and birthday - The character's birthday
- birthday-sort - Used in sorting characters' birthdays
- sign - The character's zodiac sign
- quote - The character's quote, from their picture
- catchphrase - The character's common catchphrase
- personality - The character's personality trait
- species - The character's species
- gender - The character's gender, either Male or Female
- theme - The character's preferred theme
- material - The main material rewarded for doing requests
- description - In-game character description
- loadingDescription - In-game character description during loading screens
- friendshipLevel - Friendship Level Required for villager invite (3, 5 or 7) (if not Gulliver traveler or Treasure Trek)
- furniture1 / 2 / 3 / 4 / 5 - The furniture requirements needed to invite character to campsite (not available for Treasure Trek villagers)
- friendRewardLvl - Level that the friend gives reward
- 1 - Optional, defaults to Level 7
- 2 - Optional, defaults to Level 9
- 3 - Defaults to Level 15, some characters are level 10
- 4 - Optional, defaults to Level 20
- blathers - Optional, only use if obtained from Blathers's Treasure Trek. If set to any value, a list of furniture requirements will not appear.
- island - Optional, only use if obtained from Blathers's Treasure Trek
- friendReward1 - The first reward given by character (do not include sparkle stones)
- friendReward3 - The third reward unlocked by character (special reward quest unlock)
- version-added - The game version when the character was added to the game
- date-unlocked - The date when the character was added to the game
- image - Picture used on the left
- ___Image (eg. furniture1Image) - Image used to the specified item
- sanrio - Optional. If set to any value, friendReward3 will not appear
- nh - Optional. If set to any value, picture image and friendship reward name will be fixed