Difference between revisions of "Template:HHDVillagerInfo"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (Empty alt for icons) |
PanchamBro (talk | contribs) (redesigning the infobox to fit more with the new HHP infobox design.) |
||
Line 25: | Line 25: | ||
|quote = {{{quote|}}} | |quote = {{{quote|}}} | ||
}}}}</includeonly> | }}}}</includeonly> | ||
− | <div | + | <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}}}}};"> |
− | + | {{#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 {{#if: {{{collapse|}}} | id="mw-customcollapsible-{{{collapse-id|1}}}"}} class="flex-container {{#if: {{{collapse|}}} | mw-collapsible mw-collapsed mw-collapsible-content}}"> |
− | | | + | {{#if:{{{image|}}}| |
− | |- | + | <div class="flex-item" style="margin: 0 auto; background: #ffffff; {{roundy|9px}}; text-align: center; padding: 10px; max-width: 250px;"> |
− | | | + | {{#if:{{{number|}}}|<div style="float: left; position: absolute; background: #{{{secondarycolor|d9d9d9}}}; border-radius: 15px; color: #FFFFFF; padding: 5px;"><small>#{{{number|}}}</small></div> | }} |
− | + | <div style="display: table; height: 100%; width: 100%;"> | |
− | {| | + | <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:{{{caption|}}}|<br>{{{caption}}}}} | |
− | |- | + | </div> |
− | | | + | </div> |
− | + | </div> | |
− | |- {{#if: {{{thought|}}} | | + | |}} |
− | + | <div class="flex-item"> | |
− | + | {| style="display: inline-table; width: 100%; height: 100%;" | | |
− | |- | + | |- {{#if:{{{thought|}}}| |
− | + | {{!-}} | |
− | + | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center; {{roundytl|9px}}" {{!}} '''Thought bubble''' | |
− | |- | + | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px; {{roundytr|9px}}" {{!}} {{{thought|}}}}} |
− | + | |- {{#if:{{{request|}}}| | |
− | + | {{!-}} | |
− | |- {{#if: {{{song|}}} | | + | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} '''Client's vision''' |
− | + | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{request|}}}}} | |
− | + | |- {{#if:{{{item1|}}}| | |
− | + | {{!-}} | |
− | + | ! style="background: #{{{secondarycolor|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 }}|{{{item{{#var: key }}|}}}}}}_HHD_Icon.png|30px|alt=|link=]]{{{item{{#var: key }}|}}}<br>}}}}}} | |
− | + | |- {{#if:{{{song|}}}| | |
− | + | {{!-}} | |
+ | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} '''Favorite song''' | ||
+ | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:{{{song|}}}_(Album Cover)_HHD_Icon.png|27px|alt=|link={{{song|}}}]] [[{{{song|}}}]]}} | ||
+ | |- {{#if:{{{quote|}}}| | ||
+ | {{!-}} | ||
+ | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center; {{roundybl|9px}}" {{!}} '''Favorite saying''' | ||
+ | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px; {{roundybr|9px}}" {{!}} {{{quote|}}}}} | ||
|} | |} | ||
− | + | </div> | |
− | {| class="mw-collapsible mw-collapsed" style="background: # | + | </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|}}}| | {{#if:{{{furn1|}}}| | ||
Line 146: | Line 154: | ||
}} | }} | ||
|- | |- | ||
− | |}</div> | + | |}</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 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <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> |
Revision as of 09:29, 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 |
---|
- For query instructions see our Cargo documentation.
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
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: |
| ||||||||||||||||||
Interior: |
| ||||||||||||||||||
Clothing: |
|
{{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 }}