Difference between revisions of "Template:Infobox villager/doc"
Margotbean (talk | contribs) |
Margotbean (talk | contribs) |
||
Line 39: | Line 39: | ||
{{Clear}} | {{Clear}} | ||
− | |||
<pre> | <pre> | ||
{{Infobox villager | {{Infobox villager |
Revision as of 20:12, 11 October 2022
Description
This is the template for villager infoboxes. It includes pictures, details about relationships and favorite gifts.
Use
Place at the top of the villager page, it will automatically align right. Do not use this on your user page. It is reserved for villager pages.
Place family and friends members inside the NPC template to match their picture. Place favorite gifts inside the name template, it will automatically attach a picture (with the same name) and link if there's an article available.
Most fields will not appear unless they have a value. Friends and family are specified in the data file Content\Data\NPCDispositions.xnb. Friends and family should generally be limited to those who might give a dialog about the villager's gift tastes.
Syntax
{{Infobox villager |name = Villager Name |portrait = file-name.png |birthday = Season Day |location = Pelican Town |address = create link with building name |family = {{NPC|Pierre|Father}}{{NPC|Caroline|Mother}} <- use npc template, then name, then relationship |marriage = yes or no <- yes if single, or able to be married |clinic = Season Day of visit to Harvey's Clinic |favorites = list best gifts here }}
Examples
{{Infobox villager |name = Abigail }}
Abigail | |
Information | |
Marriage | No |
{{Infobox villager |name = Abigail |portrait = Abigail.png |birthday = {{Season|Fall}} 13 |location = Pelican Town |address = [[Pierre's General Store]] |family = {{NPC|Pierre|Father}}{{NPC|Caroline|Mother}} |marriage = Yes |clinic = {{Season|Spring}} 4 |favorites = {{name|Pumpkin}} }}
Abigail | |
Information
| |
Birthday | Fall 13 |
Lives In | Pelican Town |
Address | Pierre's General Store |
Family | Pierre (Father) Caroline (Mother) |
Marriage | Yes |
Clinic Visit | Spring 4 |
Loved Gifts | Pumpkin |