Difference between revisions of "Template:HHPVillagerInfo"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) (changing list of unlocked items format to become one column on mobile; more columns on a desktop) |
PanchamBro (talk | contribs) m (adjusting size of font and icon and adding some minor fixes.) |
||
Line 49: | Line 49: | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /> [[File:{{{img{{#var: key }}|{{{item{{#var: key }}|}}}}}}_NH_Icon.png| | + | | <nowiki /> [[File:{{{img{{#var: key }}|{{{item{{#var: key }}|}}}}}}_NH_Icon.png|27px|alt=|link=]]{{{i{{#var: key }}|{{I|{{{item{{#var: key }}|}}}|New Horizons}}}}}<br>}}}}}} |
|- {{#if:{{{song|}}}| | |- {{#if:{{{song|}}}| | ||
{{!-}} | {{!-}} | ||
Line 65: | Line 65: | ||
{{#if:{{{furn1|}}}| | {{#if:{{{furn1|}}}| | ||
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Furniture:''' | {{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Furniture:''' | ||
− | {{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}}; width: | + | {{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: furn |
− | |||
− | {{Columns-list|colwidth= | ||
− | {{#forargs: furn | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /> | + | | <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 }}|}}}|New Horizons}}}}}</span></li> |
− | <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| | + | }} |
}} | }} | ||
}} | }} | ||
− | |||
|- | |- | ||
{{#if:{{{inter1|}}}| | {{#if:{{{inter1|}}}| | ||
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Interior:''' | {{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Interior:''' | ||
− | {{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" {{!}} | + | {{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" {{!}} {{Columns-list|colwidth=170px|{{#forargs: inter |
− | |||
− | {{Columns-list|colwidth= | ||
− | {{#forargs: inter | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /> | + | | <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 }}|}}}|New Horizons}}}}}</span></li> |
− | <li style="list-style: none;">[[File:{{{in{{#var: key }}-img|{{{inter{{#var: key }}|}}}}}}_NH_Icon.png| | + | }} |
}} | }} | ||
}} | }} | ||
− | |||
|- | |- | ||
{{#if:{{{cloth1|}}}| | {{#if:{{{cloth1|}}}| | ||
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Clothing:''' | {{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Clothing:''' | ||
− | {{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" {{!}} | + | {{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" {{!}} {{Columns-list|colwidth=170px|{{#forargs: cloth |
− | |||
− | {{Columns-list|colwidth= | ||
− | {{#forargs: cloth | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /> | + | | <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 }}|}}}|New Horizons}}}}}</span></li> |
− | <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| | + | }} |
}} | }} | ||
}} | }} | ||
− | |||
|- | |- | ||
{{#if:{{{otheritems1|}}}| | {{#if:{{{otheritems1|}}}| | ||
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Other items:''' | {{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Other items:''' | ||
− | {{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" {{!}} | + | {{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" {{!}} {{Columns-list|colwidth=170px|{{#forargs: otheritems |
− | |||
− | {{Columns-list|colwidth= | ||
− | {{#forargs: otheritems | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /> | + | | <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 }}|}}}|New Horizons}}}}}</span></li> |
− | <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| | + | }} |
}} | }} | ||
}} | }} | ||
− | |||
|- | |- | ||
{{#if:{{{plant1|}}}| | {{#if:{{{plant1|}}}| | ||
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Nature:''' | {{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Nature:''' | ||
− | {{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" {{!}} | + | {{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" {{!}} {{Columns-list|colwidth=170px|{{#forargs: plant |
− | |||
− | {{Columns-list|colwidth= | ||
− | {{#forargs: plant | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /> | + | | <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 }}|}}}|New Horizons}}}}}</span></li> |
− | <li style="list-style: none;">[[File:{{{p{{#var: key }}-img|{{{plant{{#var: key }}|}}}}}}_NH_Icon.png| | + | }} |
}} | }} | ||
}} | }} | ||
− | |||
|- | |- | ||
{{#if:{{{house1|}}}| | {{#if:{{{house1|}}}| | ||
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Housing:''' | {{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Housing:''' | ||
− | {{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" {{!}} | + | {{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" {{!}} {{Columns-list|colwidth=170px|{{#forargs: house |
− | |||
− | {{Columns-list|colwidth= | ||
− | {{#forargs: house | ||
| key | | key | ||
| value | | value | ||
− | | <nowiki /> | + | | <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 }}|}}}|New Horizons}}}}}</span></li> |
− | <li style="list-style: none;">[[File:{{{h{{#var: key }}-img|{{{house{{#var: key }}|}}}}}}_NH_Icon.png| | + | }} |
}} | }} | ||
}} | }} | ||
− | |||
|- | |- | ||
|}</div>{{clear}}<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Articles with Happy Home Paradise info]] {{#if:{{{special-character|}}}||{{#if:{{{thought|}}}||[[Category:Villagers with missing Happy Home Paradise thought bubble info]]}} {{#if:{{{request|}}}||[[Category:Villagers with missing Happy Home Paradise request info]]}} {{#if:{{{item1|}}}||[[Category:Villagers with missing Happy Home Paradise required items]]}} {{#if:{{{song|}}}||[[Category:Villagers with missing Happy Home Paradise song info]]}}}} {{#if:{{{furn1|}}}||[[Category:Villagers with missing Happy Home Paradise unlocked item info]]}}}}</includeonly><noinclude>{{Documentation}}</noinclude> | |}</div>{{clear}}<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Articles with Happy Home Paradise info]] {{#if:{{{special-character|}}}||{{#if:{{{thought|}}}||[[Category:Villagers with missing Happy Home Paradise thought bubble info]]}} {{#if:{{{request|}}}||[[Category:Villagers with missing Happy Home Paradise request info]]}} {{#if:{{{item1|}}}||[[Category:Villagers with missing Happy Home Paradise required items]]}} {{#if:{{{song|}}}||[[Category:Villagers with missing Happy Home Paradise song info]]}}}} {{#if:{{{furn1|}}}||[[Category:Villagers with missing Happy Home Paradise unlocked item info]]}}}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 23:03, December 22, 2021
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 }}