Difference between revisions of "Template:HHPVillagerInfo"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) m |
HylianAngel (talk | contribs) (Title case and sentence case for items.) |
||
(One intermediate revision by one other user not shown) | |||
Line 31: | Line 31: | ||
|item3 = {{{item3|}}} | |item3 = {{{item3|}}} | ||
|song = {{{song|}}} | |song = {{{song|}}} | ||
− | |unlocked_items = [ {{#forargs: furn | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} {"name": "{{{furn{{#var: key}}|}}}", "img": "{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}}{{#if:{{{f{{#var: key }}-var|}}}|_({{{f{{#var: key }}-var|}}})}}_NH_Icon.png}}}", "link": "{{{f{{#var: key }}|{{I|{{{furn{{#var: key }}|}}}| | + | |unlocked_items = [ {{#forargs: furn | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} {"name": "{{{furn{{#var: key}}|}}}", "img": "{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}}{{#if:{{{f{{#var: key }}-var|}}}|_({{{f{{#var: key }}-var|}}})}}_NH_Icon.png}}}", "link": "{{{f{{#var: key }}|{{I|{{{furn{{#var: key }}|}}}|NH}}}}}", "type": "furniture" } }}{{#if:{{{inter1|}}}|, {{#forargs: inter | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} {"name": "{{{inter{{#var: key}}|}}}", "img": "{{{in{{#var: key }}-img|{{{inter{{#var: key }}|}}}_NH_Icon.png}}}", "link": "{{{in{{#var: key }}|{{I|{{{inter{{#var: key }}|}}}|NH}}}}}", "type": "interior" } }}}}{{#if:{{{cloth1|}}}|, {{#forargs: cloth | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} {"name": "{{{cloth{{#var: key}}|}}}", "img": "{{{c{{#var: key }}-img|{{{cloth{{#var: key }}|}}}{{#if:{{{c{{#var: key }}-var|}}}|_({{{c{{#var: key }}-var|}}})}}_NH_Icon.png}}}", "link": "{{{c{{#var: key }}|{{I|{{{cloth{{#var: key }}|}}}|NH}}}}}", "type": "clothing" } }}}}{{#if:{{{otheritems1|}}}|, {{#forargs: otheritems | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} {"name": "{{{otheritems{{#var: key}}|}}}", "img": "{{{oi{{#var: key }}-img|{{{otheritems{{#var: key }}|}}}{{#if:{{{oi{{#var: key }}-var|}}}|_({{{oi{{#var: key }}-var|}}})}}_NH_Icon.png}}}", "link": "{{{oi{{#var: key }}|{{I|{{{otheritems{{#var: key }}|}}}|NH}}}}}", "type": "item" } }}}}{{#if:{{{plant1|}}}|, {{#forargs: plant | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} {"name": "{{{plant{{#var: key}}|}}}", "img": "{{{p{{#var: key }}-img|{{{plant{{#var: key }}|}}}_NH_Icon.png}}}", "link": "{{{p{{#var: key }}|{{I|{{{plant{{#var: key }}|}}}|NH}}}}}", "type": "plant" } }}}}{{#if:{{{house1|}}}|, {{#forargs: house | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} {"house-name": "{{{house{{#var: key}}|}}}"} }}}} ] |
|housemates = {{{housemates|}}} | |housemates = {{{housemates|}}} | ||
}}}}</includeonly> | }}}}</includeonly> | ||
Line 48: | Line 48: | ||
|- {{#if:{{{request|}}}| | |- {{#if:{{{request|}}}| | ||
{{!-}} | {{!-}} | ||
− | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; {{#if:{{{housemates|}}}||{{roundybl|9px}}}}" {{!}} '''Client's vision''' | + | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; {{#if:{{{housemates|}}}{{{item1|}}}||{{roundybl|9px}}}}" {{!}} '''Client's vision''' |
− | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px; {{#if:{{{housemates|}}}||{{roundybr|9px}}}}" {{!}} {{{request|}}}}} | + | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px; {{#if:{{{housemates|}}}{{{item1|}}}||{{roundybr|9px}}}}" {{!}} {{{request|}}}}} |
|- {{#if:{{{housemates|}}}| | |- {{#if:{{{housemates|}}}| | ||
{{!-}} | {{!-}} | ||
Line 60: | Line 60: | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /> [[File:{{{img{{#var: key }}|{{{item{{#var: key }}|}}}}}}_NH_Icon.png|27px|alt=|link=]]{{{i{{#var: key }}|{{I|{{{item{{#var: key }}|}}}| | + | | <nowiki /> [[File:{{{img{{#var: key }}|{{{item{{#var: key }}|}}}}}}_NH_Icon.png|27px|alt=|link=]]{{{i{{#var: key }}|{{I|{{#invoke:SentenceCase|main|{{{item{{#var: key }}|}}}}}|NH}}}}}<br>}}}}}} |
|- {{#if:{{{song|}}}| | |- {{#if:{{{song|}}}| | ||
{{!-}} | {{!-}} | ||
Line 79: | Line 79: | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /><li style="list-style: none;">[[File:{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}}{{#if:{{{f{{#var: key }}-var|}}}|_({{{f{{#var: key }}-var|}}})}}}}}_NH_Icon.png|27px|alt=|link=]] <span style="font-size:0.8em;>{{{f{{#var: key }}|{{I|{{{furn{{#var: key }}|}}}| | + | | <nowiki /><li style="list-style: none;">[[File:{{{f{{#var: key }}-img|{{#invoke:TitleCase|main|{{{furn{{#var: key }}|}}}}}{{#if:{{{f{{#var: key }}-var|}}}|_({{#invoke:TitleCase|main|{{{f{{#var: key }}-var|}}}}})}}}}}_NH_Icon.png|27px|alt=|link=]] <span style="font-size:0.8em;>{{{f{{#var: key }}|{{I|{{#invoke:SentenceCase|main|{{{furn{{#var: key }}|}}}}}|NH}}}}}</span></li> |
}} | }} | ||
}} | }} | ||
Line 89: | Line 89: | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /><li style="list-style: none;">[[File:{{{in{{#var: key }}-img|{{{inter{{#var: key }}|}}}}}}_NH_Icon.png|27px|alt=|link=]] <span style="font-size:0.8em;>{{{in{{#var: key }}|{{I|{{{inter{{#var: key }}|}}}| | + | | <nowiki /><li style="list-style: none;">[[File:{{{in{{#var: key }}-img|{{#invoke:TitleCase|main|{{{inter{{#var: key }}|}}}}}}}}_NH_Icon.png|27px|alt=|link=]] <span style="font-size:0.8em;>{{{in{{#var: key }}|{{I|{{#invoke:SentenceCase|main|{{{inter{{#var: key }}|}}}}}|NH}}}}}</span></li> |
}} | }} | ||
}} | }} | ||
Line 99: | Line 99: | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /><li style="list-style: none;">[[File:{{{c{{#var: key }}-img|{{{cloth{{#var: key }}|}}}{{#if:{{{c{{#var: key }}-var|}}}|_({{{c{{#var: key }}-var|}}})}}}}}_NH_Icon.png|27px|alt=|link=]] <span style="font-size:0.8em;>{{{c{{#var: key }}|{{I|{{{cloth{{#var: key }}|}}}| | + | | <nowiki /><li style="list-style: none;">[[File:{{{c{{#var: key }}-img|{{#invoke:TitleCase|main|{{{cloth{{#var: key }}|}}}}}{{#if:{{{c{{#var: key }}-var|}}}|_({{#invoke:TitleCase|main|{{{c{{#var: key }}-var|}}}}})}}}}}_NH_Icon.png|27px|alt=|link=]] <span style="font-size:0.8em;>{{{c{{#var: key }}|{{I|{{#invoke:SentenceCase|main|{{{cloth{{#var: key }}|}}}}}|NH}}}}}</span></li> |
}} | }} | ||
}} | }} | ||
Line 109: | Line 109: | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /><li style="list-style: none;">[[File:{{{oi{{#var: key }}-img|{{{otheritems{{#var: key }}|}}}{{#if:{{{oi{{#var: key }}-var|}}}|_({{{oi{{#var: key }}-var|}}})}}}}}_NH_Icon.png|27px|alt=|link=]] <span style="font-size:0.8em;>{{{oi{{#var: key }}|{{I|{{{otheritems{{#var: key }}|}}}| | + | | <nowiki /><li style="list-style: none;">[[File:{{{oi{{#var: key }}-img|{{#invoke:TitleCase|main|{{{otheritems{{#var: key }}|}}}}}{{#if:{{{oi{{#var: key }}-var|}}}|_({{#invoke:TitleCase|main|{{{oi{{#var: key }}-var|}}}}})}}}}}_NH_Icon.png|27px|alt=|link=]] <span style="font-size:0.8em;>{{{oi{{#var: key }}|{{I|{{#invoke:SentenceCase|main|{{{otheritems{{#var: key }}|}}}}}|NH}}}}}</span></li> |
}} | }} | ||
}} | }} | ||
Line 119: | Line 119: | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /><li style="list-style: none;">[[File:{{{p{{#var: key }}-img|{{{plant{{#var: key }}|}}}}}}_NH_Icon.png|27px|alt=|link=]] <span style="font-size:0.8em;>{{{p{{#var: key }}|{{I|{{{plant{{#var: key }}|}}}| | + | | <nowiki /><li style="list-style: none;">[[File:{{{p{{#var: key }}-img|{{#invoke:TitleCase|main|{{{plant{{#var: key }}|}}}}}}}}_NH_Icon.png|27px|alt=|link=]] <span style="font-size:0.8em;>{{{p{{#var: key }}|{{I|{{#invoke:SentenceCase|main|{{{plant{{#var: key }}|}}}}}|NH}}}}}</span></li> |
}} | }} | ||
}} | }} | ||
Line 129: | Line 129: | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /><li style="list-style: none;">[[File:{{{h{{#var: key }}-img|{{{house{{#var: key }}|}}}}}}_NH_Icon.png|27px|alt=|link=]] <span style="font-size:0.8em;>{{{h{{#var: key }}|{{I|{{{house{{#var: key }}|}}}| | + | | <nowiki /><li style="list-style: none;">[[File:{{{h{{#var: key }}-img|{{#invoke:TitleCase|main|{{{house{{#var: key }}|}}}}}}}}_NH_Icon.png|27px|alt=|link=]] <span style="font-size:0.8em;>{{{h{{#var: key }}|{{I|{{#invoke:SentenceCase|main|{{{house{{#var: key }}|}}}}}|NH}}}}}</span></li> |
}} | }} | ||
}} | }} |
Latest revision as of 21:27, January 1, 2023
This template defines the table "hhp_villager". View table.
HHPVillagerInfo |
---|
Unlocked items |
---|
Template documentation (view)
Usage
General Example
Unlocked items |
---|
{{HHPVillagerInfo |name = |thought = |request = |item1 = |img1 = |item2 = |img2 = |item3 = |img3 = |song = }}
Maple Example
Maple | ||
---|---|---|
Thought bubble | I think a home with lots of plush bears would be so fun. | |
Client's vision | A Bountiful Bear Bungalow | |
Required items | Papa bear Mama bear Ranch wardrobe | |
Favorite song | Neapolitan |
{{HHPVillagerInfo |thought = I think a home with lots of <span style="color:dodgerblue">plush bears</span> would be so fun. |request = A Bountiful Bear Bungalow |item1 = Papa bear |img1 = Papa Bear (Cream - None) |item2 = Mama bear |img2 = Mama Bear (Cream - None) |item3 = ranch wardrobe |img3 = Ranch Wardrobe (Natural) |song = Neapolitan |furn1 = garden chair |f1-var = White |furn2 = ranch chair |f2-var = Natural |furn3 = log stool |f3-var = Dark wood |furn4 = double sofa |f4-var = Red |furn5 = log bench |f5-var = Dark wood |furn6 = wild log bench |f6-var = Dark wood |furn7 = garden table |f7-var = White |furn8 = ranch tea table |f8-var = Natural - None |furn9 = ranch lowboard |f9-var = Natural - None |furn10 = log dining table |f10-var = Dark wood - None |furn11 = log round table |f11-var = Dark wood - none |furn12 = camping cot |f12-var = Green |furn13 = hammock |f13-var = Brown - Colorful |furn14 = sleeping bag |f14-var = Green |furn15 = ranch wardrobe |f15-var = Natural |furn16 = clothes closet |f16-var = White |furn17 = log decorative shelves |f17-var = Dark wood - None |furn18 = ranch cupboard |f18-var = Natural |furn19 = ranch kitchen |f19-var = Natural |furn20 = Mama bear |f20-var = Cream - None |furn21 = Papa bear |f21-var = Cream - None |furn22 = giant teddy bear |f22-var = Cream - None |furn23 = Mama panda |furn24 = Papa panda |furn25 = kids' tent |f25-var = White |furn26 = campfire cookware |furn27 = picnic basket |f27-var = Red |furn28 = portable radio |f28-var = White |furn29 = camp stove |f29-var = Yellow |furn30 = Baby bear |f30-var = Cream - None |furn31 = Baby panda |furn32 = Maple's photo |f32-var = Natural wood |furn33 = Maple's poster |inter1 = cabin wall |inter2 = tent wall |inter3 = paw-print wall |inter4 = glowing-moss forest wall |inter5 = light herringbone flooring |inter6 = natural-block flooring |inter7 = tent flooring |inter8 = glowing-moss flooring |inter9 = simple medium avocado mat |inter10 = red vinyl sheet |inter11 = yellow vinyl sheet |inter12 = glowing-moss rug |inter13 = round glowing-moss rug |cloth1 = bear tee |cloth2 = bear costume |c2-var = Brown |cloth3 = bear costume |c3-var = Black |cloth4 = bear costume |c4-var = Pink |cloth5 = bear costume |c5-var = Blue |cloth6 = bear cap |c6-var = Brown |cloth7 = bear cap |c7-var = Black |cloth8 = bear cap |c8-var = Pink |cloth9 = bear cap |c9-var = Blue |cloth10 = bear umbrella |cloth11 = panda umbrella |otheritems1 = Neapolitan |oi1 = [[Neapolitan]] |otheritems2 = wasp nest }}