Difference between revisions of "Template:HHDVillagerInfo"
From Nookipedia, the Animal Crossing wiki
HylianAngel (talk | contribs) (Frogbrella note.) |
PanchamBro (talk | contribs) (adding TitleCase and SentenceCase modules) |
||
Line 63: | Line 63: | ||
{{!-}} | {{!-}} | ||
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center;" {{!}} '''Default clothing''' | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center;" {{!}} '''Default clothing''' | ||
− | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:{{{top|{{#cargo_query:table=nl_villager|fields=clothing|where=_pageTitle="{{PAGENAME}}"|no html}}}}} HHD Icon.png|30px|link=]] {{{top|{{#cargo_query:table=nl_villager|fields=clothing|where=_pageTitle="{{PAGENAME}}"|no html}}}}} | + | {{!}} 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%" {{!}} '''Default umbrella''' | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|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|link=]] {{{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|}}}| | ||
{{!-}} | {{!-}} | ||
Line 74: | Line 74: | ||
{{!-}} | {{!-}} | ||
! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} '''Default umbrella''' | ! style="background: #{{#if:{{{special-character|}}}|e3fab7|C8E2ED}}; text-align:center; width:40%" {{!}} '''Default umbrella''' | ||
− | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:{{{umbrella|}}} HHD Icon.png|30px|link=]] {{{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|}}}| | {{!-}} {{#if:{{{housemates|}}}| | ||
{{!-}} | {{!-}} | ||
Line 95: | Line 95: | ||
| 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 }}|}}}}}<br>}}}}}} |
|- {{#if:{{{song|}}}| | |- {{#if:{{{song|}}}| | ||
{{!-}} | {{!-}} |
Revision as of 15:41, December 27, 2022
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 }}