Difference between revisions of "Template:CFVillagerInfo"
From Nookipedia, the Animal Crossing wiki
AlexBot2004 (talk | contribs) m |
AlexBot2004 (talk | contribs) (Adding umbrella to Cargo) |
||
(21 intermediate revisions by 4 users not shown) | |||
Line 8: | Line 8: | ||
|catchphrase = String | |catchphrase = String | ||
|clothing = String | |clothing = String | ||
+ | |umbrella = String | ||
|favstyle = String | |favstyle = String | ||
|leastfavstyle = String | |leastfavstyle = String | ||
Line 18: | Line 19: | ||
|name = {{{name|{{PAGENAME}}}}} | |name = {{{name|{{PAGENAME}}}}} | ||
|name_sort = {{{name_sort|{{{name|{{PAGENAME}}}}}}}} | |name_sort = {{{name_sort|{{{name|{{PAGENAME}}}}}}}} | ||
− | | | + | |birthday = {{{birthday-month|{{#cargo_query:table=villager|fields=birthday|where=_pageTitle="{{PAGENAME}}"|no html}}}}} {{{birthday|}}} |
− | | | + | |birthday_sort = {{#cargo_query:table=villager|fields=birthday_sort|where=_pageTitle="{{PAGENAME}}"|no html}} |
− | | | + | |sign = {{{sign|{{#cargo_query:table=villager|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}} |
+ | |catchphrase = {{{catchphrase|}}} | ||
+ | |clothing = {{{clothing|}}} | ||
+ | |umbrella = {{{umbrella|}}} | ||
|favstyle = {{{favstyle|}}} | |favstyle = {{{favstyle|}}} | ||
|leastfavstyle = {{{leastfavstyle|}}} | |leastfavstyle = {{{leastfavstyle|}}} | ||
Line 29: | Line 33: | ||
}}}}</includeonly> | }}}}</includeonly> | ||
{{Villager Info Box | {{Villager Info Box | ||
− | |label | + | |label = Birthday |
− | |data | + | |data = {{{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}}}}}]] |
− | |label2 | + | |label2 = Personality |
− | |data2 | + | |data2 = [[{{{personality|{{#cargo_query:table=villager|fields=personality|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]] |
− | |label3 | + | |label3 = Catchphrase |
− | |data3 = {{{ | + | |data3 = {{{catchphrase|}}} |
− | | | + | |label4 = Default clothing |
− | | | + | |data4 = [[File:{{{clothing-image|{{#invoke:TitleCase|main|{{{clothing|}}}}} CF Model.png}}}|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{clothing|}}}}}|CF}} |
− | | | + | |label5 = Default umbrella |
− | | | + | |data5 = [[File:{{{umbrella-image|{{#invoke:TitleCase|main|{{{umbrella|}}}}} CF Model.png}}}|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{umbrella|}}}}}|CF}} |
− | | | + | |labelbetween5-6 = Favorites |
− | | | + | |label6 = [[File:Smallcheckmark.png|link=]] Favorite clothing style |
− | | | + | |data6 = [[Clothing/City Folk/{{{favstyle|}}}|{{{favstyle|}}}]] |
− | | | + | |label7 = [[File:Smallxmark.png|link=]] Least favorite clothing style |
− | | | + | |data7 = [[Clothing/City Folk/{{{leastfavstyle|}}}|{{{leastfavstyle|}}}]] |
− | | | + | |label8 = Favorite furniture styles |
− | | | + | |data8 = <!--[[Furniture/City Folk/-->{{{favfurnstyle1|}}}<!--|{{{favfurnstyle1|}}}]]--> and <!--[[Furniture/City Folk/-->{{{favfurnstyle2|}}}<!--|{{{favfurnstyle2|}}}]]--> |
− | | | + | |label9 = Favorite furniture color |
− | }} | + | |data9 = [[Furniture/City Folk/{{{favcolor|}}}|{{Color|{{{favcolor|}}}|small=yes}}]] |
+ | |labelend = Favorite series | ||
+ | |dataend = [[{{{favseries|}}} Series|{{{favseries|}}} Series]] | ||
+ | }}<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:City Folk characters]]}}</includeonly><noinclude>{{Documentation}}[[Category:Villager info templates]]</noinclude> |
Latest revision as of 19:46, April 25, 2024
This template defines the table "cf_villager". View table.
Birthday | Personality | Catchphrase |
---|---|---|
No results [[File:Starsign No results NH Icon.png|32px|No results|link=No results]] | [[No results]] | |
Default clothing | 32px [[Item: (City Folk)|]] | |
Default umbrella | 32px [[Item: (City Folk)|]] | |
Favorites | ||
Favorite clothing style | [[Clothing/City Folk/|]] | |
Least favorite clothing style | [[Clothing/City Folk/|]] | |
Favorite furniture styles | and | |
Favorite furniture color | ||
Favorite series | Series |
Template documentation (view)
Usage
{{CFVillagerInfo |name = |species = |gender = |personality = |birthday-month = |birthday = |sign = |catchphrase = |starter = |clothing = |umbrella = |favstyle = |leastfavstyle = |favfurnstyle1 = |favfurnstyle2 = |favcolor = |favseries = }}
Maple Example
Birthday | Personality | Catchphrase |
---|---|---|
June 15 | Normal | honey |
Default clothing | Citrus Gingham | |
Default umbrella | Petal Parasol | |
Favorites | ||
Favorite clothing style | Cute | |
Least favorite clothing style | Striking | |
Favorite furniture styles | Dignified and Trendy | |
Favorite furniture color | Yellow
| |
Favorite series | Ranch Series |
{{CFVillagerInfo |name = Maple |species = Bear cub |gender = Female |personality = Normal |birthday-month = June |birthday = 15 |sign = Gemini |catchphrase = honey |starter = Yes |clothing = Citrus Gingham |umbrella = Petal Parasol |favstyle = Cute |leastfavstyle = Striking |favfurnstyle1 = Dignified |favfurnstyle2 = Trendy |favcolor = Yellow |favseries = Ranch }}