Difference between revisions of "Template:WWVillagerInfo"

From Nookipedia, the Animal Crossing wiki
(Adding parameters for non-English names and catchphrases)
(Undo revision 1116197 by HylianAngel (talk) Whoops don't need it for WW.)
Tag: Undo
 
(15 intermediate revisions by 3 users not shown)
Line 25: Line 25:
 
|clothing      = String
 
|clothing      = String
 
|umbrella      = String
 
|umbrella      = String
 +
|default_hobby = String
 
|favstyle      = String
 
|favstyle      = String
 
|leastfavstyle = String
 
|leastfavstyle = String
Line 30: Line 31:
 
|color2        = String
 
|color2        = String
 
|color3        = String
 
|color3        = String
 +
|color4        = String
 
|genre1        = String
 
|genre1        = String
 
|genre2        = String
 
|genre2        = String
Line 47: Line 49:
 
|es_name      = {{{es-name|}}}
 
|es_name      = {{{es-name|}}}
 
|ko_name      = {{{ko-name|}}}
 
|ko_name      = {{{ko-name|}}}
|pic          = {{{pic|{{{name|{{PAGENAME}}}}}PicACWW.png}}}
+
|pic          = {{{pic|{{{name|{{PAGENAME}}}}}'s Pic WW Texture.png}}}
|pic_url      = {{filepath:{{{pic|File:{{{name|{{PAGENAME}}}}}PicACWW.png}}}}}
+
|pic_url      = {{filepath:{{{pic|File:{{{name|{{PAGENAME}}}}}'s Pic WW Texture.png}}}}}
 
|birthday      = {{{birthday-month|{{#cargo_query:table=villager|fields=birthday|where=_pageTitle="{{PAGENAME}}"|no html}}}}} {{{birthday|}}}
 
|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}}
 
|birthday_sort = {{#cargo_query:table=villager|fields=birthday_sort|where=_pageTitle="{{PAGENAME}}"|no html}}
Line 63: Line 65:
 
|clothing      = {{{clothing|}}}
 
|clothing      = {{{clothing|}}}
 
|umbrella      = {{{umbrella|}}}
 
|umbrella      = {{{umbrella|}}}
 +
|default_hobby = {{{default-hobby|}}}
 
|favstyle      = {{{favstyle|}}}
 
|favstyle      = {{{favstyle|}}}
 
|leastfavstyle = {{{leastfavstyle|}}}
 
|leastfavstyle = {{{leastfavstyle|}}}
Line 68: Line 71:
 
|color2        = {{{color2|}}}
 
|color2        = {{{color2|}}}
 
|color3        = {{{color3|}}}
 
|color3        = {{{color3|}}}
 +
|color4        = {{{color4|}}}
 
|genre1        = {{{genre1|}}}
 
|genre1        = {{{genre1|}}}
 
|genre2        = {{{genre2|}}}
 
|genre2        = {{{genre2|}}}
Line 77: Line 81:
 
}}}}</includeonly>
 
}}}}</includeonly>
 
{{Villager Info Box
 
{{Villager Info Box
|image         = {{{pic|{{{name|}}}PicACWW.png}}}
+
|image           = {{{pic|{{{name|}}}'s Pic WW Texture.png}}}
|caption       = ''{{{quote|}}}''
+
|caption         = ''{{{quote|}}}''
|imagesize     = 128px
+
|imagesize       = 128px
|crisp         = yes
+
|crisp           = yes
|label         = Birthday
+
|label           = Birthday
|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=Star sign]]
+
|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         = Personality
+
|label2         = Personality
|data2         = [[{{{personality|{{#cargo_query:table=villager|fields=personality|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]]
+
|data2           = [[{{{personality|{{#cargo_query:table=villager|fields=personality|where=_pageTitle="{{PAGENAME}}"|no html}}}}}]]
|label3         = Catchphrase
+
|label3         = Catchphrase
|data3         = {{{catchphrase|{{#cargo_query:table=villager|fields=phrase|where=_pageTitle="{{PAGENAME}}"|no html}}}}}
+
|data3           = {{{catchphrase|{{#cargo_query:table=villager|fields=phrase|where=_pageTitle="{{PAGENAME}}"|no html}}}}}
|label4         = Default clothing
+
|label4         = Default clothing
|data4         = <!-- {{I|{{{clothing|}}}|Wild World}} --> [[File:{{{clothing-image|{{{clothing|}}} WW Model.png}}}|32px|link=]] {{{clothing|}}}
+
|data4           = [[File:{{{clothing-image|{{#invoke:TitleCase|main|{{{clothing|}}}}} WW Model.png}}}|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{clothing|}}}}}|Wild World}}
|label5        = {{#if:{{{umbrella|}}}|Default umbrella|}}
+
|label5         = Default umbrella
|data5         = <!-- {{I|{{{umbrella|}}}|Wild World}} --> {{#if:{{{umbrella|}}}|[[File:{{{umbrella-image|{{{umbrella|}}} WW Model.png}}}|32px|link=]]}} {{{umbrella|}}}
+
|data5          = [[File:{{{umbrella-image|{{#invoke:TitleCase|main|{{{umbrella|}}}}} WW Model.png}}}|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{umbrella|}}}}}|Wild World}}
|label6         = [[File:Smallcheckmark.png|link=]] Favorite style
+
|labelbetween5-6 = Favorites
|data6         = <!--[[Clothing/Wild World/-->{{{favstyle|}}}<!--|{{{favstyle|}}}]]-->
+
|label6         = [[File:Smallcheckmark.png|link=]] Favorite style
|label7         = [[File:Smallxmark.png|link=]] Least favorite style
+
|data6           = [[Clothing/Wild World/{{{favstyle|Unknown}}}|{{{favstyle|}}}]]
|data7         = <!--[[Clothing/Wild World/-->{{{leastfavstyle|}}}<!--|{{{leastfavstyle|}}}]]-->
+
|label7         = [[File:Smallxmark.png|link=]] Least favorite style
|labelbetween7-8= Furniture requests
+
|data7           = [[Clothing/Wild World/{{{leastfavstyle|Unknown}}}|{{{leastfavstyle|}}}]]
|label8        = {{#if:{{{color1|}}}|Color}}{{#if:{{{color2|}}}|s}}
+
|label8          = Default hobby
|data8          = {{#if:{{{color1|}}}|[[Furniture/Wild World/{{{color1|}}}|{{Color|{{{color1|}}}|small=yes}}]]}} {{#if:{{{color2|}}}|/ [[Furniture/Wild World/{{{color2|}}}|{{Color|{{{color2|}}}|small=yes}}]]}} {{#if:{{{color3|}}}|/ [[Furniture/Wild World/{{{color3|}}}|{{Color|{{{color3|}}}|small=yes}}]]}}
+
|data8          = [[Hobby#{{{default-hobby|}}}|{{{default-hobby|Unknown}}}]]
|label9         = {{#if:{{{genre1|}}}|Genre}}{{#if:{{{genre2|}}}|s}}
+
|labelbetween8-9 = Furniture requests
|data9         = {{#if:{{{genre1|}}}|[[Furniture/Wild World/{{{genre1|Unknown}}}|{{{genre1|}}}]]}} {{#if:{{{genre2|}}}|/ [[Furniture/Wild World/{{{genre2|}}}|{{{genre2|}}}]]}}
+
|label9          = {{#if:{{{color1|}}}|Color}}{{#if:{{{color2|}}}|s}}
|label10        = {{#if:{{{series1|}}}|Series}}
+
|data9          = {{#if:{{{color1|}}}|[[Furniture/Wild World/{{{color1|}}}|{{Color|{{{color1|}}}|small=yes}}]]}} {{#if:{{{color2|}}}|/ [[Furniture/Wild World/{{{color2|}}}|{{Color|{{{color2|}}}|small=yes}}]]}} {{#if:{{{color3|}}}|/ [[Furniture/Wild World/{{{color3|}}}|{{Color|{{{color3|}}}|small=yes}}]]}} {{#if:{{{color4|}}}|/ [[Furniture/Wild World/{{{color4|}}}|{{Color|{{{color4|}}}|small=yes}}]]}}
|data10        = {{#if:{{{series1|}}}|[[{{{series1|}}}]]}} {{#if:{{{series2|}}}|/ [[{{{series2|}}}]]}} {{#if:{{{series3|}}}|/ [[{{{series3|}}}]]}}
+
|label10         = {{#if:{{{genre1|}}}|Genre}}{{#if:{{{genre2|}}}|s}}
|labelend       = {{#if:{{{category1|}}}|Categor}}{{#if:{{{category1|}}}|{{#if:{{{category2|}}}|ies|y}}}}
+
|data10         = {{#if:{{{genre1|}}}|[[Furniture/Wild World/{{{genre1|Unknown}}}|{{{genre1|}}}]]}} {{#if:{{{genre2|}}}|/ [[Furniture/Wild World/{{{genre2|}}}|{{{genre2|}}}]]}}
|dataend       = {{#if:{{{category1|}}}|[[Furniture/Wild World/{{{category1|}}}|{{{category1|}}}]]}} {{#if:{{{category2|}}}|/ [[Furniture/Wild World/{{{category2|}}}|{{{category2|}}}]]}}
+
|label11        = {{#if:{{{series1|}}}|Series}}
}}<noinclude>{{Documentation}}</noinclude>
+
|data11          = {{#if:{{{series1|}}}|[[{{{series1|}}}]]}} {{#if:{{{series2|}}}|/ [[{{{series2|}}}]]}} {{#if:{{{series3|}}}|/ [[{{{series3|}}}]]}}
 +
|labelend       = {{#if:{{{category1|}}}|Categor}}{{#if:{{{category1|}}}|{{#if:{{{category2|}}}|ies|y}}}}
 +
|dataend         = {{#if:{{{category1|}}}|[[Furniture/Wild World/{{{category1|}}}|{{{category1|}}}]]}} {{#if:{{{category2|}}}|/ [[Furniture/Wild World/{{{category2|}}}|{{{category2|}}}]]}}
 +
}}<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Wild World characters]]}}</includeonly><noinclude>{{Documentation}}[[Category:Villager info templates]]</noinclude>

Latest revision as of 22:21, July 22, 2023

This template defines the table "ww_villager". View table.

Birthday Personality Catchphrase
No results [[File:Starsign No results NH Icon.png|32px|No results|link=No results]] [[No results]] No results
Default clothing 32px [[Item: (Wild World)|]]
Default umbrella 32px [[Item: (Wild World)|]]
Favorites
Smallcheckmark.png Favorite style [[Clothing/Wild World/Unknown|]]
Smallxmark.png Least favorite style [[Clothing/Wild World/Unknown|]]
Default hobby Unknown
Furniture requests

Template documentation (view)


Usage

{{WWVillagerInfo
|name = 
|ja-name = 
|fr-name = 
|de-name = 
|it-name = 
|es-name = 
|ko-name = 
|quote = 
|personality = 
|birthday-month = 
|birthday = 
|catchphrase = 
|ja-phrase = 
|fr-phrase = 
|de-phrase = 
|it-phrase = 
|es-phrase = 
|ko-phrase = 
|starter = 
|clothing = 
|umbrella = 
|favstyle = 
|leastfavstyle = 
|default-hobby = 
|color1 = 
|color2 = 
|color3 = 
|color4 = 
|genre1 = 
|genre2 = 
|series1 = 
|series2 = 
|series3 = 
|category1 = 
|category2 = 
}}