Difference between revisions of "Template:HHDVillagerInfo"
From Nookipedia, the Animal Crossing wiki
HylianAngel (talk | contribs) (Added quote-note parameter, for the typo in Claude's picture text.) |
HylianAngel (talk | contribs) (Show photo texture, birthday, catchphrase, etc.) |
||
Line 41: | Line 41: | ||
<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;"> | ||
− | {{# | + | {{#ifexist:File:{{{photo|{{{name}}}}}}'s_Pic_HHD_Texture.png|[[File:{{{photo|{{{name}}}}}}'s_Pic_HHD_Texture.png|85px|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}}]]|}}{{#if:{{{example|}}}|<br><br>[[File:{{{example|}}}|170px|center|Example of {{{name|Goldie}}}'s Happy Home Designer house]]'''Official example'''}} |
− | {{#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}}]]| | ||
</div> | </div> | ||
</div> | </div> | ||
Line 49: | Line 48: | ||
<div class="flex-item"> | <div class="flex-item"> | ||
{| style="display: inline-table; width: 100%; height: 100%;" | | {| style="display: inline-table; width: 100%; height: 100%;" | | ||
+ | |- {{#if:{{{special-character|}}}|| | ||
+ | {{!-}} | ||
+ | ! style="background: #{{{secondarycolor|C8E2ED}}}; {{roundytl|9px}}; text-align:center; width:40%" {{!}} '''Birthday''' | ||
+ | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} '''Personality''' | ||
+ | ! style="background: #{{{secondarycolor|C8E2ED}}}; {{roundytr|10px}}; 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=Star sign]] | ||
+ | {{!}} 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}}}}} | ||
+ | {{!-}} | ||
+ | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center;" {{!}} '''Default clothing''' | ||
+ | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:{{{clothing|{{#cargo_query:table=nl_villager|fields=clothing|where=_pageTitle="{{PAGENAME}}"|no html}}}}} HHD Icon.png|30px]] {{{clothing|{{#cargo_query:table=nl_villager|fields=clothing|where=_pageTitle="{{PAGENAME}}"|no html}}}}} | ||
+ | {{!-}} | ||
+ | ! style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center; width:40%" {{!}} '''Default umbrella''' | ||
+ | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:{{{umbrella|{{#cargo_query:table=nl_villager|fields=umbrella|where=_pageTitle="{{PAGENAME}}"|no html}}}}} HHD Icon.png|30px]] {{{clothing|{{#cargo_query:table=nl_villager|fields=umbrella|where=_pageTitle="{{PAGENAME}}"|no html}}}}}}} | ||
+ | |- {{#if:{{{special-character|}}}| | ||
+ | {{!-}} | ||
+ | ! style="background: #{{{secondarycolor|C8E2ED}}}; {{roundytl|9px}}; text-align:center; width:40%" {{!}} '''Birthday''' | ||
+ | {{!}} colspan="2" style="background:#ffffff; {{roundytr|10px}}; padding:0 0 0 6px;" {{!}} {{{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=Star sign]]}} | ||
|- | |- | ||
− | ! colspan="3" style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center; | + | {{!}} colspan="3" style="background: #{{{secondarycolor|C8E2ED}}}; text-align:center; | '''House request''' |
|- {{#if:{{{thought|}}}| | |- {{#if:{{{thought|}}}| | ||
{{!-}} | {{!-}} |
Revision as of 02:40, July 5, 2022
This template defines the table "hhd_villager". View table.
Birthday | Personality | Catchphrase |
---|---|---|
No results [[File:Starsign No results NH Icon.png|32px|No results|link=Star sign]] | [[No results]] | No results |
Default clothing | [[File:No results HHD Icon.png|30px]] No results | |
Default umbrella | [[File:No results HHD Icon.png|30px]] No results | |
House request |
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
Birthday | Personality | Catchphrase |
---|---|---|
June 15 | Normal | honey |
Default clothing | [[File:No results HHD Icon.png|30px]] No results | |
Default umbrella | 30px No results | |
House request | ||
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 |
{{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 }}