Difference between revisions of "Template:HHDVillagerInfo"

From Nookipedia, the Animal Crossing wiki
(redesigning the infobox to fit more with the new HHP infobox design.)
(fixing unlocked items section.)
Line 73: Line 73:
 
|-  
 
|-  
 
{{#if:{{{furn1|}}}|
 
{{#if:{{{furn1|}}}|
{{!}} style="width:115px; 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}};" align="left" {{!}}
 
{{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" {{!}}
 
{{(!}} style{{=}}"text-align:left;"
 
{{(!}} style{{=}}"text-align:left;"
Line 85: Line 85:
 
{{!)}}}}
 
{{!)}}}}
 
{{#if:{{{fnNLWa1|}}}|
 
{{#if:{{{fnNLWa1|}}}|
{{!}} style="width:115px; 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}};" align="left" {{!}}
 
{{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" {{!}}
 
{{(!}} style{{=}}"text-align:left;"
 
{{(!}} style{{=}}"text-align:left;"
Line 98: Line 98:
 
|-
 
|-
 
{{#if:{{{inter1|}}}|
 
{{#if:{{{inter1|}}}|
{{!}} style="width:115px; 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" {{!}}  
 
{{(!}} style{{=}}"text-align:left;"
 
{{(!}} style{{=}}"text-align:left;"
Line 111: Line 111:
 
|-
 
|-
 
{{#if:{{{cloth1|}}}|
 
{{#if:{{{cloth1|}}}|
{{!}} style="width:115px; 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" {{!}}  
 
{{(!}} style{{=}}"text-align:left;"
 
{{(!}} style{{=}}"text-align:left;"
Line 124: Line 124:
 
|-  
 
|-  
 
{{#if:{{{plant1|}}}|
 
{{#if:{{{plant1|}}}|
{{!}} style="width:115px; 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" {{!}}  
 
{{(!}} style{{=}}"text-align:left;"
 
{{(!}} style{{=}}"text-align:left;"
Line 137: Line 137:
 
|-  
 
|-  
 
{{#if:{{{house1|}}}|
 
{{#if:{{{house1|}}}|
{{!}} style="width:115px; 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" {{!}}  
 
{{(!}} style{{=}}"text-align:left;"
 
{{(!}} style{{=}}"text-align:left;"
Line 150: Line 150:
 
|-
 
|-
 
{{#ifexist:File:House_of_{{PAGENAME}}_HHD_Exterior.png|
 
{{#ifexist:File:House_of_{{PAGENAME}}_HHD_Exterior.png|
{{!}} style="width:70px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Starting house:'''
+
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Starting house:'''
{{!}} style="background: #ffe543; padding: 0 0 0 9px; {{roundy}};" {{!}} [[File:House_of_{{PAGENAME}}_HHD_Exterior.png]]
+
{{!}} style="background: #FFDD66; padding: 0 0 0 9px; {{roundy}};" {{!}} [[File:House_of_{{PAGENAME}}_HHD_Exterior.png]]
 
}}
 
}}
 
|-
 
|-
 
|}</div></div>{{clear}}<includeonly>[[Category:Happy Home Designer characters]]{{#ifeq:{{PAGENAME}}|Goldie||{{#incat:Villagers|{{#incat:New Leaf characters|{{#if:{{{thought|}}}||[[Category:Happy Home Designer character's thought parameter missing]]}}|}}|}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
|}</div></div>{{clear}}<includeonly>[[Category:Happy Home Designer characters]]{{#ifeq:{{PAGENAME}}|Goldie||{{#incat:Villagers|{{#incat:New Leaf characters|{{#if:{{{thought|}}}||[[Category:Happy Home Designer character's thought parameter missing]]}}|}}|}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 09:32, October 26, 2021

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

Happy Home Designer client information
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

Happy Home Designer client information
Maple's Happy Home Designer icon
Thought bubble Wouldn't it be fun to be surrounded by teddy bears?
Client's vision A plush bear den.
Required items 30pxPapa bear
30pxMama bear
30pxranch dresser
Favorite song  Neapolitan
Favorite saying Waste not, want not.
Unlocked items
Furniture:
30px ranch bed   30px ranch table  
30px ranch chair   30px ranch armchair  
30px ranch couch   30px ranch wardrobe  
30px ranch dresser   30px ranch bookcase  
30px ranch hutch    pancakes  
30px Baby bear   30px Mama bear  
30px Papa bear   30px wooden bear  
 Neapolitan    beehive  
30px Maple's pic   30px ranch wall rack  
Interior:
30px ranch rug   30px rococo wall  
Clothing:
30px bear costume   30px bear-costume pants  
30px bear cap   30px petal parasol  
{{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
}}