Difference between revisions of "Template:Infobox Villager"

From Nookipedia, the Animal Crossing wiki
m (Switching to uncropped icons)
 
(196 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{| id="Infobox-villager" style="padding: 2px; background: #B3dae7; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}} border: 3px solid #61939b; width: 25%; float:right"
+
<noinclude>{{#cargo_declare:
|-
+
_table=villager
! colspan="2" align="center" | <big><big>{{{name|{{PAGENAME}}}}}</big></big>
+
|url = String
{{#if:{{{japanese|}}}|{{!}}-
+
|name = String
{{!}} style="background-color: #fff; text-align:center; {{roundy|5px}}; padding:5px 0 5px 0;" colspan="3" {{!}} '''{{{japanese|}}}'''|}}
+
|name_sort = String
|-
+
|no_localization = Boolean
| style="background-color: #fff; text-align:center; {{roundy|10px}}; padding:5px 0 5px 0;" colspan="3" {{!}} [[File:{{{image|Nia.png}}}|{{{imagesize|200px}}}]]<br>{{#if:{{{quote|}}}|<small>''"{{{quote|}}}"''</small>|}}
+
|alt_name = String
|-
+
|title_color = String
{{!-}}
+
|text_color = String
| colspan="3" style="padding:0px" |
+
|id = String
{| style="{{roundy}}; background:transparent; width:100%;"
+
|image = String
! style="{{roundytl|10px}} border: 1px solid #8cbcd1; background: #8cbcd1; text-align:center" | Species
+
|image_url = String
! style=" border: 1px solid #8cbcd1; background: #8cbcd1; text-align:center" | Personality
+
|species = String
! style="{{roundytr|10px}} border: 1px solid #8cbcd1; background: #8cbcd1; text-align:center" | Gender
+
|personality = String
|-
+
|personality_note = String
| id="Infobox-villager-species" style="background:#fff; text-align:center; {{roundybl|10px}}" | {{{species|Unknown}}}
+
|prev_personality = String
| id="Infobox-villager-personality" style="background:#fff; text-align:center" | {{{personality|Unknown}}}
+
|prev_personality_note = String
| id="Infobox-villager-gender" style="background:#fff; text-align:center; {{roundybr|10px}}" | {{{gender|Unknown}}}
+
|gender = String
|}
+
|birthday = String
|-
+
|birthday_month = String
{{#if:{{{birthday|}}}|
+
|birthday_day = Integer
! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0; {{roundytl|10px}}" {{!}} Birthday
+
|birthday_sort = Integer
{{!}} id="Infobox-villager-birthday" colspan="2" style="background:#fff; border: 1px solid #fff; {{roundytr|10px}}" {{!}} {{{birthday|}}}}}
+
|sign = String
|-
+
|sign_sort = Integer
{{#if:{{{sign|}}}|
+
|prev_sign = String
! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0; {{#if: {{{birthday|}}} | | {{roundytl|10px}}}}" {{!}} Star sign
+
|prev_sign_sort = Integer
{{!}}id="Infobox-villager-starsign"  colspan="2" style="background:#fff; border: 1px solid #fff; {{#if: {{{birthday|}}} | | {{roundytr|10px}}}}" {{!}} [[File:{{{sign|}}}.png|link{{=}}{{{sign}}}|{{{sign}}}]] [[{{{sign|}}}|{{{sign|}}}]] {{{note1|}}}}} {{#if: {{{sign2|}}}| <br>[[File:{{{sign2|}}}.png|link{{=}}{{{sign2}}}|{{{sign2}}}]] [[{{{sign2|}}}|{{{sign2|}}}]] {{{note2|}}} |}}
+
|quote = String
|-
+
|phrase = String
{{#if:{{{phrase|}}}|
+
|prev_phrase = String
! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0; {{#if:{{{birthday|}}}||{{#if:{{{sign|}}}||{{roundytl|10px}}}}}}" {{!}} Initial phrase
+
|prev_phrase2 = String
{{!}} id="Infobox-villager-phrase" colspan="2" style="background:#fff; border: 1px solid #fff; {{#if:{{{birthday|}}}||{{roundytr|10px}}}}" {{!}} {{{phrase|}}}}}
+
|clothing = String
|-
+
|clothing_nh_var = String
{{#if:{{{clothes|}}}|
+
|umbrella = String
! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0; {{#if:{{{birthday|}}}||{{#if:{{{phrase|}}}||{{roundytl|10px}}}}}}" {{!}} Initial clothes
+
|islander = Boolean
{{!}} id="Infobox-villager-clothes" colspan="2" style="background:#fff; border: 1px solid #fff; {{#if:{{{birthday|}}}||{{#if:{{{phrase|}}}||{{roundytr|10px}}}}}}" {{!}} {{{clothes|}}}}}
+
|debut = String
|-
+
|dnm = Boolean
{{#if:{{{umbrella|}}}|
+
|ac = Boolean
! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0;" {{!}} Initial umbrella
+
|e_plus = Boolean
{{!}} id="Infobox-villager-umbrella" colspan="2" style="background:#fff; border: 1px solid #fff;" {{!}} {{{umbrella|}}}}}
+
|ww = Boolean
|-
+
|cf = Boolean
! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0;" {{!}} Main Appearances
+
|nl = Boolean
{{!}} id="Infobox-villager-debut" colspan="2" style="background:#fff; border: 1px solid #fff; {{!}}
+
|wa = Boolean
{{#incat:Animal Forest characters|{{Infobox Appearance|game={{DnM|shortest}}|appears=yes}}|{{Infobox Appearance|game={{DnM|shortest}}|appears=no}}}}
+
|nh = Boolean
{{#incat:Animal Forest + characters|{{Infobox Appearance|game={{DnM+|shortest}}|appears=yes}}|{{Infobox Appearance|game={{DnM+|shortest}}|appears=no}}}}
+
|film = Boolean
{{#incat:Animal Crossing characters|{{Infobox Appearance|game={{PG|shortest}}|appears=yes}}|{{Infobox Appearance|game={{PG|shortest}}|appears=no}}}}
+
|hhd = Boolean
{{#incat:Animal Forest e+ characters|{{Infobox Appearance|game={{DnMe+|shortest}}|appears=yes}}|{{Infobox Appearance|game={{DnMe+|shortest}}|appears=no}}}}
+
|pc = Boolean
{{#incat:Animal Crossing: Wild World characters|{{Infobox Appearance|game={{WW|shortest}}|appears=yes}}|{{Infobox Appearance|game={{WW|shortest}}|appears=no}}}}
+
|engb_name = String
{{#incat:Animal Crossing: City Folk characters|{{Infobox Appearance|game={{CF|shortest}}|appears=yes}}|{{Infobox Appearance|game={{CF|shortest}}|appears=no}}}}
+
|de_name = String
{{#incat:Animal Crossing: New Leaf characters|{{Infobox Appearance|game={{NL|shortest}}|appears=yes}}|{{#incat:Animal Crossing: New Leaf update characters|{{Infobox Appearance|game={{NL|shortest}}<sup>[[Animal Crossing: New Leaf - Welcome amiibo|a]]</sup>|appears=yes}}|{{Infobox Appearance|game={{NL|shortest}}|appears=no}}}}}}
+
|es_name = String
|-
+
|esl_name = String
! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0;" {{!}} Other Appearances
+
|fr_name = String
{{!}} id="Infobox-villager-debut" colspan="2" style="background:#fff; border: 1px solid #fff; {{!}}
+
|frq_name = String
{{#incat:Animal Crossing: Happy Home Designer characters|{{Infobox Appearance|game={{HHD|shortest}}|appears=yes}}|{{Infobox Appearance|game={{HHD|shortest}}|appears=no}}}}
+
|it_name = String
{{#incat:Animal Crossing: amiibo Festival characters|{{Infobox Appearance|game={{AMF|short}}|appears=yes}}|{{Infobox Appearance|game={{AMF|short}}|appears=no}}}}
+
|ja_name = String
{{#incat:Animal Crossing: The Movie characters|{{Infobox Appearance|game={{AM|shortest}}|appears=yes}}|{{Infobox Appearance|game={{AM|shortest}}|appears=no}}}}
+
|ja_name_r = String
{{#incat:Animal Crossing: Pocket Camp characters|{{Infobox Appearance|game={{PC|shortest}}|appears=yes}}|{{Infobox Appearance|game={{PC|shortest}}|appears=no}}}}
+
|ko_name = String
|-
+
|ko_name_r = String
{{#if:{{{favorite|}}}|
+
|nl_name = String
! rowspan="2" style="background: #8cbcd1; text-align:right; line-height:15px; padding: 0 3px 0 0; {{roundyleft|10px}}" {{!}} Islander fruit<br>preferences
+
|ru_name = String
! style="background: #fff; text-align:right; padding:0 3px 0 0;" {{!}} [[File:Smallcheckmark.png]]
+
|ru_name_r = String
{{!}} style="background-color:#e5f2e5; border: 1px solid #50a350; {{roundytr|10px}}" width="25px" {{!}} [[File:WW{{{favorite}}}Icon.png|center|{{{favorite}}}]]
+
|zh_name = String
{{!-}}
+
|zh_name_r = String
! style="background: #fff; text-align:right; padding:0 3px 0 0;" {{!}} [[File:Smallxmark.png]]
+
|zht_name = String
{{!}} style="background-color:#ffeded; border: 1px solid #ff5555; {{roundybr|10px}}" width="25px" {{!}} [[File:WW{{{allergic}}}Icon.png|center|{{{allergic}}}]]}}
+
|zht_name_r = String
|}<includeonly><span id="api-villager_name" style="display:none;">{{{name|Unknown}}}</span><span id="api-villager_image" style="display:none;">{{filepath:{{{image|Nia.png}}}|{{{imagesize|200px}}}}}</span><span id="api-villager_quote" style="display:none;">{{{quote|Unknown}}}</span><span id="api-villager_gender" style="display:none;">{{{gender|Unknown}}}</span><span id="api-villager_personality" style="display:none;">{{{personality|Unknown}}}</span><span id="api-villager_species" style="display:none;">{{{species|Unknown}}}</span><span id="api-villager_birthday" style="display:none;">{{{birthday|Unknown}}}</span><span id="api-villager_sign" style="display:none;">{{{sign|Unknown}}}</span><span id="api-villager_phrase" style="display:none;">{{{phrase|Unknown}}}</span><span id="api-villager_clothes" style="display:none;">{{{clothes|Unknown}}}</span><span id="api-villager_umbrella" style="display:none;">{{{umbrella|Unknown}}}</span><span id="api-villager_song" style="display:none;">{{{song|Unknown}}}</span><span id="api-villager_appearances" style="display:none;">{{{appearances|Unknown}}}</span><span id="api-villager_other-appearances" style="display:none;">{{{other|Unknown}}}</span><span id="api-villager_islander-favorite" style="display:none;">{{{favorite|N/A}}}</span><span id="api-villager_islander-allergic" style="display:none;">{{{allergic|N/A}}}</span><span id="api-villager_link" style="display:none;">{{fullurl:{{FULLPAGENAME}}}}</span><span id="api-villager_updated" style="display:none;">{{REVISIONMONTH1}}/{{REVISIONDAY}}/{{REVISIONYEAR}}</span><span id="api-villager_cached" style="display:none;">{{LOCALMONTH}}/{{LOCALDAY}}/{{LOCALYEAR}} {{LOCALTIME}}</span>
+
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
</includeonly>
+
_table=villager
<noinclude>This is an infobox for [[villager]]s.
+
|url = {{canonicalurl:{{PAGENAME}}}}
 
+
|name = {{{name|{{PAGENAME}}}}}
==Usage==
+
|name_sort = {{{name-sort|{{{name|}}}}}}
<pre>
+
|no_localization = {{#if:{{{no-localization|}}}|Yes|No}}
{{Infobox Villager
+
|alt_name = {{{alt-name|}}}
|name=
+
|title_color = {{#replace:{{{titlecolor|}}}|#|}}
|japanese=  
+
|text_color = {{#replace:{{{textcolor|}}}|#|}}
|image=  
+
|id = {{{ID|}}}
|imagesize=
+
|image = {{{image|}}}
|quote=  
+
|image_url = {{filepath:{{{image|}}}}}
|gender=
+
|species = {{{species|}}}
|personality=
+
|personality = {{{personality|}}}
|species=
+
|personality_note = {{{personality-note|}}}
|birthday=
+
|prev_personality = {{{prev-personality|}}}
|sign=
+
|prev_personality_note = {{{prev-personality-note|}}}
|phrase=  
+
|gender = {{{gender|}}}
|clothes=
+
|birthday = {{{birthdaymonth|}}} {{{birthday|}}}
|umbrella=  
+
|birthday_month = {{{birthdaymonth|}}}
|song=  
+
|birthday_day = {{{birthday|}}}
|favorite=  
+
|birthday_sort = {{#switch:{{{birthdaymonth|}}}|January=01|February=02|March=03|April=04|May=05|June=06|July=07|August=08|September=09|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|}}}}}
|allergic=
+
|sign = {{{sign|}}}
}}
+
|sign_sort = {{#switch:{{{sign|}}}|Aries=1|Taurus=2|Gemini=3|Cancer=4|Leo=5|Virgo=6|Libra=7|Scorpio=8|Sagittarius=9|Capricorn=10|Aquarius=11|Pisces=12}}
</pre>
+
|prev_sign = {{{sign2|}}}
 
+
|prev_sign_sort = {{#switch:{{{sign2|}}}|Aries=1|Taurus=2|Gemini=3|Cancer=4|Leo=5|Virgo=6|Libra=7|Scorpio=8|Sagittarius=9|Capricorn=10|Aquarius=11|Pisces=12}}
== Syntax Guide ==
+
|quote = {{{quote|}}}
This is just a quick reference on how to use each field.
+
|phrase = {{{phrase|}}}
 
+
|prev_phrase = {{{prev-phrase|}}}
*'''name:''' The name of the villager.
+
|prev_phrase2 = {{{prev-phrase2|}}}
*'''japanese:''' The villager's Japanese name.
+
|clothing = {{#if:{{{clothes6|}}}|{{{clothes6|}}}|{{#if:{{{clothes5|}}}|{{{clothes5|}}}|{{#if:{{{clothes4|}}}|{{{clothes4|}}}|{{#if:{{{clothes3|}}}|{{{clothes3|}}}|{{#if:{{{clothes2|}}}|{{{clothes2|}}}|{{{clothes1|}}}}}}}}}}}}}
*'''image:''' The image file. '''''Do not''''' include <nowiki>[[Image:Example.jpg]]</nowiki>! In this case, you would put Example.jpg.
+
|clothing_nh_var = {{{clothes-nh-var|}}}
*'''imagesize:''' the size of the image. Please be sure to include "px" at the end. Default is 200px.
+
|umbrella = {{#if:{{{umbrella4|}}}|{{{umbrella4|}}}|{{#if:{{{umbrella3|}}}|{{{umbrella3|}}}|{{#if:{{{umbrella2|}}}|{{{umbrella2|}}}|{{{umbrella1|}}}}}}}}}
*'''gender:''' The gender of the villager will go here. Male or Female.
+
|islander = {{#incat:Islanders|Yes|No}}
*'''personality:''' The villager's set personality. For example, [[Agent S]]'s personality is [[Peppy]].
+
|debut = {{#incat:Doubutsu no Mori characters|DnM|{{#incat:Animal Crossing characters|ACGC|{{#incat:Doubutsu no Mori e+ characters|DnMe+|{{#incat:Wild World characters|ACWW|{{#incat:City Folk characters|ACCF|{{#incat:New Leaf characters|ACNL|{{#incat:Happy Home Designer characters|ACHHD|{{#incat:Welcome amiibo characters|ACNLa|{{#incat:New Horizons characters|ACNH|}}}}}}}}}}}}}}}}}}
*'''species:''' The species the villager belongs to.
+
|dnm = {{#incat:Doubutsu no Mori characters|Yes|No}}
*'''birthday:''' The day the villager was born.
+
|ac = {{#incat:Animal Crossing characters|Yes|No}}
*'''sign:''' The villager's current [[Star_sign|zodiac sign]].
+
|e_plus = {{#incat:Doubutsu no Mori e+ characters|Yes|No}}
*'''note1:''' Space to place notes regarding a villager's current zodiac sign.
+
|ww = {{#incat:Wild World characters|Yes|No}}
*'''sign2:''' The villager's previous zodiac sign, if any.
+
|cf = {{#incat:City Folk characters|Yes|No}}
*'''note2:''' Space to place notes regarding a villager's previous zodiac sign.
+
|nl = {{#incat:New Leaf characters|Yes|No}}
*'''phrase:''' The '''''default''''' phrase(s) the villager is set to. '''''Do not include any player-customized phrases.'''''
+
|wa = {{#incat:New Leaf characters|Yes|{{#incat:Welcome amiibo characters|Yes|No}}}}
*'''clothes:''' The default clothing worn by the villager.
+
|nh =  {{#incat:New Horizons characters|Yes|No}}
*'''umbrella:''' The default umbrella used by the villager.
+
|film = {{#incat:Gekijōban Doubutsu no Mori characters|Yes|No}}
*'''song:''' The villager's favorite song (plays in their house by default).
+
|hhd =  {{#incat:Happy Home Designer characters|Yes|No}}
*'''quote:''' The villager's favorite saying, which appears on their picture.
+
|pc =  {{#incat:Pocket Camp characters|Yes|No}}
*'''favorite:''' If the villager is an islander, the favorite fruit. Remove this field for non-islanders.
+
|engb_name = {{{engb-name|}}}
*'''allergic:''' If the villager is an islander, the fruit the villager is allergic to. Remove this field for non-islanders.
+
|de_name = {{#ifeq:{{{de-name|}}}|N/A||{{{de-name|}}}}}
*'''skill:''' ('''depreciated''' - do not use) The villager's skill.
+
|es_name = {{#ifeq:{{{es-name|}}}|N/A||{{{es-name|}}}}}
*'''goal:''' ('''depreciated''' - do not use) The villager's goal for the future.
+
|esl_name = {{#ifeq:{{{esl-name|}}}|N/A||{{{esl-name|{{{es-name|}}}}}}}}
*'''style:''' ('''depreciated''' - do not use) The villager's preferred style.
+
|fr_name = {{#ifeq:{{{fr-name|}}}|N/A||{{{fr-name|}}}}}
*'''appearances:''' ('''replaced''' - do not use) The games in the main series the villager has appeared in.
+
|frq_name = {{#ifeq:{{{frq-name|}}}|N/A||{{{frq-name|{{{fr-name|}}}}}}}}
*'''other:''' ('''replaced''' - do not use) Other media the villager has appeared in, such as the film, {{SD|short|nolink}}, {{HHD|short|nolink}}, etc.
+
|it_name = {{#ifeq:{{{it-name|}}}|N/A||{{{it-name|}}}}}
*'''debut:''' ('''depreciated''' - do not use) Describes the first time the villager appears in any {{PG|nolink}} media.
+
|ja_name = {{#ifeq:{{{ja-name|}}}|N/A||{{{ja-name|}}}}}
*'''latest:''' ('''depreciated''' - do not use) Describes the most recent appearance of the villager in {{PG|nolink}} media.
+
|ja_name_r = {{{ja-name-r|}}}
 
+
|ko_name = {{#ifeq:{{{ko-name|}}}|N/A||{{{ko-name|}}}}}
== Notes ==
+
|ko_name_r = {{{ko-name-r|}}}
* As of 8/10/15 any pages using the skill, goal, or style parameters will be tagged with [[:Category:Pages with an outdated infobox villager template]] as these fields have been moved into [[Template:Villager Info]].
+
|nl_name = {{#ifeq:{{{nl-name|}}}|N/A||{{{nl-name|}}}}}
* As of 6/18/2018, any pages using the appearances or other parameters will also be tagged with the above category, as they have been replaced.
+
|ru_name = {{#ifeq:{{{ru-name|}}}|N/A||{{{ru-name|}}}}}
* As of 8/28/2018, any pages using the debut and latest parameters will also be tagged with the above category, as they have been removed.
+
|ru_name_r = {{{ru-name-r|}}}
[[Category:Infobox templates]]
+
|zh_name = {{#ifeq:{{{zh-name|}}}|N/A||{{{zh-name|}}}}}
</noinclude>
+
|zh_name_r = {{{zh-name-r|}}}
 +
|zht_name = {{#ifeq:{{{zht-name|}}}|N/A||{{{zht-name|{{{zh-name|}}}}}}}}
 +
|zht_name_r = {{#ifeq:{{{zht-name|}}}|N/A||{{{zht-name-r|{{{zh-name-r|}}}}}}}}
 +
}}}}<metakeywords>villager,animal crossing, acnh, new horizons</metakeywords>{{#seo:|image={{{image|}}}}}</includeonly>{{Infobox 2.0
 +
| title          = {{#if:{{{engb-name|}}}|{{Flag|USA|size=28px}}|}} {{{name|{{PAGENAME}}}}}{{#if:{{{engb-name|}}}|<br>{{Flag|GBR}} <small>{{{engb-name|}}}</small>|}}
 +
| titlecolor    = {{{titlecolor|}}}
 +
| textcolor      = {{{textcolor|}}}
 +
| primarycolor  = 195 52
 +
| lefticon      = {{#ifexist:File:{{{speciesicon|{{{species|Special}}}}}}SpeciesIconSilhouette.png|[[File:{{{speciesicon|{{{species|Special}}}}}}SpeciesIconSilhouette.png|30px|link=|alt=Type of {{{species|special}}} villager]]|[[File:SpecialSpeciesIconSilhouette.png|30px|link=|alt=Type of {{{species|special}}} villager]]}}
 +
| righticon      = {{#if:{{{ID|}}}|<small><code>[[Villager#Villager ID|{{{ID|}}}]]</code></small>|&nbsp;}}
 +
| subtitlebelow  = gallery
 +
| image         = [[File:{{{image|}}}|{{{imagesize|150px}}}|alt=Artwork of {{{name|{{PAGENAME}}}}} {{#if:{{{species|}}}|the {{{species|}}}|}}]]
 +
| leftlabel      = Species
 +
| middlelabel    = Personality
 +
| rightlabel    = Gender
 +
| leftdata      = [[{{#switch:{{{species|}}}|Frog|Octopus={{{species|}}} (species)|{{{species|Unknown}}}}}|{{{species|Unknown}}}]]
 +
| middledata    = {{#ifeq:{{{personality|}}}|Unknown|[[File:Emotion Curiosity NH Icon.png|24px|link=|alt=]] Unknown|{{#if:{{{prev-personality|}}}|[[File:Emotion {{#switch:{{{prev-personality|}}}|Cranky=Aggravation|Jock=Pride|Lazy=Sleepy|Smug=Smirking|Normal=Happiness|Peppy=Encouraging|Snooty=Disagreement|Big sister=Mischief|Curiosity}} NH Icon.png|24px|link=|alt=]] [[{{{prev-personality|Unknown}}}]]{{#if:{{{prev-personality-note|}}}|{{Note|{{{prev-personality-note|}}}}}|}}<br>|}}[[File:Emotion {{#switch:{{{personality|}}}|Cranky=Aggravation|Jock=Pride|Lazy=Sleepy|Smug=Smirking|Normal=Happiness|Peppy=Encouraging|Snooty=Disagreement|Big sister=Mischief|Curiosity}} NH Icon.png|24px|link=|alt=]] [[{{{personality|Unknown}}}]]{{#if:{{{personality-note|}}}|{{Note|{{{personality-note|}}}}}|}}}}
 +
| rightdata      = [[File:{{#switch:{{{gender|}}}| Male = Male | Female = Female | Intersex = Intersex | #default = Gender }} symbol.png|18px|link=|alt=]] {{#ifeq:{{{gender|}}}|Unknown|Unknown|[[:Category:{{{gender|}}} characters|{{{gender|Unknown}}}]]}}
 +
| labelwidth    = 10
 +
| label          = {{#if:{{{birthday|}}}|Birthday|Star sign}}
 +
| data          = {{#if:{{{birthday|}}}| [[{{#ifeq:{{{birthdaymonth|}}}|June|June (month)|{{{birthdaymonth|}}}}}|{{{birthdaymonth|}}}]] {{Date|{{{birthday|}}}}}{{#if:{{{birthday-note|}}}|{{Note|{{{birthday-note|}}}}}|}}|[[File:{{{sign|Aries}}} NookLink Icon.svg|25px|link{{=}}{{{sign}}}|{{{sign}}}]] [[{{{sign|}}}]]}}
 +
| subdata        = {{#if:{{{birthday|}}}|[[File:{{{sign|}}} NookLink Icon.svg|25px|link{{=}}{{{sign}}}|{{{sign}}}]] {{#if:{{{sign2|}}} | [[File:{{{sign2|}}} NookLink Icon.svg|25px|link{{=}}{{{sign2}}}|{{{sign2}}}]]{{Note|{{{note2|}}}}}|}}|}}
 +
| label2        = Favorite saying
 +
| data2          = {{#if:{{{quote|}}}|"''{{{quote|}}}''"|}}
 +
| label3        = Catchphrase
 +
| data3          = {{#if:{{{prev-phrase|}}}|"''{{{prev-phrase|}}}''"{{#if:{{{prev-phrase-note|}}}|{{Note|{{{prev-phrase-note|}}}}}|}}<br>|}}{{#if:{{{prev-phrase2|}}}|"''{{{prev-phrase2|}}}''"{{#if:{{{prev-phrase2-note|}}}|{{Note|{{{prev-phrase2-note|}}}}}|}}<br>|}}"''{{{phrase|}}}''"{{#if:{{{phrase-note|}}}|{{Note|{{{phrase-note|}}}}}|}}
 +
| label4        = Clothing
 +
| data4          = {{#incat:New Horizons characters|{{#if:{{{clothes2|}}}|{{I|{{#invoke:SentenceCase|main|{{{clothes1|}}}}}|{{{clothes1-game|}}}}}|{{I|{{#invoke:SentenceCase|main|{{{clothes1|}}}}}|NH}}{{#if:{{{clothes-nh-var|}}}|&nbsp;({{{clothes-nh-var|}}})|}}|}}|{{I|{{#invoke:SentenceCase|main|{{{clothes1|}}}}}|{{{clothes1-game|}}}}}}}{{#if:{{{clothes1-note|}}}|{{Note|{{{clothes1-note|}}}}}|}}{{#if:{{{clothes2|}}}|<br>{{#incat:New Horizons characters|{{#if:{{{clothes3|}}}|{{I|{{#invoke:SentenceCase|main|{{{clothes2|}}}}}|{{{clothes2-game|}}}}}|{{I|{{#invoke:SentenceCase|main|{{{clothes2|}}}}}|NH}}{{#if:{{{clothes-nh-var|}}}|&nbsp;({{{clothes-nh-var|}}})|}}|}}|{{I|{{#invoke:SentenceCase|main|{{{clothes2|}}}}}|{{{clothes2-game|}}}}}}}{{#if:{{{clothes2-note|}}}|{{Note|{{{clothes2-note|}}}}}|}}|}}{{#if:{{{clothes3|}}}|<br>{{#incat:New Horizons characters|{{#if:{{{clothes4|}}}|{{I|{{#invoke:SentenceCase|main|{{{clothes3|}}}}}|{{{clothes3-game|}}}}}|{{I|{{#invoke:SentenceCase|main|{{{clothes3|}}}}}|NH}}{{#if:{{{clothes-nh-var|}}}|&nbsp;({{{clothes-nh-var|}}})|}}|}}|{{I|{{#invoke:SentenceCase|main|{{{clothes3|}}}}}|{{{clothes3-game|}}}}}}}{{#if:{{{clothes3-note|}}}|{{Note|{{{clothes3-note|}}}}}|}}|}}{{#if:{{{clothes4|}}}|<br>{{#incat:New Horizons characters|{{#if:{{{clothes5|}}}|{{I|{{#invoke:SentenceCase|main|{{{clothes4|}}}}}|{{{clothes4-game|}}}}}|{{I|{{#invoke:SentenceCase|main|{{{clothes4|}}}}}|NH}}{{#if:{{{clothes-nh-var|}}}|&nbsp;({{{clothes-nh-var|}}})|}}|}}|{{I|{{#invoke:SentenceCase|main|{{{clothes4|}}}}}|{{{clothes4-game|}}}}}}}{{#if:{{{clothes4-note|}}}|{{Note|{{{clothes4-note|}}}}}|}}|}}{{#if:{{{clothes5|}}}|<br>{{#incat:New Horizons characters|{{#if:{{{clothes6|}}}|{{I|{{#invoke:SentenceCase|main|{{{clothes5|}}}}}|{{{clothes5-game|}}}}}|{{I|{{#invoke:SentenceCase|main|{{{clothes5|}}}}}|NH}}{{#if:{{{clothes-nh-var|}}}|&nbsp;({{{clothes-nh-var|}}})|}}|}}|{{I|{{#invoke:SentenceCase|main|{{{clothes5|}}}}}|{{{clothes5-game|}}}}}}}{{#if:{{{clothes5-note|}}}|{{Note|{{{clothes5-note|}}}}}|}}|}}{{#if:{{{clothes6|}}}|<br>{{I|{{#invoke:SentenceCase|main|{{{clothes6|}}}}}|NH}}{{#if:{{{clothes-nh-var|}}}|&nbsp;({{{clothes-nh-var|}}})|}}{{#if:{{{clothes6-note|}}}|{{Note|{{{clothes6-note|}}}}}|}}|}}
 +
| label5        = Umbrella
 +
| data5          = {{#if:{{{umbrella1|}}}|{{#incat:New Horizons characters|{{#if:{{{umbrella2|}}}|{{I|{{#invoke:SentenceCase|main|{{{umbrella1|}}}}}|{{{umbrella1-game|}}}}}|{{I|{{#invoke:SentenceCase|main|{{{umbrella1|}}}}}|NH}}|}}|{{I|{{#invoke:SentenceCase|main|{{{umbrella1|}}}}}|{{{umbrella1-game|}}}}}}}{{#if:{{{umbrella1-note|}}}|{{Note|{{{umbrella1-note|}}}}}|}}|}}{{#if:{{{umbrella2|}}}|<br>{{#incat:New Horizons characters|{{#if:{{{umbrella3|}}}|{{I|{{#invoke:SentenceCase|main|{{{umbrella2|}}}}}|{{{umbrella2-game|}}}}}|{{I|{{#invoke:SentenceCase|main|{{{umbrella2|}}}}}|NH}}|}}|{{I|{{#invoke:SentenceCase|main|{{{umbrella2|}}}}}|{{{umbrella2-game|}}}}}}}{{#if:{{{umbrella2-note|}}}|{{Note|{{{umbrella2-note|}}}}}|}}|}}{{#if:{{{umbrella3|}}}|<br>{{#incat:New Horizons characters|{{#if:{{{umbrella4|}}}|{{I|{{#invoke:SentenceCase|main|{{{umbrella3|}}}}}|{{{umbrella3-game|}}}}}|{{I|{{#invoke:SentenceCase|main|{{{umbrella3|}}}}}|NH}}|}}|{{I|{{#invoke:SentenceCase|main|{{{umbrella3|}}}}}|{{{umbrella3-game|}}}}}}}{{#if:{{{umbrella3-note|}}}|{{Note|{{{umbrella3-note|}}}}}|}}|}}{{#if:{{{umbrella4|}}}|<br>{{#incat:New Horizons characters|{{#if:{{{umbrella5|}}}|{{I|{{#invoke:SentenceCase|main|{{{umbrella4|}}}}}|{{{umbrella4-game|}}}}}|{{I|{{#invoke:SentenceCase|main|{{{umbrella4|}}}}}|NH}}|}}|{{I|{{#invoke:SentenceCase|main|{{{umbrella4|}}}}}|{{{umbrella4-game|}}}}}}}{{#if:{{{umbrella4-note|}}}|{{Note|{{{umbrella4-note|}}}}}|}}|}}
 +
| appearances    = characters
 +
| o-appearances  = characters
 +
| languages      = Names
 +
| ja-name        = {{{ja-name|}}}
 +
| ko-name        = {{{ko-name|}}}
 +
| zh-name        = {{{zh-name|}}}
 +
| zht-name      = {{{zht-name|{{{zh-name|}}}}}}
 +
| fr-name        = {{{fr-name||}}}
 +
| frq-name      = {{{frq-name|{{{fr-name||}}}}}}
 +
| es-name        = {{{es-name|}}}
 +
| esl-name      = {{{esl-name|{{{es-name|}}}}}}
 +
| it-name        = {{{it-name|}}}
 +
| de-name        = {{{de-name|}}}
 +
| nl-name        = {{{nl-name|}}}
 +
| ru-name        = {{{ru-name|}}}
 +
| ja-note        = {{#if:{{{ja-name-r|}}}|{{{ja-name-r|}}}|}}
 +
| zh-note        = {{#if:{{{zh-name-r|}}}|{{{zh-name-r|}}}|}}
 +
| zht-note      = {{#ifeq:{{{zht-name|}}}|N/A||{{#if:{{{zht-name-r|}}}|{{{zht-name-r|}}}|{{#if:{{{zh-name-r|}}}|{{{zh-name-r|}}}|}}}}}}
 +
| ko-note        = {{#if:{{{ko-name-r|}}}|{{{ko-name-r|}}}|}}
 +
| ru-note        = {{#if:{{{ru-name-r|}}}|{{{ru-name-r|}}}|}}
 +
| languages2    = Phrase
 +
| languages2-collapsed = yes
 +
| ja-name2      = {{{ja-phrase|}}}
 +
| ko-name2      = {{{ko-phrase|}}}
 +
| zh-name2      = {{{zh-phrase|}}}
 +
| zht-name2      = {{{zht-phrase|{{{zh-phrase|}}}}}}
 +
| fr-name2      = {{{fr-phrase||}}}
 +
| frq-name2      = {{{frq-phrase|{{{fr-phrase||}}}}}}
 +
| es-name2      = {{{es-phrase|}}}
 +
| esl-name2      = {{{esl-phrase|{{{es-phrase|}}}}}}
 +
| it-name2      = {{{it-phrase|}}}
 +
| de-name2      = {{{de-phrase|}}}
 +
| nl-name2      = {{{nl-phrase|}}}
 +
| ru-name2      = {{{ru-phrase|}}}
 +
| ja-note2      = {{#if:{{{ja-phrase-r|}}}|{{{ja-phrase-r|}}}|}}
 +
| zh-note2      = {{#if:{{{zh-phrase-r|}}}|{{{zh-phrase-r|}}}|}}
 +
| zht-note2      = {{#if:{{{zht-phrase-r|}}}|{{{zht-phrase-r|}}}|{{#if:{{{zh-phrase-r|}}}|{{{zh-phrase-r|}}}|}}}}
 +
| ko-note2      = {{#if:{{{ko-phrase-r|}}}|{{{ko-phrase-r|}}}|}}
 +
| ru-note2      = {{#if:{{{ru-phrase-r|}}}|{{{ru-phrase-r|}}}|}}
 +
}}<includeonly>{{#ifeq:{{NAMESPACE}}||[[Category:Characters]][[Category:{{{gender|}}} characters]][[Category:Villagers]]{{#if:{{{ja-name|}}}||[[Category:Villagers with missing other language information]]}}{{#if:{{{ko-name|}}}||[[Category:Villagers with missing other language information]]}}{{#if:{{{zh-name|}}}||[[Category:Villagers with missing other language information]]}}{{#if:{{{fr-name|}}}||[[Category:Villagers with missing other language information]]}}{{#if:{{{it-name|}}}||[[Category:Villagers with missing other language information]]}}{{#if:{{{es-name|}}}||[[Category:Villagers with missing other language information]]}}{{#if:{{{de-name|}}}||[[Category:Villagers with missing other language information]]}}{{#if:{{{nl-name|}}}||[[Category:Villagers with missing other language information]]}}{{#if:{{{ru-name|}}}||[[Category:Villagers with missing other language information]]}} {{#if:{{{appearances|}}}| [[Category:Pages with an outdated infobox critter template]]}}{{#if:{{{ja-name-r|}}}||[[Category:Villagers with missing romanized language information]]}}{{#if:{{{zh-name-r|}}}||{{#ifeq:{{{zh-name|}}}|N/A||[[Category:Villagers with missing romanized language information]]}}}}{{#if:{{{ko-name-r|}}}||{{#ifeq:{{{ko-name|}}}|N/A||[[Category:Villagers with missing romanized language information]]}}}}{{#if:{{{ru-name-r|}}}||{{#ifeq:{{{ru-name|}}}|N/A||[[Category:Villagers with missing romanized language information]]}}}}{{#if:{{{no-localization|}}}|[[Category:Villagers with no English localization]]}}}}</includeonly><noinclude>{{Clear}}
 +
{{Documentation}}[[Category:Cargo templates]][[Category:Infobox templates]]</noinclude>

Latest revision as of 22:13, April 17, 2024

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

Type of special villager Infobox Villager  
[[File:|150px|alt=Artwork of Infobox Villager ]]
Species Personality Gender
Unknown Unknown Unknown
Star sign {{{sign}}} [[]]
Catchphrase "'"
Clothing [[Item: ()|]]
Main appearances

Other appearances
Names in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
Phrase in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown

Template documentation (view)


Emotion Surprise NH Icon.png
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
Emotion Surprise NH Icon.png
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.

Usage

{{Infobox Villager
|name               = 
|ID                 = 
|image              = 
|imagesize          = 
|species            = 
|personality        = 
|prev-personality   = 
|gender             = 
|birthdaymonth      = 
|birthday           = 
|sign               = 
|sign2              = 
|quote              = 
|phrase             = 
|phrase-note        = 
|prev-phrase        = 
|prev-phrase-note   = 
|clothes1           = 
|clothes1-note      = 
|clothes2           = 
|clothes2-note      = 
|clothes3           = 
|clothes3-note      = 
|clothes4           = 
|clothes4-note      = 
|ja-name            = 
|ko-name            = 
|zh-name            = 
|zht-name           = 
|fr-name            = 
|frq-name           = 
|it-name            = 
|es-name            = 
|esl-name           = 
|de-name            = 
|nl-name            = 
|ru-name            = 
|ja-name-r          = 
|ko-name-r          = 
|zh-name-r          = 
|zht-name-r         = 
|ru-name-r          = 
|ja-phrase          = 
|ko-phrase          = 
|zh-phrase          = 
|zht-phrase         = 
|fr-phrase          = 
|frq-phrase         = 
|it-phrase          = 
|es-phrase          = 
|esl-phrase         = 
|de-phrase          = 
|nl-phrase          = 
|ru-phrase          = 
|ja-phrase-r        = 
|ko-phrase-r        = 
|zh-phrase-r        = 
|zht-phrase-r       = 
|ru-phrase-r        = 
}}

This infobox is for articles about villagers in the series. Many of the parameters are straightforward, but the below ones require special consideration:

  • ID is the villager ID.
  • species is the villager's species.
  • personality is the villager's personality.
    • personality-note is the note of villager's personality. (optional)
    • prev-personality is the villager's personality from past game(s).
      • prev-personality-note is the note of villager's personality from past game(s).
  • gender is the villager's gender.
  • birthday is the villager's birthday (optional for villagers who didn't appear after Doubutsu no Mori e+).
  • sign is the villager's star sign.
    • sign2 is the villager's star sign if it's different in previous games (optional).
  • quote is the villager's photo saying (using quote from New Horizons or earlier games if villager didn't appear).
  • phrase is the villager's default catchphrase.
    • phrase-note is the note of villager's default catchphrase (optional).
    • prev-phrase is the villager's default catchphrase from past game(s) (optional).
      • prev-phrase-note is the note of villager's default catchphrase from past game(s) (optional).
  • clothes1, clothes2, clothes3, and clothes4 are the villager's default clothes within games.
    • clothes1-note, clothes2-note, clothes3-note, and clothes4-note are the notes of villager's default clothes within games.

The appearances are auto-assigned depending on category using Template:Infobox Appearance and PageInCat extension.

Example

Type of Cat villager Rosie cat02
Artwork of Rosie the Cat
Species Personality Gender
Cat Peppy Female
Birthday February 27th Pisces
Favorite saying "One good purr deserves another."
Catchphrase "silly"
Clothing Shortcake shirt[nb 1]
Dazed dress[nb 2]
Umbrella Daffodil parasol[nb 3]
Mint umbrella[nb 4]
Candy umbrella[nb 5]
Main appearances

Other appearances
Names in other languages
 ブーケ[nb 6]
 부케[nb 9]
 Grinfia
 Sophie
 彭花[nb 7]
 Rosie
 Minina
 Rosie
 彭花[nb 8]
 Rosie
 Minina
 Рози[nb 10]
Phrase in other languages
 チェキ[nb 11]
 헤이[nb 14]
 tontolon
 flöt
 看看[nb 12]
 flûte
 miaaau
 gekkie
 看看[nb 13]
 flûte
 miaaau
 рыбка[nb 15]


{{Infobox Villager
|name               = Rosie
|ID                 = cat02
|image              = Rosie NH Transparent.png
|species            = Cat
|personality        = Peppy
|gender             = Female
|birthdaymonth      = February
|birthday           = 27
|sign               = Pisces
|quote              = One good purr deserves another.
|phrase             = silly
|clothes1           = shortcake shirt
|clothes1-game      = PG
|clothes1-note      = {{PG|nolink}}
|clothes2           = dazed dress
|clothes-nh-var     = Pink
|clothes2-note      = {{WW|short|nolink}} onwards, called "dazed shirt" prior to {{NL|short|nolink}} and "dazed tee" prior to {{NH|short|nolink}}
|umbrella1          = daffodil parasol
|umbrella1-game     = PG
|umbrella1-note     = {{PG|nolink}}
|umbrella2          = mint umbrella
|umbrella2-game     = NL
|umbrella2-note     = {{WW|short|nolink}} to {{aF|short|nolink}}
|umbrella3          = candy umbrella
|umbrella3-note     = {{NH|short|nolink}}
|ja-name            = ブーケ
|ko-name            = 부케
|zh-name            = 彭花
|fr-name            = Rosie
|it-name            = Grinfia
|es-name            = Minina
|de-name            = Sophie
|nl-name            = Rosie
|ru-name            = Рози
|ja-name-r          = {{Nihongo foot|ブーケ|Būke|Bouquet}}
|ko-name-r          = Buke
|zh-name-r          = Péng huā
|ru-name-r          = Rozi
|ja-phrase          = チェキ
|ko-phrase          = 헤이
|zh-phrase          = 看看
|fr-phrase          = flûte
|it-phrase          = tontolon
|es-phrase          = miaaau
|de-phrase          = flöt
|nl-phrase          = gekkie
|ru-phrase          = рыбка
|ja-phrase-r        = cheki
|ko-phrase-r        = hei
|zh-phrase-r        = kàn kàn
|ru-phrase-r        = rybka
}}

Changelog

Animal Crossing Wiki

11/27/2008
Initial release.
06/06/2010
Adding support for the second catchphrase
06/05-06/2010
Adding support for the second catchphrase
06/10-16/2010
First additions to the style, added support for second clothes tab

Nookipedia

11/06-07/2010
First major update for the style, added documentation
03/01-14/2010
Second major update for the style, re-writing rows and parameters
06/12/2010
Some minor style adjustments and add parser functions.
06/20/2014
Third major update for the style, added support for the villager star sign, added NL villager info and ACGC fruit preferences info
08/01-02/2014
Added support for the villager which birthday is unknown and only have star sign
08/08-12/2014
Added support for the other appearances (f.e. film and spin-off games)
08/10/2015
Deprecating skill, goal and style
03/03/2016
Added secondary zodiac sign capability
05/12/2017
Added umbrella
03/07/2018
Added API support
06/18/2018
Added Japanese name capability, replaced appearances with debut and latest
08/29/2018
Returning appearances (now using Infobox Appearance and PageInCat extension to be auto assigned depending on category)
09/05/2018
Deprecating song
10/06/2018
Returning song
11/29/2018
Deprecating song again, added villager picture quote
09/05/2018
Deprecating song
03/05/2019
Deprecating umbrella
06/12/2019
Added NH appearances (icon only appears as green if NH category is present; if not present, gray icon is NOT shown, so that readers don't think the villager has been confirmed as not making an appearance)
02/11/2020
Added support for the other language names and catchphrases (plus deprecating japanese replaced with j-name)
03/02/2020
NH appearances are now visible for all pages
03/14/2020
DnM+ and ACGC got merged
03/24/2020
Starsign icons now replaced with NH
05/19/2020
The language initials has been replaced following the ISO 639-1 standard.
07/19-25/2020
Fourth major update for the style, added Cargo for the villager, added ID parameter, villager icon appear left to the villager's name, name color styling (for NH villagers only), separating birthday, catchphrases and clothing.
12/23/2022
Returning umbrella

Notes

  1. Animal Crossing
  2. Wild World onwards, called "dazed shirt" prior to New Leaf and "dazed tee" prior to New Horizons
  3. Animal Crossing
  4. Wild World to amiibo Festival
  5. New Horizons
  6. Japanese: ブーケ Hepburn: BūkeBouquet
  7. Péng huā
  8. Péng huā
  9. Buke
  10. Rozi
  11. cheki
  12. kàn kàn
  13. kàn kàn
  14. hei
  15. rybka