Difference between revisions of "Template:Infobox Villager"
From Nookipedia, the Animal Crossing wiki
(Adding API hooks) |
|||
Line 56: | Line 56: | ||
! style="background: #fff; text-align:right; padding:0 3px 0 0;" {{!}} [[File:Smallxmark.png]] | ! style="background: #fff; text-align:right; padding:0 3px 0 0;" {{!}} [[File:Smallxmark.png]] | ||
{{!}} style="background-color:#ffeded; border: 1px solid #ff5555; {{roundybr|10px}}" width="25px" {{!}} [[File:WW{{{allergic}}}Icon.png|center|{{{allergic}}}]]}} | {{!}} style="background-color:#ffeded; border: 1px solid #ff5555; {{roundybr|10px}}" width="25px" {{!}} [[File:WW{{{allergic}}}Icon.png|center|{{{allergic}}}]]}} | ||
− | |} | + | |}<includeonly><span id="api-villager_name" style="display:none;">{{{name}}}</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}}}</span><span id="api-villager_gender" style="display:none;">{{{gender}}}</span><span id="api-villager_personality" style="display:none;">{{{personality}}}</span><span id="api-villager_species" style="display:none;">{{{species}}}</span><span id="api-villager_birthday" style="display:none;">{{{birthday}}}</span><span id="api-villager_sign" style="display:none;">{{{sign}}}</span><span id="api-villager_phrase" style="display:none;">{{{phrase}}}</span><span id="api-villager_clothes" style="display:none;">{{{clothes}}}</span><span id="api-villager_umbrella" style="display:none;">{{{umbrella}}}</span><span id="api-villager_song" style="display:none;">{{{song}}}</span><span id="api-villager_appearances" style="display:none;">{{{appearances}}}</span><span id="api-villager_other" style="display:none;">{{{other}}}</span><span id="api-villager_islander-favorite" style="display:none;">{{{favorite}}}</span><span id="api-villager_islander-allergic" style="display:none;">{{{allergic}}}</span><span id="api-villager_link" style="display:none;">{{localurl:{{FULLPAGENAME}}}}</span><span id="api-villager_updated" style="display:none;">{{REVISIONMONTH1}}/{{REVISIONDAY}}/{{REVISIONYEAR}}</span></includeonly> |
<noinclude>This is an infobox for [[villager]]s. | <noinclude>This is an infobox for [[villager]]s. | ||
Revision as of 21:26, March 6, 2018
Infobox Villager | ||||||||
---|---|---|---|---|---|---|---|---|
|
This is an infobox for villagers.
Usage
{{Infobox Villager |name= |image= |imagesize= |quote= |gender= |personality= |species= |birthday= |sign= |phrase= |clothes= |umbrella= |song= |appearances= |other= |favorite= |allergic= }}
Syntax Guide
This is just a quick reference on how to use each field.
- name: The name of the villager will go here.
- 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.
- umbrella: The default umbrella used by the villager.
- song: The villager's favorite song (plays in their house by default).
- quote: The villager's favorite saying, which appears on their picture.
- appearances: The games in the main series the villager has appeared in.
- other: Other media the villager has appeared in, such as the film, Sweet Day, Happy Home Designer, etc.
- 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.
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.