Difference between revisions of "Template:Infobox Villager"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (Adding 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)) |
m (Made bottom of appearances cells roundy. Increased padding for islander fruit preferences.) |
||
Line 50: | Line 50: | ||
{{#incat:Animal Crossing: New Horizons characters|{{Infobox Appearance|game={{NH|shortest}}|appears=yes}}|}} | {{#incat:Animal Crossing: New Horizons characters|{{Infobox Appearance|game={{NH|shortest}}|appears=yes}}|}} | ||
|- | |- | ||
− | ! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0;" {{!}} Other Appearances | + | ! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0; {{roundybl|10px}};" {{!}} Other Appearances |
− | {{!}} id="Infobox-villager-debut" colspan="2" style="background:#fff; border: 1px solid #fff; {{!}} | + | {{!}} id="Infobox-villager-debut" colspan="2" style="background:#fff; border: 1px solid #fff; {{roundybr|10px}};" {{!}} |
{{#incat:Animal Crossing: Happy Home Designer characters|{{Infobox Appearance|game={{HHD|shortest}}|appears=yes}}|{{Infobox Appearance|game={{HHD|shortest}}|appears=no}}}} | {{#incat:Animal Crossing: Happy Home Designer characters|{{Infobox Appearance|game={{HHD|shortest}}|appears=yes}}|{{Infobox Appearance|game={{HHD|shortest}}|appears=no}}}} | ||
{{#incat:Animal Crossing: amiibo Festival characters|{{Infobox Appearance|game={{AMF|short}}|appears=yes}}|{{Infobox Appearance|game={{AMF|short}}|appears=no}}}} | {{#incat:Animal Crossing: amiibo Festival characters|{{Infobox Appearance|game={{AMF|short}}|appears=yes}}|{{Infobox Appearance|game={{AMF|short}}|appears=no}}}} | ||
Line 59: | Line 59: | ||
{{#if:{{{favorite|}}}| | {{#if:{{{favorite|}}}| | ||
! rowspan="2" style="background: #8cbcd1; text-align:right; line-height:15px; padding: 0 3px 0 0; {{roundyleft|10px}}" {{!}} Islander fruit<br>preferences | ! rowspan="2" style="background: #8cbcd1; text-align:right; line-height:15px; padding: 0 3px 0 0; {{roundyleft|10px}}" {{!}} Islander fruit<br>preferences | ||
− | ! style="background: #fff; text-align:right; padding:0 | + | ! style="background: #fff; text-align:right; padding:0 5px 0 0;" {{!}} [[File:Smallcheckmark.png]] |
{{!}} style="background-color:#e5f2e5; border: 1px solid #50a350; {{roundytr|10px}}" width="25px" {{!}} [[File:{{{favorite}}} PG Icon.png|center|{{{favorite}}}]] | {{!}} style="background-color:#e5f2e5; border: 1px solid #50a350; {{roundytr|10px}}" width="25px" {{!}} [[File:{{{favorite}}} PG Icon.png|center|{{{favorite}}}]] | ||
{{!-}} | {{!-}} | ||
− | ! style="background: #fff; text-align:right; padding:0 | + | ! style="background: #fff; text-align:right; padding:0 5px 0 0;" {{!}} [[File:Smallxmark.png]] |
{{!}} style="background-color:#ffeded; border: 1px solid #ff5555; {{roundybr|10px}}" width="25px" {{!}} [[File:{{{allergic}}} PG Icon.png|center|{{{allergic}}}]]}} | {{!}} style="background-color:#ffeded; border: 1px solid #ff5555; {{roundybr|10px}}" width="25px" {{!}} [[File:{{{allergic}}} PG Icon.png|center|{{{allergic}}}]]}} | ||
|}<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> | |}<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> |
Revision as of 11:11, September 19, 2019
Infobox Villager | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Main Appearances | ||||||||
Other Appearances |
This is an infobox for villagers.
Usage
{{Infobox Villager |name= |japanese= |image= |imagesize= |quote= |gender= |personality= |species= |birthday= |sign= |phrase= |clothes= |favorite= |allergic= }}
Syntax Guide
This is just a quick reference on how to use each field.
- name: The name of the villager.
- japanese: The villager's Japanese name.
- image: The image file. Do not include [[Image:Example.jpg]]! In this case, you would put Example.jpg.
- imagesize: the size of the image. Please be sure to include "px" at the end. Default is 200px.
- gender: The gender of the villager will go here. Male or Female.
- personality: The villager's set personality. For example, Agent S's personality is Peppy.
- species: The species the villager belongs to.
- birthday: The day the villager was born.
- sign: The villager's current zodiac sign.
- note1: Space to place notes regarding a villager's current zodiac sign.
- sign2: The villager's previous zodiac sign, if any.
- note2: Space to place notes regarding a villager's previous zodiac sign.
- phrase: The default phrase(s) the villager is set to. Do not include any player-customized phrases.
- clothes: The default clothing worn by the villager.
- quote: The villager's favorite saying, which appears on their picture.
- favorite: If the villager is an islander, the favorite fruit. Remove this field for non-islanders.
- allergic: If the villager is an islander, the fruit the villager is allergic to. Remove this field for non-islanders.
- skill: (depreciated - do not use) The villager's skill.
- goal: (depreciated - do not use) The villager's goal for the future.
- style: (depreciated - do not use) The villager's preferred style.
- appearances: (replaced - do not use) The games in the main series the villager has appeared in.
- other: (replaced - do not use) Other media the villager has appeared in, such as the film, Sweet Day, Happy Home Designer, etc.
- debut: (depreciated - do not use) Describes the first time the villager appears in any Animal Crossing media.
- latest: (depreciated - do not use) Describes the most recent appearance of the villager in Animal Crossing media.
- song: (depreciated - do not use) The villager's favorite song (plays in their house by default).
- umbrella (depreciated - do not use) The villager's default umbrella.
Notes
- 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.
- 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.
- 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.
- As of 9/5/2018, any pages using the song parameter will also be tagged with the above category, as it has been moved to Template:House.
- As of 3/5/2019, the initial umbrella section has been removed, and any pages using the parameter will be tagged with the above category.