Difference between revisions of "Template:PCVillagerInfo"
From Nookipedia, the Animal Crossing wiki
AlexBot2004 (talk | contribs) m |
PanchamBro (talk | contribs) m (removing default.) |
||
(21 intermediate revisions by 5 users not shown) | |||
Line 4: | Line 4: | ||
|name_sort = String | |name_sort = String | ||
|image = String | |image = String | ||
+ | |image_url = String | ||
+ | |photo = String | ||
+ | |photo_url = String | ||
+ | |icon = String | ||
+ | |icon_url = String | ||
+ | |birthday = String | ||
+ | |birthday_sort = Integer | ||
+ | |sign = String | ||
+ | |catchphrase = String | ||
+ | |catchphrase_note = String | ||
+ | |catchphrase2 = String | ||
+ | |catchphrase2_note = String | ||
+ | |quote = String | ||
+ | |clothing = String | ||
|theme = String | |theme = String | ||
|material = String | |material = String | ||
Line 19: | Line 33: | ||
|friendRewardLvl2 = Integer | |friendRewardLvl2 = Integer | ||
|friendRewardLvl3 = Integer | |friendRewardLvl3 = Integer | ||
+ | |version_added = String | ||
+ | |date_unlocked = Date | ||
}}</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|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}} PC.png}}} |
+ | |image_url = {{filepath:{{{image|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}} PC.png}}}}} | ||
+ | |photo = {{{photo|{{{name|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}}}}'s Pic PC Texture.png}}} | ||
+ | |photo_url = {{filepath:{{{photo|Pic of {{{name|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}}}} PC Texture.png}}}}} | ||
+ | |icon = {{{icon|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}} PC Villager Icon.png}}} | ||
+ | |icon_url = {{filepath:{{{icon|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}} PC Villager Icon.png}}}}} | ||
+ | |quote = {{{quote|{{#cargo_query:table=villager|fields=quote|where=_pageTitle="{{PAGENAME}}"|no html}}}}} | ||
+ | |birthday = {{{birthday-month|{{#cargo_query:table=villager|fields=birthday|where=_pageTitle="{{PAGENAME}}"|no html}}}}} {{{birthday|}}} | ||
+ | |birthday_sort = {{#cargo_query:table=villager|fields=birthday_sort|where=_pageTitle="{{PAGENAME}}"|no html}} | ||
+ | |sign = {{{sign|{{#cargo_query:table=villager|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}} | ||
+ | |catchphrase = {{{catchphrase|{{#cargo_query:table=villager|fields=phrase|where=_pageTitle="{{PAGENAME}}"|no html}}}}} | ||
+ | |catchphrase_note = {{{catchphrase-note|}}} | ||
+ | |catchphrase2 = {{{catchphrase2|}}} | ||
+ | |catchphrase2_note = {{{catchphrase2-note|}}} | ||
+ | |clothing = {{{clothing|{{{friendReward1|}}}}}} | ||
|theme = {{{theme|}}} | |theme = {{{theme|}}} | ||
|material = {{{material|}}} | |material = {{{material|}}} | ||
Line 39: | Line 69: | ||
|friendRewardLvl2 = {{{friendRewardLvl2|9}}} | |friendRewardLvl2 = {{{friendRewardLvl2|9}}} | ||
|friendRewardLvl3 = {{{friendRewardLvl3|15}}} | |friendRewardLvl3 = {{{friendRewardLvl3|15}}} | ||
+ | |version_added= {{{version-added|}}} | ||
+ | |date_unlocked = {{{date-unlocked|}}} | ||
}}}}</includeonly> | }}}}</includeonly> | ||
− | {| | + | {{Villager Info Box |
− | + | |image = {{{photo|{{{name|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}}}}'s Pic PC Texture.png}}} | |
− | |- | + | |image2 = {{{icon|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}} PC Villager Icon.png}}} |
− | | | + | |imagesize1 = 100px |
− | | | + | |crisp = yes |
− | | | + | |caption = ''{{{quote|{{#cargo_query:table=villager|fields=quote|where=_pageTitle="{{PAGENAME}}"|no html}}}}}'' |
− | | | + | |label = Birthday |
− | + | |data = {{{birthday-month|{{#cargo_query:table=villager|fields=birthday|where=_pageTitle="{{PAGENAME}}"|no html}}}}} {{{birthday|}}} [[File:Starsign {{{sign|{{#cargo_query:table=villager|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}} NH Icon.png|32px|{{{sign|{{#cargo_query:table=villager|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}}|link=Star sign]] | |
− | | | + | |label2 = Personality |
− | | | + | |data2 = [[{{{personality|{{#cargo_query:table=villager|fields=personality|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]] |
− | {{#if: {{{friendshipLevel|}}}|'''Required Friendship Level:''' {{{friendshipLevel|}}}<br>|}} | + | |label3 = Catchphrase |
+ | |data3 = {{{catchphrase|{{#cargo_query:table=villager|fields=phrase|where=_pageTitle="{{PAGENAME}}"|no html}}}}} {{#if:{{{catchphrase-note|}}}|{{Note|{{{catchphrase-note|}}}}}}}{{#if:{{{catchphrase2|}}}|<br>{{{catchphrase2|}}} {{#if:{{{catchphrase2-note|}}}|{{Note|{{{catchphrase2-note|}}}}}}}}} | ||
+ | |label6 = Default clothing | ||
+ | |data6 = <!-- [[[File:{{{clothing-image|{{{clothing|{{{friendReward1|}}}}}} PC Icon.png}}}|32px|link=]] {{I|{{{clothing|{{{friendReward1|}}}}}}|Pocket Camp}} --> {{#ifexist:File:{{{clothing-image|{{{friendReward1|}}} PC Icon.png}}}|[[File:{{{clothing-image|{{{clothing|{{{friendReward1|}}}}}} PC Icon.png}}}|32px|link=]]|}} {{{clothing|{{{friendReward1|N/A}}}}}} | ||
+ | |labelbetween6-7 = Biography | ||
+ | |label7 = Description | ||
+ | |data7 = ''{{{description|Please enter character's description.}}}'' | ||
+ | |label8 = Preferred theme | ||
+ | |data8 = {{#ifexist:File:PC Banner - {{{theme|}}}.png|[[File:PC Banner - {{{theme|}}}.png|150px|link=]]|N/A}} | ||
+ | |label9 = Primary reward | ||
+ | |data9 = {{#ifexist:File:{{{material|}}} PC Icon.png|[[File:{{{material|}}} PC Icon.png|32px|link=]]|}} {{{material|N/A}}} | ||
+ | |{{#if:{{{version-added|}}}||NULL}}label10 = Version added | ||
+ | |data10 = {{{version-added|}}} | ||
+ | |{{#if:{{{date-unlocked|}}}||NULL}}label11 = Date unlocked | ||
+ | |data11 = {{#dateformat:{{{date-unlocked|}}}|mdy}} | ||
+ | |label12 = How to invite | ||
+ | |data12 = {{#if: {{{friendshipLevel|}}}|'''Required Friendship Level:''' {{{friendshipLevel|}}}<br>|}} | ||
{{#switch: {{{unlockmode|}}} | {{#switch: {{{unlockmode|}}} | ||
− | | Gulliver= | + | | Gulliver=[[File:Gulliver PC icon.png|32px|link=]] [[Gulliver]] |
− | | Blathers= | + | | Blathers=[[File:Blathers PC icon.png|32px|link=]] [[Blathers's Treasure Trek]] |
− | | {{ACPC Info Furniture | + | | {{ACPC Info Furniture Requirement |
|friendshipLevel={{{friendshipLevel|}}} | |friendshipLevel={{{friendshipLevel|}}} | ||
|furniture1={{{furniture1|}}} | |furniture1={{{furniture1|}}} | ||
Line 63: | Line 111: | ||
}} | }} | ||
}} | }} | ||
+ | |labelbetween12-13 = Friendship rewards | ||
+ | |label13 = Level {{{friendRewardLvl1|7}}} | ||
+ | |data13 = {{#ifexist:File:{{{friendReward1|}}}_PC_Icon.png|[[File:{{{friendReward1|}}}_PC_Icon.png|32px|link=]]|[[File:Nia.png|32px|link=File:{{{friendReward1|}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly>}} {{{friendReward1|}}}<br>[[File:Sparkle Stones PC Icon.png|32px|link=]] Sparkle Stone | ||
+ | |label14 = Level {{{friendRewardLvl2|9}}} | ||
+ | |data14 = [[File:Sparkle Stones PC Icon.png|32px|link=]] Sparkle Stone | ||
+ | |label15 = {{#if:{{{sanrio|}}}||Level {{{friendRewardLvl3|15}}}}} | ||
+ | |data15 = {{#if:{{{sanrio|}}}||Crafting request: {{#ifexist:File:{{{friendReward3|}}}_PC_Icon.png|[[File:{{{friendReward3|}}}_PC_Icon.png|32px|link=]]|[[File:Nia.png|32px|link=File:{{{friendReward3|}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly>}}{{{friendReward3|}}}}} | ||
+ | |label16 = Level {{{friendRewardLvl4|20}}} | ||
+ | |data16 = {{#ifexist:File:{{{name|{{PAGENAME}}}}}'s Pic PC Icon.png|[[File:{{{name|{{PAGENAME}}}}}'s Pic PC Icon.png|32px|link=]]|<includeonly>[[Category:ACPC Info missing image]]</includeonly>}} {{{name|{{PAGENAME}}}}}'s {{#if:{{{nh|}}}|Photo|Pic}}<br>[[File:Sparkle Stones PC Icon.png|32px|link=]] Sparkle Stone | ||
+ | |labelend = Level {{{friendRewardLvl5|25}}} - {{{friendRewardLv20|50}}} | ||
+ | |dataend = [[File:Sparkle Stones PC Icon.png|32px|link=]] Sparkle Stone | ||
+ | }} | ||
+ | <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" | Related items for {{{name|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}}}} | ||
|- | |- | ||
− | + | | <small>[[Scrapbook Memories]] 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}}" | Name | |
− | + | ! style="background-color:#FFFFCC; color:#444444; width:150px" {{!}} Image | |
− | + | ! style="background-color:#FFFFCC; color:#444444; {{roundyright}}" {{!}} Required? | |
− | + | <noinclude>|- | |
− | + | |</noinclude>{{#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 LIKE "%{{{name|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}}}}%" | |
− | + | |order by=en_name | |
− | + | |format=template | |
− | + | |template=PC Villager Memory Navigate | |
− | + | |named args=yes | |
− | {| | + | |limit=100 |
− | + | }} | |
− | |||
− | |||
− | |- | ||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | + | </div> | |
+ | <includeonly>{{#ifeq: {{NAMESPACE}} | | [[Category:Pocket Camp characters]] [[Category:{{{theme|}}} villagers]]}}</includeonly><noinclude><br>{{Documentation}}[[Category:Cargo templates]]</noinclude> |
Revision as of 09:00, September 5, 2021
This template defines the table "pc_villager". View table.
[[File:No results's Pic PC Texture.png|128x128px|PCVillagerInfo|class=sprite]]
No results
[[File:No results PC Villager Icon.png|128px|PCVillagerInfo]]
Birthday | Personality | Catchphrase |
---|---|---|
No results [[File:Starsign No results NH Icon.png|32px|No results|link=Star sign]] | [[No results]] | No results |
Default clothing | N/A | |
Biography | ||
Description | Please enter character's description. | |
Preferred theme | N/A | |
Primary reward | N/A | |
How to invite | Template:ACPC Info Furniture Requirement | |
Friendship rewards | ||
Level 7 | Sparkle Stone | |
Level 9 | Sparkle Stone | |
Level 15 | Crafting request: | |
Level 20 | PCVillagerInfo's Pic Sparkle Stone | |
Level 25 - 50 | Sparkle Stone |
Related items for No results | |||||
---|---|---|---|---|---|
Scrapbook Memories appearances | |||||
|
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 | Template:ACPC Info Furniture Requirement | |
Friendship rewards | ||
Level 7 | after-school jacket Sparkle Stone | |
Level 9 | Sparkle Stone | |
Level 15 | Crafting request: mahjong table | |
Level 20 | Bruce's Pic Sparkle Stone | |
Level 25 - 50 | Sparkle Stone |
Related items for Bruce | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Scrapbook Memories appearances | ||||||||||
|
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