Difference between revisions of "Template:HHDVillagerInfo"

From Nookipedia, the Animal Crossing wiki
m (Default umbrella -> umbrella, you can't change their umbrella in HHD.)
(If it's Tom Nook, the bottom is rounded early.)
 
(5 intermediate revisions by 2 users not shown)
Line 59: Line 59:
 
{{!-}}
 
{{!-}}
 
{{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} {{{birthday-month|{{#cargo_query:table=special_character|fields=birthday|where=_pageTitle="{{PAGENAME}}"|no html}}}}} {{{birthday|}}} [[File:Starsign {{{sign|{{#cargo_query:table=special_character|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}} NH Icon.png|32px|{{{sign|{{#cargo_query:table=special_character|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}}|link={{{sign|{{#cargo_query:table=special_character|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]]
 
{{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} {{{birthday-month|{{#cargo_query:table=special_character|fields=birthday|where=_pageTitle="{{PAGENAME}}"|no html}}}}} {{{birthday|}}} [[File:Starsign {{{sign|{{#cargo_query:table=special_character|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}} NH Icon.png|32px|{{{sign|{{#cargo_query:table=special_character|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}}|link={{{sign|{{#cargo_query:table=special_character|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]]
{{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} [[File:{{{gender|{{#cargo_query:table=special_character|fields=gender|where=_pageTitle="{{PAGENAME}}"|no html}}}}} symbol.png|18px|link=|alt=]] {{{gender|{{#cargo_query:table=special_character|fields=gender|where=_pageTitle="{{PAGENAME}}"|no html}}}}}
+
{{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} {{#if:{{{gender-jp|{{#cargo_query:table=special_character|fields=gender_japan|where=_pageTitle="{{PAGENAME}}"|no html}}}}}|[[File:{{{gender-jp|{{#cargo_query:table=special_character|fields=gender_japan|where=_pageTitle="{{PAGENAME}}"|no html}}}}} symbol.png|18px|link=|alt=]] {{{gender-jp|{{#cargo_query:table=special_character|fields=gender_japan|where=_pageTitle="{{PAGENAME}}"|no html}}}}}{{Note|Japan and Korea}}<br>}}[[File:{{{gender|{{#cargo_query:table=special_character|fields=gender|where=_pageTitle="{{PAGENAME}}"|no html}}}}} symbol.png|18px|link=|alt=]] {{{gender|{{#cargo_query:table=special_character|fields=gender|where=_pageTitle="{{PAGENAME}}"|no html}}}}}{{#if:{{{gender-jp|{{#cargo_query:table=special_character|fields=gender_japan|where=_pageTitle="{{PAGENAME}}"|no html}}}}}|{{Note|International}}}}
{{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} [[{{{species|{{#cargo_query:table=special_character|fields=species|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]]
+
{{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} {{#ifeq:{{{species|{{#cargo_query:table=special_character|fields=species|where=_pageTitle="{{PAGENAME}}"|no html}}}}}|Unknown|Unknown|[[{{{species|{{#cargo_query:table=special_character|fields=species|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]]}}
 
|
 
|
 
{{!-}}
 
{{!-}}
Line 93: Line 93:
 
|- {{#if:{{{request|}}}|
 
|- {{#if:{{{request|}}}|
 
{{!-}}
 
{{!-}}
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center;" {{!}} '''Client's vision'''
+
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; {{#ifeq:{{{name|}}}|King Nook|{{roundybl|9px}}|}}" {{!}} '''Client's vision'''
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{request|}}}}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px; {{#ifeq:{{{name|}}}|King Nook|{{roundybr|9px}}|}}" {{!}} {{{request|}}}}}
 
|- {{#if:{{{item1|}}}|
 
|- {{#if:{{{item1|}}}|
 
{{!-}}
 
{{!-}}
Line 101: Line 101:
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki /> [[File:{{{img{{#var: key }}|{{#invoke:TitleCase|main|{{{item{{#var: key }}|}}}}}}}}_HHD_Icon.png|30px|alt=|link=]]{{#invoke:SentenceCase|main|{{{item{{#var: key }}|}}}}}<br>}}}}}}
+
  | <nowiki /> [[File:{{{img{{#var: key }}|{{#invoke:TitleCase|main|{{{item{{#var: key }}|}}}}}}}}_HHD_Icon.png|30px|alt=|link=]]{{#invoke:SentenceCase|main|{{{item{{#var: key }}|}}}}} {{#if: {{{note{{#var: key }}|}}} | {{Note|name=outside|This furniture is initially placed outside by default}} }}<br>}}}}}}
 
|- {{#if:{{{song|}}}|
 
|- {{#if:{{{song|}}}|
 
{{!-}}
 
{{!-}}
Line 119: Line 119:
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki /><li style="list-style: none;">[[File:{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}}}}}_HHD_Icon.png|x29px|alt=|link=]]&nbsp;<span style="font-size:0.9em;>{{{f{{#var: key }}|{{{furn{{#var: key }}|}}}}}}</span></li>
+
  | <nowiki /><li style="list-style: none;">[[File:{{{f{{#var: key }}-img|{{#invoke:TitleCase|main|{{{furn{{#var: key }}|}}}}}}}}_HHD_Icon.png|x29px|alt=|link=]]&nbsp;<span style="font-size:0.9em;>{{{f{{#var: key }}|{{#invoke:SentenceCase|main|{{{furn{{#var: key }}|}}}}}}}}</span></li>
 
}}
 
}}
 
}}
 
}}
Line 129: Line 129:
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki /><li style="list-style: none;">[[File:{{{fn{{#var: key }}-img|{{{fnNLWa{{#var: key }}|}}}}}}_NLWa_Model.png|x29px|alt=|link=]]&nbsp;<span style="font-size:0.9em;>{{{fn{{#var: key }}|{{{fnNLWa{{#var: key }}|}}}}}}</span></li>
+
  | <nowiki /><li style="list-style: none;">[[File:{{{fn{{#var: key }}-img|{{#invoke:TitleCase|main|{{{fnNLWa{{#var: key }}|}}}}}}}}_NL_Model.png|x29px|alt=|link=]]&nbsp;<span style="font-size:0.9em;>{{{fn{{#var: key }}|{{#invoke:SentenceCase|main|{{{fnNLWa{{#var: key }}|}}}}}}}}</span></li>
 
}}
 
}}
 
}}
 
}}
Line 139: Line 139:
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki /><li style="list-style: none;">[[File:{{{i{{#var: key }}-img|{{{inter{{#var: key }}|}}}}}}_HHD_Icon.png|x29px|alt=|link=]]&nbsp;<span style="font-size:0.9em;>{{{i{{#var: key }}|{{{inter{{#var: key }}|}}}}}}</span></li>
+
  | <nowiki /><li style="list-style: none;">[[File:{{{i{{#var: key }}-img|{{#invoke:TitleCase|main|{{{inter{{#var: key }}|}}}}}}}}_HHD_Icon.png|x29px|alt=|link=]]&nbsp;<span style="font-size:0.9em;>{{{i{{#var: key }}|{{#invoke:SentenceCase|main|{{{inter{{#var: key }}|}}}}}}}}</span></li>
 
}}
 
}}
 
}}
 
}}
Line 149: Line 149:
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki /><li style="list-style: none;">[[File:{{{c{{#var: key }}-img|{{{cloth{{#var: key }}|}}}}}}_HHD_Icon.png|x29px|alt=|link=]]&nbsp;<span style="font-size:0.9em;>{{{c{{#var: key }}|{{{cloth{{#var: key }}|}}}}}}</span></li>
+
  | <nowiki /><li style="list-style: none;">[[File:{{{c{{#var: key }}-img|{{#invoke:TitleCase|main|{{{cloth{{#var: key }}|}}}}}}}}_HHD_Icon.png|x29px|alt=|link=]]&nbsp;<span style="font-size:0.9em;>{{{c{{#var: key }}|{{#invoke:SentenceCase|main|{{{cloth{{#var: key }}|}}}}}}}}</span></li>
 
}}
 
}}
 
}}
 
}}
Line 159: Line 159:
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki /><li style="list-style: none;">[[File:{{{p{{#var: key }}-img|{{{plant{{#var: key }}|}}}}}}_HHD_Icon.png|x29px|alt=|link=]]&nbsp;<span style="font-size:0.9em;>{{{p{{#var: key }}|{{{plant{{#var: key }}|}}}}}}</span></li>
+
  | <nowiki /><li style="list-style: none;">[[File:{{{p{{#var: key }}-img|{{#invoke:TitleCase|main|{{{plant{{#var: key }}|}}}}}}}}_HHD_Icon.png|x29px|alt=|link=]]&nbsp;<span style="font-size:0.9em;>{{{p{{#var: key }}|{{#invoke:SentenceCase|main|{{{plant{{#var: key }}|}}}}}}}}</span></li>
 
}}
 
}}
 
}}
 
}}
Line 169: Line 169:
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki /><li style="list-style: none;">[[File:{{{h{{#var: key }}-img|{{{house{{#var: key }}|}}}}}}_HHD_Icon.png|x29px|alt=|link=]]&nbsp;<span style="font-size:0.9em;>{{{h{{#var: key }}|{{{house{{#var: key }}|}}}}}}</span></li>
+
  | <nowiki /><li style="list-style: none;">[[File:{{{h{{#var: key }}-img|{{#invoke:TitleCase|main|{{{house{{#var: key }}|}}}}}}}}_HHD_Icon.png|x29px|alt=|link=]]&nbsp;<span style="font-size:0.9em;>{{{h{{#var: key }}|{{#invoke:SentenceCase|main|{{{house{{#var: key }}|}}}}}}}}</span></li>
 
}}
 
}}
 
}}
 
}}

Latest revision as of 00:20, April 5, 2023

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

HHDVillagerInfo
Birthday Personality Catchphrase
No results [[File:Starsign No results NH Icon.png|32px|No results|link=No results]] [[No results]] No results
Default clothing [[File:No Results HHD Icon.png|30px|link=]] No results
Umbrella [[File:No Results HHD Icon.png|30px|link=]] No results
House request
Unlocked items

Template documentation (view)


More Cargo templates

Usage

General Example

{{HHDVillagerInfo
|name = 
|image = 
|example = 
|birthday-month = 
|birthday = 
|sign = 
|personality = 
|catchphrase = 
|top = 
|umbrella = 
|thought = 
|request = 
|item1 = 
|item2 = 
|item3 = 
|song = 
|quote = 
|furn1 = 
|furn2 = 
...
|inter1 = 
|inter2 = 
...
|cloth1 = 
|cloth2 = 
...
|plant1= 
|plant2= 
...
|house1 = 
|house2 = 
...
|start-house = 
}}

Maple Example

Maple
Waste not, want not.

Maple's Happy Home Designer icon


Example of Maple's Happy Home Designer house
Official example
Maple
Birthday Personality Catchphrase
June 15 Gemini Normal honey
Default clothing Dapper Tee HHD Icon.png Dapper tee
Umbrella Petal Parasol HHD Icon.png Petal parasol
House request
Thought bubble Wouldn't it be fun to be surrounded by teddy bears?
Client's vision A plush bear den.
Required items Papa bear
Mama bear
Ranch dresser
Favorite song  Neapolitan
Unlocked items
Furniture:
  •  Ranch bed
  •  Ranch table
  •  Ranch chair
  •  Ranch armchair
  •  Ranch couch
  •  Ranch wardrobe
  •  Ranch dresser
  •  Ranch bookcase
  •  Ranch hutch
  •  Pancakes
  •  Baby bear
  •  Mama bear
  •  Papa bear
  •  Wooden bear
  •  Neapolitan
  •  Beehive
  •  Maple's pic
  •  Ranch wall rack
  • Interior:
  •  Ranch rug
  •  Rococo wall
  • Clothing:
  •  Bear costume
  •  Bear-costume pants
  •  Bear cap
  •  Petal parasol
  • Starting house: Default exterior of Maple's house in Animal Crossing: Happy Home Designer
    {{HHDVillagerInfo
    |name = Maple
    |image = Maple HHD Villager Icon.png
    |example = Maple HHD Request.png
    |birthday-month = June
    |birthday = 15
    |sign = Gemini
    |personality = Normal
    |catchphrase = honey
    |top = dapper tee
    |umbrella = petal parasol
    |thought = Wouldn't it be fun to be <span style="color:hotpink">surrounded by teddy bears</span>?
    |request = A plush bear den.
    |item1 = Papa bear
    |item2 = Mama bear
    |item3 = ranch dresser
    |song = Neapolitan
    |quote = Waste not, want not.
    |furn1 = ranch bed
    |furn2 = ranch table
    |furn3 = ranch chair
    |furn4 = ranch armchair
    |furn5 = ranch couch
    |furn6 = ranch wardrobe
    |furn7 = ranch dresser
    |furn8 = ranch bookcase
    |furn9 = ranch hutch
    |furn10 = pancakes
    |furn11 = Baby bear
    |furn12 = Mama bear
    |furn13 = Papa bear
    |furn14 = wooden bear
    |furn15 = Neapolitan
    |furn16 = beehive
    |furn17 = Maple's pic
    |furn18 = ranch wall rack
    |inter1 = ranch rug
    |inter2 = rococo wall
    |cloth1 = bear costume
    |cloth2 = bear-costume pants
    |cloth3 = bear cap
    |cloth4 = petal parasol
    |start-house = Maple
    }}