Difference between revisions of "Template:HHDVillagerInfo"

From Nookipedia, the Animal Crossing wiki
m (setting width for villager box.)
(If it's Tom Nook, the bottom is rounded early.)
 
(56 intermediate revisions by 3 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 style="display: grid; vertical-align: top; background: #{{{primarycolor|93C5D9}}}; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}} border: 3px solid #{{{bordercolor|93C5D9}}}; max-width: 700px; padding: 2px; {{#if:{{{minwidth|}}}|min-width: {{{minwidth}}}}};">
+
<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}}}}};">
 
{{#if: {{{collapse|}}} | <div class="infobox mw-customtoggle-{{{collapse-id|1}}}">Click to toggle.</div>}}
 
{{#if: {{{collapse|}}} | <div class="infobox mw-customtoggle-{{{collapse-id|1}}}">Click to toggle.</div>}}
<div style="text-align: center">'''{{HHD|nolink|short}} client information'''</div>
+
<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}}">
 
<div {{#if: {{{collapse|}}} | id="mw-customcollapsible-{{{collapse-id|1}}}"}} class="flex-container {{#if: {{{collapse|}}} | mw-collapsible mw-collapsed mw-collapsible-content}}">
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
Line 34: Line 43:
 
<div style="display: table; height: 100%; width: 100%;">
 
<div style="display: table; height: 100%; width: 100%;">
 
<div style="display: table-cell; vertical-align: middle;">
 
<div style="display: table-cell; vertical-align: middle;">
{{#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}}]]|Have an image of the villager?<br>Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{quote|}}}|<br>''{{{quote}}}''}}
+
{{#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>
 
</div>
 
</div>
 
</div>
Line 41: Line 50:
 
<div class="flex-item">
 
<div class="flex-item">
 
{| style="display: inline-table; width: 100%; height: 100%;" |
 
{| 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|}}})}}
 +
|-
 +
|- {{#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;" {{!}} 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: #{{{secondarycolor|C8E2ED}}}; text-align:center; {{roundytl|9px}} {{roundytr|9px}} | {{{name|{{PAGENAME}}}}}
+
{{!}} colspan="3" style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; | '''House request'''
 
|- {{#if:{{{thought|}}}|
 
|- {{#if:{{{thought|}}}|
 
{{!-}}
 
{{!-}}
! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center; width:40%" {{!}} '''Thought bubble'''
+
! 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|}}}}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{thought|}}}}}{{#if:{{{thought-note|}}}|{{Note|{{{thought-note|}}}}}}}
 
|- {{#if:{{{request|}}}|
 
|- {{#if:{{{request|}}}|
 
{{!-}}
 
{{!-}}
! style="background: #{{{secondarycolor|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|}}}|
 
{{!-}}
 
{{!-}}
! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} '''Required items'''
+
! 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
 
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{#if:{{{items|}}}|{{{items|-}}}|{{#forargs: item
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki /> [[File:{{{img{{#var: key }}|{{{item{{#var: key }}|}}}}}}_HHD_Icon.png|30px|alt=|link=]]{{{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|}}}|
 
{{!-}}
 
{{!-}}
! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;  {{roundybl|9px}}" {{!}} '''Favorite 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|27px|alt=|link={{{song|}}}]]&nbsp;[[{{{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>
Line 72: Line 116:
 
{{#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}};" align="left" {{!}}
+
{{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: furn
{{(!}} style{{=}}"text-align:left;"
 
{{#forargs: furn
 
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki />
+
  | <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>
{{!}} [[File:{{{f{{#var: key }}-img|{{{furn{{#var: key }}|}}}}}}_HHD_Icon.png|30px|alt=|link=]]&nbsp;{{{f{{#var: key }}|{{{furn{{#var: key }}|}}}}}}&nbsp;&nbsp;
+
}}
{{#ifexpr: {{#var: key }} mod 2 | | {{!-}} }}
 
 
}}
 
}}
{{!)}}}}
+
}}
 +
|-
 
{{#if:{{{fnNLWa1|}}}|
 
{{#if:{{{fnNLWa1|}}}|
 
{{!}} 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}};" align="left" {{!}}
+
{{!}} style="background: #ffffff; padding: 0 0 0 9px; {{roundy}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: fnNLWa
{{(!}} style{{=}}"text-align:left;"
 
{{#forargs: fnNLWa
 
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki />
+
  | <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>
{{!}} [[File:{{{fn{{#var: key }}-img|{{{fnNLWa{{#var: key }}|}}}}}}_NLWa_Model.png|30px|alt=|link=]]&nbsp;{{{fn{{#var: key }}|{{{fnNLWa{{#var: key }}|}}}}}}&nbsp;&nbsp;
+
}}
{{#ifexpr: {{#var: key }} mod 2 | | {{!-}} }}
+
}}
 
}}
 
}}
{{!)}}}}
+
|-  
|-
 
 
{{#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}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: inter
{{(!}} style{{=}}"text-align:left;"
 
{{#forargs: inter
 
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki />
+
  | <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>
{{!}} [[File:{{{i{{#var: key }}-img|{{{inter{{#var: key }}|}}}}}}_HHD_Icon.png|30px|alt=|link=]]&nbsp;{{{i{{#var: key }}|{{{inter{{#var: key }}|}}}}}}&nbsp;&nbsp;
+
}}
{{#ifexpr: {{#var: key }} mod 2 | | {{!-}} }}
+
}}
 
}}
 
}}
{{!)}}}}
 
 
|-
 
|-
 
{{#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}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: cloth
{{(!}} style{{=}}"text-align:left;"
 
{{#forargs: cloth
 
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki />
+
  | <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>
{{!}} [[File:{{{c{{#var: key }}-img|{{{cloth{{#var: key }}|}}}}}}_HHD_Icon.png|30px|alt=|link=]]&nbsp;{{{c{{#var: key }}|{{{cloth{{#var: key }}|}}}}}}&nbsp;&nbsp;
 
{{#ifexpr: {{#var: key }} mod 2 | | {{!-}} }}
 
 
}}
 
}}
{{!)}}}}
+
}}
|-  
+
}}
 +
|-
 
{{#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}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: plant
{{(!}} style{{=}}"text-align:left;"
 
{{#forargs: plant
 
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki />
+
  | <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>
{{!}} [[File:{{{p{{#var: key }}-img|{{{plant{{#var: key }}|}}}}}}_HHD_Icon.png|30px|alt=|link=]]&nbsp;{{{p{{#var: key }}|{{{plant{{#var: key }}|}}}}}}&nbsp;&nbsp;
+
}}
{{#ifexpr: {{#var: key }} mod 2 | | {{!-}}}}
+
}}
 
}}
 
}}
{{!)}}}}
+
|-
|-  
 
 
{{#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}}; width:85%;" align="left" {{!}}{{Columns-list|colwidth=170px|{{#forargs: house
{{(!}} style{{=}}"text-align:left;"
 
{{#forargs: house
 
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki />
+
  | <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>
{{!}} [[File:{{{h{{#var: key }}-img|{{{house{{#var: key }}|}}}}}}_HHD_Icon.png|30px|alt=|link=]]&nbsp;{{{h{{#var: key }}|{{{house{{#var: key }}|}}}}}}&nbsp;&nbsp;
+
}}
{{#ifexpr: {{#var: key }} mod 2 | | {{!-}} &nbsp;}}
+
}}
 
}}
 
}}
{{!)}}}}
 
 
|-
 
|-
{{#ifexist:File:House_of_{{PAGENAME}}_HHD_Exterior.png|
+
{{#ifexist:File:House_of_{{{start-house|{{PAGENAME}}}}}_HHD_Exterior.png|
 
{{!}} style="max-width: 100px; 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: #FFDD66; padding: 0 0 0 9px; {{roundy}};" {{!}} [[File:House_of_{{PAGENAME}}_HHD_Exterior.png]]
+
{{!}} 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}}]]
 
}}
 
}}
 
|-
 
|-
|}</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>{{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>

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