Difference between revisions of "Template:PCVillagerInfo"

From Nookipedia, the Animal Crossing wiki
m
(implementation of new template; will check for any missing pics along the way.)
Line 44: Line 44:
 
|date_unlocked = {{{date-unlocked|}}}
 
|date_unlocked = {{{date-unlocked|}}}
 
}}}}</includeonly>
 
}}}}</includeonly>
<div style="background: #ffc644; border:2px solid #ffc644; text-align:center; {{roundy|28px}}; max-width: 725px; padding: 2px;">
+
{{Villager Info Box
'''''Animal Crossing: Pocket Camp'' villager information'''
+
|image          = {{#ifexist:File:{{{photo|Pic of {{{name|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}}}} PC Texture.png}}}|{{{photo|Pic of {{{name|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}}}} PC Texture.png}}}|<includeonly>[[Category:ACPC Info missing image]]</includeonly>}}
 
+
|image2        = {{{image|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}} PC Villager Icon.png}}}
<div class="pc-villager-flex-container">
+
|imagesize1    = 100px
<div class="pc-villager-flex-item pc-villager-left" style="padding: 0px 10px;">
+
|crisp          = yes
[[File:{{{image|nia orange.png}}}|128px|{{{name|{{PAGENAME}}}}}'s Pocket Camp icon]] {{#if: {{{image|}}} || <br />[[Special:Upload|{{Colorshow|d79a08|<small>Have one to add?</small>}}]]}}
+
|caption        = ''{{{quote|{{#cargo_query:table=villager|fields=quote|where=_pageTitle="{{PAGENAME}}"|no html}}}}}''
 
+
|label          = Birthday
<div class="pc-villager-data">
+
|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]]
<span style="font-size:.85em; line-height:1.25em; padding:0 0 0 4px; display:inline-block;">
+
|label2        = Personality
{{{description|Please enter character's description.}}}
+
|data2          = [[{{{personality|{{#cargo_query:table=villager|fields=personality|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]]
</span>
+
|label3        = Catchphrase
<br />
+
|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|}}}}}}}}}
'''<small>&nbsp;Preferred theme:</small>'''<br />
+
|label6        = Default clothing
{{#if: {{{theme|}}} | [[File:PC Banner - {{{theme|}}}.png|140px|link=]] | }}
+
|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}}}}}}
<br />
+
|labelbetween6-7 = Biography
'''<small>&nbsp;Primary reward:</small>'''<br />
+
|label7          = Description
{{#if: {{{material|}}} | [[File:{{{material|}}} PC Icon.png|34px|link=]]&nbsp;{{{material|}}} | Unknown }}
+
|data7          = ''{{{description|Please enter character's description.}}}''
<br />
+
|label8          = Preferred theme
'''<small>&nbsp;Version added:</small>'''<br />
+
|data8          = {{#ifexist:File:PC Banner - {{{theme|}}}.png|[[File:PC Banner - {{{theme|}}}.png|120px|link=]]|N/A}}
{{#if: {{{version-added|}}} | {{{version-added|}}} | Unknown }}
+
|label9          = Primary reward:
<br />
+
|data9          = {{#ifexist:File:{{{material|}}} PC Icon.png|[[File:{{{material|}}} PC Icon.png|28px|link=]]|}} {{{material|N/A}}}
'''<small>&nbsp;Date unlocked:</small>'''<br />
+
|{{#if:{{{version-added|}}}||NULL}}label10        = Version added
{{#if: {{{date-unlocked|}}} | {{{date-unlocked|}}} | Unknown }}
+
|data10          = {{{version-added|}}}
</div>
+
|{{#if:{{{date-unlocked|}}}||NULL}}label11        = Date unlocked
</div>
+
|data11          = {{{date-unlocked|}}}
 
+
|label12        = How to unlock
<div class="pc-villager-flex-item pc-villager-right">
+
|data12          = {{#if: {{{friendshipLevel|}}}|'''Required Friendship Level:''' {{{friendshipLevel|}}}<br>|}}
{| width=100% style="background: #ffe543; padding: 3px; {{roundy|25px}};"
 
| style="width:70px; padding: 3px; text-align:right;" | '''Needed to Invite:'''
 
| colspan=3 style="background: #ffffff; padding:.6em; 0 .7em 0; {{roundy}};" align="center" |
 
{{#if: {{{friendshipLevel|}}}|'''Required Friendship Level:''' {{{friendshipLevel|}}}<br>|}}
 
 
{{#switch: {{{unlockmode|}}}
 
{{#switch: {{{unlockmode|}}}
  | Gulliver={{ACPC Info Gulliver Requirement‎}}
+
  | Gulliver=[[File:Gulliver PC icon.png|28px|link=]]&nbsp;[[Gulliver]]
  | Blathers={{ACPC Info Blathers Requirement‎}}
+
  | Blathers=[[File:Blathers PC icon.png|28px|link=]]&nbsp;[[Blathers's Treasure Trek]]
  | {{ACPC Info Furniture Requirement‎
+
  | {{ACPC Info Furniture Requirement
 
|friendshipLevel={{{friendshipLevel|}}}
 
|friendshipLevel={{{friendshipLevel|}}}
 
|furniture1={{{furniture1|}}}
 
|furniture1={{{furniture1|}}}
Line 87: Line 83:
 
}}  
 
}}  
 
}}
 
}}
|-
+
|labelbetween12-13 = Friendship rewards
| style="padding: 3px; text-align:right;" | '''Friendship Rewards:'''
+
|label13        = Level {{{friendRewardLvl1|7}}}
| colspan=3 style="background: #ffffff; padding:.6em 0 .8em 0; {{roundy}};" align="center" |
+
|data13          = {{#ifexist:File:{{{friendReward1|}}}_PC_Icon.png|[[File:{{{friendReward1|}}}_PC_Icon.png|28px|link=]]|[[File:Nia.png|28px|link=File:{{{friendReward1|}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly>}} {{{friendReward1|}}}<br>[[File:Sparkle Stones PC Icon.png|28px|link=]] Sparkle Stone
{| width=100% style="background: transparent; text-align:center; line-height:1em;"
+
|label14        = Level {{{friendRewardLvl2|9}}}
| style="width:45%;"|<div style="height: 40px; width: 40px; margin: 1px 3px; overflow: hidden; border-radius: 100px; background-color: #fff0e3; box-shadow: 0 0 3px #808080; display:inline-block;">{{#ifexist:File:{{{friendReward1|}}}_PC_Icon.png|[[File:{{{friendReward1|}}}_PC_Icon.png|38px|link=]]|[[File:Nia.png|38px|link=File:{{{friendReward1|}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly> }}</div><div style="height: 40px; width: 40px; margin: 1px 3px; overflow: hidden; border-radius: 100px; background-color: #fff0e3; box-shadow: 0 0 3px #808080; display:inline-block;">[[File:Sparkle Stones PC Icon.png|36px|link=]]</div><br><small>{{{friendReward1|}}}<br>and Sparkle Stone</small>
+
|data14          = [[File:Sparkle Stones PC Icon.png|28px|link=]] Sparkle Stone
| style="width:15%;"|<div style="display:inline-block; width:48px; margin:6px;"><div style="height: 40px; width: 40px; margin: 1px 3px; overflow: hidden; border-radius: 100px; background-color: #fff0e3; box-shadow: 0 0 3px #808080; display:inline-block;">[[File:Sparkle Stones PC Icon.png|36px|link=]]</div><br><small>Sparkle Stone</small>
+
|label15        = {{#if:{{{sanrio|}}}||Level {{{friendRewardLvl3|15}}}}}
| style="width:40%;"|{{#if:{{{sanrio|}}}||<div style="height: 40px; width: 40px; margin: 1px 3px; overflow: hidden; border-radius: 100px; background-color: #fff0e3; box-shadow: 0 0 3px #808080; display:inline-block;">{{#ifexist:File:{{{friendReward3|}}}_PC_Icon.png|[[File:{{{friendReward3|}}}_PC_Icon.png|38px|link=]]|[[File:Nia.png|38px|link=File:{{{friendReward3|}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly> }}</div><br><small>{{{friendReward3|}}}<br>Craft Unlock</small>}}
+
|data15          = {{#if:{{{sanrio|}}}||{{#ifexist:File:{{{friendReward3|}}}_PC_Icon.png|[[File:{{{friendReward3|}}}_PC_Icon.png|28px|link=]]|[[File:Nia.png|28px|link=File:{{{friendReward3|}}}_PC_Icon.png]]<includeonly>[[Category:ACPC Info missing image]]</includeonly>}}{{{friendReward3|}}} Craft Unlock}}
|-
+
|label16        = Level {{{friendRewardLvl4|20}}}
| Level {{{friendRewardLvl1|7}}}
+
|data16          = {{#ifexist:File:{{{name|{{PAGENAME}}}}}'s Pic PC Icon.png|[[File:{{{name|{{PAGENAME}}}}}'s Pic PC Icon.png|28px|link=]]|<includeonly>[[Category:ACPC Info missing image]]</includeonly>}} {{{name|{{PAGENAME}}}}}‎‎'s Pic<br>[[File:Sparkle Stones PC Icon.png|28px|link=]] Sparkle Stone
| Level {{{friendRewardLvl2|9}}}
+
|labelend        = Level {{{friendRewardLvl5|25}}} - {{{friendRewardLv20|50}}}
| {{#if:{{{sanrio|}}}||Level {{{friendRewardLvl3|15}}}}}
+
|dataend        = [[File:Sparkle Stones PC Icon.png|28px|link=]] Sparkle Stone
|-
+
}}<includeonly>{{#ifeq: {{NAMESPACE}} |  | [[Category:Pocket Camp characters]] [[Category:{{{theme|}}} villagers]]}}</includeonly><noinclude><br>{{Documentation}}[[Category:Cargo templates]]</noinclude>
|
 
|-
 
|
 
|-
 
|
 
|-
 
|
 
|-
 
|
 
|-
 
|}
 
{| width=100% style="background: transparent; text-align:center; margin: auto; line-height:1em;"
 
| <div style="height: 40px; width: 40px; margin: 1px 3px; overflow: hidden; border-radius: 100px; background-color: #fff0e3; box-shadow: 0 0 3px #808080; display: inline-block">[[File:{{{name|{{PAGENAME}}}}}'s Pic PC Icon.png|38px|link=]]</div><div style="height: 40px; width: 40px; margin: 1px 3px; overflow: hidden; border-radius: 100px; background-color: #fff0e3; box-shadow: 0 0 3px #808080; display:inline-block;">[[File:Sparkle Stones PC Icon.png|36px|link=]]</div><br><small>{{{name|{{PAGENAME}}}}}‎‎'s Pic<br>and Sparkle Stone</small>
 
| <div style="display:inline-block; width:48px; margin:6px;"><div style="height: 40px; width: 40px; margin: 1px 3px; overflow: hidden; border-radius: 100px; background-color: #fff0e3; box-shadow: 0 0 3px #808080; display:inline-block;">[[File:Sparkle Stones PC Icon.png|36px|link=]]</div><br><small>Sparkle Stone</small>
 
| <div style="display:inline-block; width:48px; margin:6px;"><div style="height: 40px; width: 40px; margin: 1px 3px; overflow: hidden; border-radius: 100px; background-color: #fff0e3; box-shadow: 0 0 3px #808080; display:inline-block;">[[File:Sparkle Stones PC Icon.png|36px|link=]]</div><br><small>Sparkle Stone</small>
 
|-
 
| Level {{{friendRewardLvl4|20}}}
 
| Level {{{friendRewardLvl5|25}}}
 
| Level {{{friendRewardLvl6|30}}}
 
|}
 
{| width=100% style="background: transparent; text-align:center; margin: auto; line-height:1em;"
 
| <div style="display:inline-block; width:48px; margin:6px;"><div style="height: 40px; width: 40px; margin: 1px 3px; overflow: hidden; border-radius: 100px; background-color: #fff0e3; box-shadow: 0 0 3px #808080; display:inline-block;">[[File:Sparkle Stones PC Icon.png|36px|link=]]</div><br><small>Sparkle Stone</small>
 
| <div style="display:inline-block; width:48px; margin:6px;"><div style="height: 40px; width: 40px; margin: 1px 3px; overflow: hidden; border-radius: 100px; background-color: #fff0e3; box-shadow: 0 0 3px #808080; display:inline-block;">[[File:Sparkle Stones PC Icon.png|36px|link=]]</div><br><small>Sparkle Stone</small>
 
| <div style="display:inline-block; width:48px; margin:6px;"><div style="height: 40px; width: 40px; margin: 1px 3px; overflow: hidden; border-radius: 100px; background-color: #fff0e3; box-shadow: 0 0 3px #808080; display:inline-block;">[[File:Sparkle Stones PC Icon.png|36px|link=]]</div><br><small>Sparkle Stone</small>
 
|-
 
| Level {{{friendRewardLvl7|35}}}
 
| Level {{{friendRewardLvl8|40}}}
 
| Level {{{friendRewardLvl9|45}}}
 
|}
 
|}
 
</div>
 
</div>
 
 
 
</div>
 
 
 
<includeonly>{{#ifeq: {{NAMESPACE}} |  | [[Category:Pocket Camp characters]] [[Category:{{{theme|}}} villagers]]}}</includeonly><noinclude><br>{{Documentation}}[[Category:Cargo templates]]</noinclude>
 

Revision as of 19:27, May 8, 2021

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

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 unlock Template:ACPC Info Furniture Requirement
Friendship rewards
Level 7 Nia.png
Sparkle Stones PC Icon.png Sparkle Stone
Level 9 Sparkle Stones PC Icon.png Sparkle Stone
Level 15 Nia.png Craft Unlock
Level 20 PCVillagerInfo‎‎'s Pic
Sparkle Stones PC Icon.png Sparkle Stone
Level 25 - 50 Sparkle Stones PC Icon.png Sparkle Stone


Template documentation (view)


More Cargo templates

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.

PCVillagerInfo
Nobody's perfect.

[[File:No results PC Villager Icon.png|128px|PCVillagerInfo]]

Birthday Personality Catchphrase
May 26 Gemini 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 PC Banner - Cool.png
Primary reward: Steel PC Icon.png Steel
Version added 2.3.1b
Date unlocked 2019-05-17
How to unlock Template:ACPC Info Furniture Requirement
Friendship rewards
Level 7 Nia.png after-school jacket
Sparkle Stones PC Icon.png Sparkle Stone
Level 9 Sparkle Stones PC Icon.png Sparkle Stone
Level 15 Nia.pngmahjong table Craft Unlock
Level 20 Bruce's Pic PC Icon.png Bruce‎‎'s Pic
Sparkle Stones PC Icon.png Sparkle Stone
Level 25 - 50 Sparkle Stones PC Icon.png Sparkle Stone


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