Difference between revisions of "Template:WWVillagerInfo"

From Nookipedia, the Animal Crossing wiki
m
(Adding default hobby parameter)
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|name          = String
 
|name          = String
 
|name_sort    = String
 
|name_sort    = String
 +
|ja_name      = String
 +
|fr_name      = String
 +
|de_name      = String
 +
|it_name      = String
 +
|es_name      = String
 +
|ko_name      = String
 
|pic          = String
 
|pic          = String
 
|pic_url      = String
 
|pic_url      = String
Line 9: Line 15:
 
|sign          = String
 
|sign          = String
 
|catchphrase  = String
 
|catchphrase  = String
 +
|ja_phrase    = String
 +
|fr_phrase    = String
 +
|de_phrase    = String
 +
|it_phrase    = String
 +
|es_phrase    = String
 +
|ko_phrase    = String
 
|quote        = String
 
|quote        = String
 +
|starter      = Boolean
 
|clothing      = String
 
|clothing      = String
 
|umbrella      = String
 
|umbrella      = String
 +
|default_hobby = String
 
|favstyle      = String
 
|favstyle      = String
 
|leastfavstyle = String
 
|leastfavstyle = String
Line 21: Line 35:
 
|series1      = String
 
|series1      = String
 
|series2      = String
 
|series2      = String
|category      = String
+
|series3      = String
 +
|category1    = String
 +
|category2    = String
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
_table=ww_villager
 
_table=ww_villager
 
|name          = {{{name|{{PAGENAME}}}}}
 
|name          = {{{name|{{PAGENAME}}}}}
 
|name_sort    = {{{name_sort|{{{name|{{PAGENAME}}}}}}}}
 
|name_sort    = {{{name_sort|{{{name|{{PAGENAME}}}}}}}}
 +
|ja_name      = {{{ja-name|}}}
 +
|fr_name      = {{{fr-name|}}}
 +
|de_name      = {{{de-name|}}}
 +
|it_name      = {{{it-name|}}}
 +
|es_name      = {{{es-name|}}}
 +
|ko_name      = {{{ko-name|}}}
 
|pic          = {{{pic|{{{name|{{PAGENAME}}}}}PicACWW.png}}}
 
|pic          = {{{pic|{{{name|{{PAGENAME}}}}}PicACWW.png}}}
 
|pic_url      = {{filepath:{{{pic|File:{{{name|{{PAGENAME}}}}}PicACWW.png}}}}}
 
|pic_url      = {{filepath:{{{pic|File:{{{name|{{PAGENAME}}}}}PicACWW.png}}}}}
Line 32: Line 54:
 
|sign          = {{{sign|{{#cargo_query:table=villager|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}}
 
|sign          = {{{sign|{{#cargo_query:table=villager|fields=sign|where=_pageTitle="{{PAGENAME}}"|no html}}}}}
 
|catchphrase  = {{{catchphrase|{{#cargo_query:table=villager|fields=phrase|where=_pageTitle="{{PAGENAME}}"|no html}}}}}
 
|catchphrase  = {{{catchphrase|{{#cargo_query:table=villager|fields=phrase|where=_pageTitle="{{PAGENAME}}"|no html}}}}}
 +
|ja_phrase    = {{{ja-phrase|}}}
 +
|fr_phrase    = {{{fr-phrase|}}}
 +
|de_phrase    = {{{de-phrase|}}}
 +
|it_phrase    = {{{it-phrase|}}}
 +
|es_phrase    = {{{es-phrase|}}}
 +
|ko_phrase    = {{{ko-phrase|}}}
 
|quote        = {{{quote|}}}
 
|quote        = {{{quote|}}}
 +
|starter      = {{{starter|Yes}}}
 
|clothing      = {{{clothing|}}}
 
|clothing      = {{{clothing|}}}
 
|umbrella      = {{{umbrella|}}}
 
|umbrella      = {{{umbrella|}}}
 +
|default_hobby = {{{default-hobby|}}}
 
|favstyle      = {{{favstyle|}}}
 
|favstyle      = {{{favstyle|}}}
 
|leastfavstyle = {{{leastfavstyle|}}}
 
|leastfavstyle = {{{leastfavstyle|}}}
Line 44: Line 74:
 
|series1      = {{{series1|}}}
 
|series1      = {{{series1|}}}
 
|series2      = {{{series2|}}}
 
|series2      = {{{series2|}}}
|category      = {{{category|}}}
+
|series3      = {{{series3|}}}
 +
|category1    = {{{category1|}}}
 +
|category2    = {{{category2|}}}
 
}}}}</includeonly>
 
}}}}</includeonly>
 
{{Villager Info Box
 
{{Villager Info Box
Line 62: Line 94:
 
|data5          = <!-- {{I|{{{umbrella|}}}|Wild World}} --> {{#if:{{{umbrella|}}}|[[File:{{{umbrella-image|{{{umbrella|}}} WW Model.png}}}|32px|link=]]}} {{{umbrella|}}}
 
|data5          = <!-- {{I|{{{umbrella|}}}|Wild World}} --> {{#if:{{{umbrella|}}}|[[File:{{{umbrella-image|{{{umbrella|}}} WW Model.png}}}|32px|link=]]}} {{{umbrella|}}}
 
|label6        = [[File:Smallcheckmark.png|link=]] Favorite style
 
|label6        = [[File:Smallcheckmark.png|link=]] Favorite style
|data6          = <!--[[Clothing/Wild World/-->{{{favstyle|}}}<!--|{{{favstyle|}}}]]-->
+
|data6          = <!--[[Clothing/Wild World/-->{{{favstyle|Unkown}}}<!--|{{{favstyle|}}}]]-->
 
|label7        = [[File:Smallxmark.png|link=]] Least favorite style
 
|label7        = [[File:Smallxmark.png|link=]] Least favorite style
|data7          = <!--[[Clothing/Wild World/-->{{{leastfavstyle|}}}<!--|{{{leastfavstyle|}}}]]-->
+
|data7          = <!--[[Clothing/Wild World/-->{{{leastfavstyle|Unknown}}}<!--|{{{leastfavstyle|}}}]]-->
|label8        = {{#if:{{{color1|}}}|Favorite color}}{{#if:{{{color2|}}}|s}}
+
|label8         = Default hobby
|data8         = {{#if:{{{color1|}}}|{{Color|{{{color1|}}}|small=yes}}}}{{#if:{{{color2|}}}|{{Color|{{{color2|}}}|small=yes}}}}{{#if:{{{color3|}}}|{{Color|{{{color3|}}}|small=yes}}}}
+
|data8          = {{{default-hobby|Unknown}}}
|label9         = {{#if:{{{genre1|}}}|Favorite genre}}{{#if:{{{genre2|}}}|s}}
+
|labelbetween8-9= Furniture requests
|data9         = {{#if:{{{genre1|}}}|{{{genre1|Unknown}}}}} {{#if:{{{genre2|}}}|/ {{{genre2|}}}}}
+
|label9         = {{#if:{{{color1|}}}|Color}}{{#if:{{{color2|}}}|s}}
|label10       = {{#if:{{{series1|}}}|Favorite 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}}]]}}
|data10         = {{#if:{{{series1|}}}|[[{{{series1|}}}]]}} {{#if:[[{{{series2|}}}]]|/ [[{{{series2|}}}]]}}
+
|label10         = {{#if:{{{genre1|}}}|Genre}}{{#if:{{{genre2|}}}|s}}
|labelend      = {{#if:{{{category1|}}}|Favorite category}}
+
|data10         = {{#if:{{{genre1|}}}|[[Furniture/Wild World/{{{genre1|Unknown}}}|{{{genre1|}}}]]}} {{#if:{{{genre2|}}}|/ [[Furniture/Wild World/{{{genre2|}}}|{{{genre2|}}}]]}}
|dataend        = {{#if:{{{category1|}}}|[[{{{category1|}}}]]}} {{#if:{{{category2|}}}|/ [[{{{category2|}}}]]}}
+
|label11       = {{#if:{{{series1|}}}|Series}}
 +
|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|}}}]]}}
 
}}<noinclude>{{Documentation}}</noinclude>
 
}}<noinclude>{{Documentation}}</noinclude>

Revision as of 20:32, December 15, 2021

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=Star sign]] [[No results]] No results
Default clothing 32px
Smallcheckmark.png Favorite style Unkown
Smallxmark.png Least favorite style 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 = 
}}