Difference between revisions of "Template:HHDVillagerInfo"
From Nookipedia, the Animal Crossing wiki
AlexBot2004 (talk | contribs) m (Displaying picture texture at full resolution) |
HylianAngel (talk | contribs) (If it's Tom Nook, the bottom is rounded early.) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 52: | Line 52: | ||
! colspan="3" style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; {{roundytl|9px}}; {{roundytr|10px}}; text-align:center; | {{{name|{{PAGENAME}}}}} {{#if:{{{name-note|}}}|({{{name-note|}}})}} | ! colspan="3" style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; {{roundytl|9px}}; {{roundytr|10px}}; text-align:center; | {{{name|{{PAGENAME}}}}} {{#if:{{{name-note|}}}|({{{name-note|}}})}} | ||
|- | |- | ||
− | |- {{#if:{{{special-character|}}}|| | + | |- {{#if:{{{special-character|}}}| |
+ | {{!-}} | ||
+ | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} Birthday | ||
+ | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center;" {{!}} Gender | ||
+ | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center;" {{!}} Species | ||
+ | {{!-}} | ||
+ | {{!}} 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;" {{!}} {{#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;" {{!}} {{#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}}}}}]]}} | ||
+ | | | ||
{{!-}} | {{!-}} | ||
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} Birthday | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} Birthday | ||
Line 65: | Line 74: | ||
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:{{#invoke:TitleCase|main|{{{top|{{#cargo_query:table=nl_villager|fields=clothing|where=_pageTitle="{{PAGENAME}}"|no html}}}}}}} HHD Icon.png|30px|link=]] {{#invoke:SentenceCase|main|{{{top|{{#cargo_query:table=nl_villager|fields=clothing|where=_pageTitle="{{PAGENAME}}"|no html}}}}}}} | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:{{#invoke:TitleCase|main|{{{top|{{#cargo_query:table=nl_villager|fields=clothing|where=_pageTitle="{{PAGENAME}}"|no html}}}}}}} HHD Icon.png|30px|link=]] {{#invoke:SentenceCase|main|{{{top|{{#cargo_query:table=nl_villager|fields=clothing|where=_pageTitle="{{PAGENAME}}"|no html}}}}}}} | ||
{{!-}} | {{!-}} | ||
− | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} ''' | + | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} '''Umbrella''' |
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:{{#invoke:TitleCase|main|{{{umbrella|{{#cargo_query:table=nl_villager|fields=umbrella|where=_pageTitle="{{PAGENAME}}"|no html}}}}}}} HHD Icon.png|30px|link=]] {{#invoke:SentenceCase|main|{{{umbrella|{{#cargo_query:table=nl_villager|fields=umbrella|where=_pageTitle="{{PAGENAME}}"|no html}}}}}}}}} {{#ifeq:{{#cargo_query:table=nl_villager|fields=species|where=_pageTitle="{{PAGENAME}}"|no html}}|Frog|{{Note|name=frogbrella|Frogs own umbrellas even though they do not use them}}}} | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:{{#invoke:TitleCase|main|{{{umbrella|{{#cargo_query:table=nl_villager|fields=umbrella|where=_pageTitle="{{PAGENAME}}"|no html}}}}}}} HHD Icon.png|30px|link=]] {{#invoke:SentenceCase|main|{{{umbrella|{{#cargo_query:table=nl_villager|fields=umbrella|where=_pageTitle="{{PAGENAME}}"|no html}}}}}}}}} {{#ifeq:{{#cargo_query:table=nl_villager|fields=species|where=_pageTitle="{{PAGENAME}}"|no html}}|Frog|{{Note|name=frogbrella|Frogs own umbrellas even though they do not use them}}}} | ||
|- {{#if:{{{special-character|}}}| | |- {{#if:{{{special-character|}}}| | ||
− | |||
− | |||
− | |||
{{!-}} {{#if:{{{umbrella|}}}| | {{!-}} {{#if:{{{umbrella|}}}| | ||
{{!-}} | {{!-}} | ||
− | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} ''' | + | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} '''Umbrella''' |
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:{{#invoke:TitleCase|main|{{{umbrella|}}}}} HHD Icon.png|30px|link=]] {{#invoke:SentenceCase|main|{{{umbrella|}}}}}}} | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:{{#invoke:TitleCase|main|{{{umbrella|}}}}} HHD Icon.png|30px|link=]] {{#invoke:SentenceCase|main|{{{umbrella|}}}}}}} | ||
{{!-}} {{#if:{{{housemates|}}}| | {{!-}} {{#if:{{{housemates|}}}| | ||
Line 87: | 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 95: | 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 113: | 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=]] <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=]] <span style="font-size:0.9em;>{{{f{{#var: key }}|{{#invoke:SentenceCase|main|{{{furn{{#var: key }}|}}}}}}}}</span></li> |
}} | }} | ||
}} | }} | ||
Line 123: | Line 129: | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /><li style="list-style: none;">[[File:{{{fn{{#var: key }}-img|{{{fnNLWa{{#var: key }}|}}}}}} | + | | <nowiki /><li style="list-style: none;">[[File:{{{fn{{#var: key }}-img|{{#invoke:TitleCase|main|{{{fnNLWa{{#var: key }}|}}}}}}}}_NL_Model.png|x29px|alt=|link=]] <span style="font-size:0.9em;>{{{fn{{#var: key }}|{{#invoke:SentenceCase|main|{{{fnNLWa{{#var: key }}|}}}}}}}}</span></li> |
}} | }} | ||
}} | }} | ||
Line 133: | 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=]] <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=]] <span style="font-size:0.9em;>{{{i{{#var: key }}|{{#invoke:SentenceCase|main|{{{inter{{#var: key }}|}}}}}}}}</span></li> |
}} | }} | ||
}} | }} | ||
Line 143: | 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=]] <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=]] <span style="font-size:0.9em;>{{{c{{#var: key }}|{{#invoke:SentenceCase|main|{{{cloth{{#var: key }}|}}}}}}}}</span></li> |
}} | }} | ||
}} | }} | ||
Line 153: | 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=]] <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=]] <span style="font-size:0.9em;>{{{p{{#var: key }}|{{#invoke:SentenceCase|main|{{{plant{{#var: key }}|}}}}}}}}</span></li> |
}} | }} | ||
}} | }} | ||
Line 163: | 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=]] <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=]] <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 |
---|
- For query instructions see our Cargo documentation.
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 | ||
---|---|---|
Birthday | Personality | Catchphrase |
June 15 | Normal | honey |
Default clothing | Dapper tee | |
Umbrella | 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 |
{{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 }}