Difference between revisions of "Template:HHDVillagerInfo"
From Nookipedia, the Animal Crossing wiki
AlexBot2004 (talk | contribs) m (Displaying picture texture at full resolution) |
HylianAngel (talk | contribs) (Consistency with NH special character template.) |
||
Line 52: | Line 52: | ||
! colspan="3" style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; {{roundytl|9px}}; {{roundytr|10px}}; text-align:center; | {{{name|{{PAGENAME}}}}} {{#if:{{{name-note|}}}|({{{name-note|}}})}} | ! 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|}}}|| | + | |- {{#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;" {{!}} [[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}}}}} | ||
+ | {{!}} style="background:#ffffff; padding:0 0 0 6px; text-align:center;" {{!}} [[{{{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; width:40%" {{!}} Birthday | ||
Line 68: | Line 77: | ||
{{!}} 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}}}} | {{!}} 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:{{{special-character|}}}| | ||
− | |||
− | |||
− | |||
{{!-}} {{#if:{{{umbrella|}}}| | {{!-}} {{#if:{{{umbrella|}}}| | ||
{{!-}} | {{!-}} |
Revision as of 01:13, January 1, 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 | |
Default umbrella | [[File:No Results HHD Icon.png|30px|link=]] 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
Maple | ||
---|---|---|
Birthday | Personality | Catchphrase |
June 15 | Normal | honey |
Default clothing | Dapper tee | |
Default umbrella | 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 |
{{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 }}