Difference between revisions of "Template:Infobox Villager"

From Nookipedia, the Animal Crossing wiki
(Japanese name box will now only appear when name is specified)
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"
 
{| id="Infobox-villager" style="padding: 2px; background: #B3dae7; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}} border: 3px solid #61939b; width: 25%; float:right"
 
|-
 
|-
! colspan="2" align="center" | <big><big>{{{name|{{PAGENAME}}}}}</big></big> {{#if:{{{appearances|}}}| [[Category:Pages with an outdated infobox villager template]]}}
+
! colspan="2" align="center" | <big><big>{{{name|{{PAGENAME}}}}}</big></big> {{#if:{{{appearances|}}}| [[Category:Pages with an outdated infobox villager template]]}} {{#if:{{{debut|}}}| [[Category:Pages with an outdated infobox villager template]]}}
 
{{#if:{{{japanese|}}}|{{!}}-
 
{{#if:{{{japanese|}}}|{{!}}-
 
{{!}} style="background-color: #fff; text-align:center; {{roundy|5px}}; padding:5px 0 5px 0;" colspan="3" {{!}} '''{{{japanese|}}}'''|}}
 
{{!}} style="background-color: #fff; text-align:center; {{roundy|5px}}; padding:5px 0 5px 0;" colspan="3" {{!}} '''{{{japanese|}}}'''|}}
Line 43: Line 43:
 
{{!}} id="Infobox-villager-song" colspan="2" style="background:#fff; border: 1px solid #fff;" {{!}} {{{song|}}}}}
 
{{!}} id="Infobox-villager-song" colspan="2" style="background:#fff; border: 1px solid #fff;" {{!}} {{{song|}}}}}
 
|-
 
|-
{{#if:{{{debut|}}}|
+
! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0;" {{!}} Main Appearances
! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0;" {{!}} Debut
+
{{!}} 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; {{!}} {{{debut|}}}}}
+
{{#incat:Animal Forest characters|{{Infobox Villager Appearance|game={{DnM|shortest}}|appears=yes}}|{{Infobox Villager Appearance|game={{DnM|shortest}}|appears=no}}}}
 +
{{#incat:Animal Forest + characters|{{Infobox Villager Appearance|game={{DnM+|shortest}}|appears=yes}}|{{Infobox Villager Appearance|game={{DnM+|shortest}}|appears=no}}}}
 +
{{#incat:Animal Crossing characters|{{Infobox Villager Appearance|game={{PG|shortest}}|appears=yes}}|{{Infobox Villager Appearance|game={{PG|shortest}}|appears=no}}}}
 +
{{#incat:Animal Forest e+ characters|{{Infobox Villager Appearance|game={{DnMe+|shortest}}|appears=yes}}|{{Infobox Villager Appearance|game={{DnMe+|shortest}}|appears=no}}}}
 +
{{#incat:Animal Crossing: Wild World characters|{{Infobox Villager Appearance|game={{WW|shortest}}|appears=yes}}|{{Infobox Villager Appearance|game={{WW|shortest}}|appears=no}}}}
 +
{{#incat:Animal Crossing: City Folk characters|{{Infobox Villager Appearance|game={{CF|shortest}}|appears=yes}}|{{Infobox Villager Appearance|game={{CF|shortest}}|appears=no}}}}
 +
{{#incat:Animal Crossing: New Leaf characters|{{Infobox Villager Appearance|game={{NL|shortest}}|appears=yes}}|{{Infobox Villager Appearance|game={{NL|shortest}}|appears=no}}}}
 
|-
 
|-
{{#if:{{{latest|}}}|
+
! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0;" {{!}} Other Appearances
{{!-}}
+
{{!}} id="Infobox-villager-debut" colspan="2" style="background:#fff; border: 1px solid #fff; {{!}}
! style="background: #8cbcd1; {{roundybl|10px}}; text-align:right; vertical-align:top; line-height:15px; padding:3px 3px 3px 0;" {{!}} Latest<br>appearance
+
{{#incat:Animal Crossing: Happy Home Designer characters|{{Infobox Villager Appearance|game={{HHD|shortest}}|appears=yes}}|{{Infobox Villager Appearance|game={{HHD|shortest}}|appears=no}}}}
{{!}} id= "Infobox-villager-latest" colspan="2" style="background:#fff; border: 1px solid #fff; {{!}} {{{latest|}}}}}
+
{{#incat:Animal Crossing: amiibo Festival characters|{{Infobox Villager Appearance|game={{AMF|short}}|appears=yes}}|{{Infobox Villager Appearance|game={{AMF|short}}|appears=no}}}}
 +
{{#incat:Animal Crossing: The Movie characters|{{Infobox Villager Appearance|game={{AM|shortest}}|appears=yes}}|{{Infobox Villager Appearance|game={{AM|shortest}}|appears=no}}}}
 +
{{#incat:Animal Crossing: Pocket Camp characters|{{Infobox Villager Appearance|game={{PC|shortest}}|appears=yes}}|{{Infobox Villager Appearance|game={{PC|shortest}}|appears=no}}}}
 
|-
 
|-
 
{{#if:{{{favorite|}}}|
 
{{#if:{{{favorite|}}}|
Line 79: Line 87:
 
|umbrella=  
 
|umbrella=  
 
|song=  
 
|song=  
|debut=
 
|latest=
 
 
|favorite=  
 
|favorite=  
 
|allergic=  
 
|allergic=  
Line 108: Line 114:
 
*'''favorite:''' If the villager is an islander, the favorite fruit. Remove this field for non-islanders.
 
*'''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.
 
*'''allergic:''' If the villager is an islander, the fruit the villager is allergic to. Remove this field for non-islanders.
*'''debut:''' Describes the first time the villager appears in any {{PG|nolink}} media.
 
*'''latest:''' Describes the most recent appearance of the villager in {{PG|nolink}} media.<br><br>
 
 
*'''skill:''' ('''depreciated''' - do not use) The villager's skill.
 
*'''skill:''' ('''depreciated''' - do not use) The villager's skill.
 
*'''goal:''' ('''depreciated''' - do not use) The villager's goal for the future.
 
*'''goal:''' ('''depreciated''' - do not use) The villager's goal for the future.
Line 115: Line 119:
 
*'''appearances:''' ('''replaced''' - do not use) The games in the main series the villager has appeared in.
 
*'''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, {{SD|short|nolink}}, {{HHD|short|nolink}}, etc.
 
*'''other:''' ('''replaced''' - do not use) Other media the villager has appeared in, such as the film, {{SD|short|nolink}}, {{HHD|short|nolink}}, etc.
 +
*'''debut:''' ('''replaced''' - do not use) Describes the first time the villager appears in any {{PG|nolink}} media.
 +
*'''latest:''' ('''replaced''' - do not use) Describes the most recent appearance of the villager in {{PG|nolink}} media.
  
 
== Notes ==
 
== 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 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 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.
 
[[Category:Infobox templates]]
 
[[Category:Infobox templates]]
 
</noinclude>
 
</noinclude>

Revision as of 11:42, August 29, 2018

Infobox Villager
Nia.png
Species Personality Gender
Unknown Unknown Unknown
Main Appearances

Template:Infobox Villager Appearance Template:Infobox Villager Appearance Template:Infobox Villager Appearance Template:Infobox Villager Appearance Template:Infobox Villager Appearance Template:Infobox Villager Appearance Template:Infobox Villager Appearance

Other Appearances

Template:Infobox Villager Appearance Template:Infobox Villager Appearance Template:Infobox Villager Appearance Template:Infobox Villager Appearance

This is an infobox for villagers.

Usage

{{Infobox Villager
|name= 
|japanese= 
|image= 
|imagesize= 
|quote= 
|gender= 
|personality= 
|species= 
|birthday= 
|sign= 
|phrase= 
|clothes=
|umbrella= 
|song= 
|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.
  • 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.
  • 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: (replaced - do not use) Describes the first time the villager appears in any Animal Crossing media.
  • latest: (replaced - do not use) Describes the most recent appearance of the villager in Animal Crossing media.

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.