Difference between revisions of "Template:HHDVillagerInfo"

From Nookipedia, the Animal Crossing wiki
m
(If it's Tom Nook, the bottom is rounded early.)
 
(88 intermediate revisions by 6 users not shown)
Line 3: Line 3:
 
|name = String
 
|name = String
 
|name_sort = String
 
|name_sort = String
 +
|name_note = String
 
|image = String
 
|image = String
 +
|special_character = Boolean
 
|thought = String
 
|thought = String
 +
|thought_wikitext = Wikitext string
 +
|thought_note = String
 
|request = String
 
|request = String
 
|item1 = String
 
|item1 = String
Line 11: Line 15:
 
|song = String
 
|song = String
 
|quote = String
 
|quote = String
 +
|housemates = List (,) of String
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
_table=hhd_villager
 
_table=hhd_villager
|name = {{{name|{{PAGENAME}}}}}‎‎
+
|name = {{{name|{{PAGENAME}}}}}
|name_sort = {{{name-sort|{{{name|{{PAGENAME}}}}}‎‎}}}‎‎
+
|name_sort = {{{name-sort|{{{name|{{PAGENAME}}}}}}}}
 +
|name_note = {{{name-note|}}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
|theme = {{{theme|}}}
+
|special_character = {{{special-character|No}}}
|thought = {{{thought|}}}
+
|thought = {{#invoke:Plain text|main|{{{thought|}}}}}
 +
|thought_wikitext = {{{thought|}}}
 +
|thought_note = {{{thought-note|}}}
 
|request = {{{request|}}}
 
|request = {{{request|}}}
 
|item1 = {{{item1|}}}
 
|item1 = {{{item1|}}}
Line 24: Line 32:
 
|song = {{{song|}}}
 
|song = {{{song|}}}
 
|quote = {{{quote|}}}
 
|quote = {{{quote|}}}
 +
|housemates = {{{housemates|}}}
 
}}}}</includeonly>
 
}}}}</includeonly>
<div class="nomobile">
+
<div style="display: grid; vertical-align: top; background: #{{#if:{{{special-character|}}}|c6f570|93C5D9}}; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}} border: 3px solid #{{#if:{{{special-character|}}}|c6f570|93C5D9}}; max-width: 700px; padding: 2px; {{#if:{{{minwidth|}}}|min-width: {{{minwidth}}}}};">
{| width=500px; style="background: #ffc644; border:2px solid #ffc644; text-align:center; {{roundy|28px}};"
+
{{#if: {{{collapse|}}} | <div class="infobox mw-customtoggle-{{{collapse-id|1}}}">Click to toggle.</div>}}
! colspan=2 | {{HHD|short|nolink}} client information
+
<div style="text-align: center">'''[[Animal Crossing: Happy Home Designer/Client information|{{HHD|nolink|short}} client information]]'''</div>
|-
+
<div {{#if: {{{collapse|}}} | id="mw-customcollapsible-{{{collapse-id|1}}}"}} class="flex-container {{#if: {{{collapse|}}} | mw-collapsible mw-collapsed mw-collapsible-content}}">
| colspan=2 style="padding: 1px; border-top: 1px solid #ffe543" |
+
{{#if:{{{image|}}}|
|-
+
<div class="flex-item" style="margin: 0 auto; background: #ffffff; {{roundy|9px}}; text-align: center; padding: 10px; max-width: 250px;">
| style="padding:0px;" |
+
{{#if:{{{number|}}}|<div style="float: left; position: absolute; background: #{{{secondarycolor|d9d9d9}}}; border-radius: 15px; color: #FFFFFF; padding: 5px;"><small>#{{{number|}}}</small></div> | }}
| rowspan=2 width=75% style="vertical-align: top; background: #ffe543; padding:0px; {{roundy|25px}};"|
+
<div style="display: table; height: 100%; width: 100%;">
{| width=100% style="background: transparent; padding: 3px; {{roundytop|25px}};"
+
<div style="display: table-cell; vertical-align: middle;">
| colspan=2 style="background: #ffe543; border-bottom: 1px solid #ffc644; {{roundytop|25px}};" | '''{{{name|{{PAGENAME}}}}}'''
+
{{#ifexist:File:{{{photo|{{{name}}}}}}'s_Pic_HHD_Texture.png|[[File:{{{photo|{{{name}}}}}}'s_Pic_HHD_Texture.png|center|{{{name|Goldie}}}]]{{#if:{{{quote|}}}|{{Clear}}''{{{quote}}}''{{#if:{{{quote-note|}}}|{{Note|{{{quote-note|}}}}}}}<br><br>}}}}{{#if:{{{image|}}}|[[File:{{{image|{{{name|Goldie}}}_HHD_{{#incat:Special Characters|Character|Villager}}_Icon.png}}}|center|{{{name|Goldie}}}'s Happy Home Designer icon{{#if:{{{crisp|}}}|{{!}}class=sprite}}]]|}}{{#ifexist:File:{{{photo|{{{name}}}}}}'s_Pic_HHD_Texture.png||{{#if:{{{quote|}}}|{{Clear}}''{{{quote}}}''{{#if:{{{quote-note|}}}|{{Note|{{{quote-note|}}}}}}}}}}}{{#if:{{{example|}}}|<br><br>[[File:{{{example|}}}|170px|center|Example of {{{name|Goldie}}}'s Happy Home Designer house]]'''Official example'''}}
|-
+
</div>
| height=230px style="vertical-align:top; padding:4px 0 0 2px;"|
+
</div>
{| width=100% style="background: transparent;"
+
</div>
|- {{#if: {{{thought|}}} | | style="display: none;" }}
+
|}}
| style="width:70px; background: #ffe543; padding: 3px; text-align:right;" | '''Thought Bubble:'''
+
<div class="flex-item">
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" | {{{thought|}}}
+
{| style="display: inline-table; width: 100%; height: 100%;" |
|-
+
! colspan="3" style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; {{roundytl|9px}}; {{roundytr|10px}}; text-align:center; | {{{name|{{PAGENAME}}}}} {{#if:{{{name-note|}}}|({{{name-note|}}})}}
| style="width:70px; background: #ffe543; padding: 3px; text-align:right;" | '''Client's Vision:'''
+
|-  
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" | {{{request|}}}
+
|- {{#if:{{{special-character|}}}|
|-
+
{{!-}}
| style="width:70px; background: #ffe543; padding: 3px; text-align:right;" | '''Required Items:'''
+
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} Birthday
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" | {{#if:{{{items|}}}|{{{items|-}}}|{{#if:{{{item3|}}}|{{#ifexist:File:{{{item1|}}}_HHD_Icon.png|[[File:{{{item1|}}}_HHD_Icon.png|30px|link=]]|[[File:FallLeaf.png|30px|link=]]}}{{{item1|}}}<br>{{#ifexist:File:{{{item2|}}}_HHD_Icon.png|[[File:{{{item2|}}}_HHD_Icon.png|30px|link=]]|[[File:FallLeaf.png|30px|link=]]}}{{{item2|}}}<br>{{#ifexist:File:{{{item3|}}}_HHD_Icon.png|[[File:{{{item3|}}}_HHD_Icon.png|30px|link=]]|[[File:FallLeaf.png|30px|link=]]}}{{{item3|}}}|{{#if:{{{item2|}}}|{{#ifexist:File:{{{item1|}}}_HHD_Icon.png|[[File:{{{item1|}}}_HHD_Icon.png|30px|link=]]|[[File:FallLeaf.png|30px|link=]]}}{{{item1|}}}<br>{{#ifexist:File:{{{item2|}}}_HHD_Icon.png|[[File:{{{item2|}}}_HHD_Icon.png|30px|link=]]|[[File:FallLeaf.png|30px|link=]]}}{{{item2|}}}|{{#if:{{{item1|}}}|{{#ifexist:File:{{{item1|}}}_HHD_Icon.png|[[File:{{{item1|}}}_HHD_Icon.png|30px|link=]]|[[File:FallLeaf.png|30px|link=]]}}{{{item1|}}}}}}}}}}}
+
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center;" {{!}} Gender
|-
+
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center;" {{!}} Species
| style="width:70px; background: #ffe543; padding: 3px; text-align:right;" | '''Favorite Song:'''
+
{{!-}}
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" | {{#if:{{{song|}}}|[[{{{song|}}}]]|}}
+
{{!}} 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="width:70px; background: #ffe543; padding: 3px; text-align:right;" | '''Favorite Saying:'''
+
{{!}} 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: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" | {{{quote|}}}
+
|
 +
{{!-}}
 +
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} Birthday
 +
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center;" {{!}} Personality
 +
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center;" {{!}} Catchphrase
 +
{{!-}}
 +
{{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} {{{birthday-month|{{#cargo_query:table=villager|fields=birthday|where=_pageTitle="{{PAGENAME}}"|no html}}}}} {{{birthday|}}} [[File:Starsign {{{sign|{{#cargo_query:table=villager|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}} NH Icon.png|32px|{{{sign|{{#cargo_query:table=villager|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}}|link={{{sign|{{#cargo_query:table=villager|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]]
 +
{{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} [[{{{personality|{{#cargo_query:table=villager|fields=personality|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]]
 +
{{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} {{{catchphrase|{{#cargo_query:table=nl_villager|fields=catchphrase|where=_pageTitle="{{PAGENAME}}"|no html}}}}} {{#if:{{{catchphrase-note|}}}|{{Note|{{{catchphrase-note|}}}}}}}{{#if:{{{catchphrase2|}}}|<br>{{{catchphrase2|}}} {{#if:{{{catchphrase2-note|}}}|{{Note|{{{catchphrase2-note|}}}}}}}}}
 +
{{!-}}
 +
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center;" {{!}} '''Default clothing'''
 +
{{!}} 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%" {{!}} '''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}}}}
 +
|- {{#if:{{{special-character|}}}|
 +
{{!-}} {{#if:{{{umbrella|}}}|
 +
{{!-}}
 +
! 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|}}}}}}}
 +
{{!-}} {{#if:{{{housemates|}}}|
 +
{{!-}}
 +
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} '''Shares house with'''
 +
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{#invoke: Items | outputHousemates | {{{housemates|}}} }}}}}}
 
|-
 
|-
 +
{{!}} colspan="3" style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; | '''House request'''
 +
|- {{#if:{{{thought|}}}|
 +
{{!-}}
 +
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} '''Thought bubble'''
 +
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{thought|}}}}}{{#if:{{{thought-note|}}}|{{Note|{{{thought-note|}}}}}}}
 +
|- {{#if:{{{request|}}}|
 +
{{!-}}
 +
! 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; {{#ifeq:{{{name|}}}|King Nook|{{roundybr|9px}}|}}" {{!}} {{{request|}}}}}
 +
|- {{#if:{{{item1|}}}|
 +
{{!-}}
 +
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center;" {{!}} '''Required items'''
 +
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{#if:{{{items|}}}|{{{items|-}}}|{{#forargs: item
 +
| key
 +
| value
 +
| <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|}}}|
 +
{{!-}}
 +
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center;  {{roundybl|9px}}" {{!}} '''Favorite song'''
 +
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px; {{roundybr|9px}}" {{!}} [[File:{{{song|}}}_(Album Cover)_HHD_Icon.png|x29px|alt=|link=]]&nbsp;[[{{{song-link|{{{song|}}}}}}|{{{song|}}}]]}}
 
|}
 
|}
|}
+
</div>
 +
</div>
 +
</div>
 +
<div style="vertical-align: top; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}}; max-width: 700px; padding: 2px;">
 +
{| class="mw-collapsible mw-collapsed" align="center" cellpadding="0px" style="width: 100%; text-align:center; background-color:#FFDD66; border-top: 3px solid #FFDD66; border-right: 3px solid #FFDD66; border-left: 3px solid #FFDD66; {{roundy|10px}}"
 +
! colspan="2" | Unlocked items
 +
|-
 +
{{#if:{{{furn1|}}}|
 +
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Furniture:'''
 +
{{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: furn
 +
| key
 +
| value
 +
| <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>
 +
}}
 +
}}
 +
}}
 +
|-
 +
{{#if:{{{fnNLWa1|}}}|
 +
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Furniture:'''
 +
{{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: fnNLWa
 +
| key
 +
| value
 +
| <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>
 +
}}
 +
}}
 +
}}
 +
|-
 +
{{#if:{{{inter1|}}}|
 +
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Interior:'''
 +
{{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: inter
 +
| key
 +
| value
 +
| <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>
 +
}}
 +
}}
 +
}}
 
|-
 
|-
| width=25% style="padding:0 3px 0 1px;" | [[File:{{{image|{{{name|Goldie}}} HHD {{#incat:Special Characters|Character|Villager}} Icon.png}}}|center|{{{name|Goldie}}}'s Happy Home Designer icon]]
+
{{#if:{{{cloth1|}}}|
|}</div>
+
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Clothing:'''
 
+
{{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: cloth
<div class="onlymobile">
+
| key
{| width=100%; style="background: #ffc644; border:2px solid #ffc644; text-align:center; {{roundy|28px}};"
+
| value
! colspan=2 | {{HHD|short|nolink}} client information
+
| <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>
 +
}}
 +
}}
 +
}}
 
|-
 
|-
| colspan=2 style="padding: 1px; border-top: 1px solid #ffe543" |
+
{{#if:{{{plant1|}}}|
 +
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Nature:'''
 +
{{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: plant
 +
| key
 +
| value
 +
| <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>
 +
}}
 +
}}
 +
}}
 
|-
 
|-
| style="padding:0px;" |
+
{{#if:{{{house1|}}}|
| rowspan=2 width=75% style="vertical-align: top; background: #ffe543; padding:0px; {{roundy|25px}};"|  
+
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Housing:'''
{| width=100% style="background: transparent; padding: 3px; {{roundytop|25px}};"
+
{{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: house
| colspan=2 style="background: #ffe543; border-bottom: 1px solid #ffc644; {{roundytop|25px}};" | '''{{{name|{{PAGENAME}}}}}'''
+
| key
 +
| value
 +
| <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>
 +
}}
 +
}}
 +
}}
 
|-
 
|-
| height=230px style="vertical-align:top; padding:4px 0 0 2px;"|
+
{{#ifexist:File:House_of_{{{start-house|{{PAGENAME}}}}}_HHD_Exterior.png|
{| width=100% style="background: transparent;"
+
{{!}} style="max-width: 100px; padding: 3px; text-align:right; vertical-align:top;" {{!}} '''Starting house:'''
|- {{#if: {{{thought|}}} | | style="display: none;" }}
+
{{!}} style="background: #fff094; padding: 0 0 0 9px; {{roundy}};" {{!}} [[File:House_of_{{{start-house|{{PAGENAME}}}}}_HHD_Exterior.png|Default exterior of {{{name|{{PAGENAME}}}}}'s house in {{HHD|nolink}}]]
| style="width:70px; background: #ffe543; padding: 3px; text-align:right;" | '''Thought Bubble:'''
+
}}
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" | {{{thought|}}}
 
|-
 
| style="width:70px; background: #ffe543; padding: 3px; text-align:right;" | '''Client's Vision:'''
 
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" | {{{request|}}}
 
|-
 
| style="width:70px; background: #ffe543; padding: 3px; text-align:right;" | '''Required Items:'''
 
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" | {{#if:{{{items|}}}|{{{items|-}}}|{{#if:{{{item3|}}}|{{#ifexist:File:{{{item1|}}}_HHD_Icon.png|[[File:{{{item1|}}}_HHD_Icon.png|30px|link=]]|[[File:FallLeaf.png|30px|link=]]}}{{{item1|}}}<br>{{#ifexist:File:{{{item2|}}}_HHD_Icon.png|[[File:{{{item2|}}}_HHD_Icon.png|30px]|link=]|[[File:FallLeaf.png|30px|link=]]}}{{{item2|}}}<br>{{#ifexist:File:{{{item3|}}}_HHD_Icon.png|[[File:{{{item3|}}}_HHD_Icon.png|30px|link=]]|[[File:FallLeaf.png|30px|link=]]}}{{{item3|}}}|{{#if:{{{item2|}}}|{{#ifexist:File:{{{item1|}}}_HHD_Icon.png|[[File:{{{item1|}}}_HHD_Icon.png|30px|link=]]|[[File:FallLeaf.png|30px|link=]]}}{{{item1|}}}<br>{{#ifexist:File:{{{item2|}}}_HHD_Icon.png|[[File:{{{item2|}}}_HHD_Icon.png|30px|link=]]|[[File:FallLeaf.png|30px|link=]]}}{{{item2|}}}|{{#if:{{{item1|}}}|{{#ifexist:File:{{{item1|}}}_HHD_Icon.png|[[File:{{{item1|}}}_HHD_Icon.png|30px|link=]]|[[File:FallLeaf.png|30px|link=]]}}{{{item1|}}}}}}}}}}}
 
|-
 
| style="width:70px; background: #ffe543; padding: 3px; text-align:right;" | '''Favorite Song:'''
 
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" | {{#if:{{{song|}}}|[[{{{song|}}}]]|}}
 
|-
 
| style="width:70px; background: #ffe543; padding: 3px; text-align:right;" | '''Favorite Saying:'''
 
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" | {{{quote|}}}
 
|-
 
|}
 
|}
 
 
|-
 
|-
| width=25% style="padding:0 3px 0 1px;" | [[File:{{{image|{{{name|Goldie}}} HHD {{#incat:Special Characters|Character|Villager}} Icon.png}}}|center|{{{name|Goldie}}}'s Happy Home Designer icon]]
+
|}</div>{{clear}}<includeonly>{{#ifeq:{{NAMESPACE}}||[[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}}[[Category:Cargo templates]][[Category:Villager info templates]]</noinclude>
|}</div>
 
<includeonly>[[Category:Happy Home Designer characters]]</includeonly>
 

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
    }}