Difference between revisions of "Template:WWVillagerInfo"
From Nookipedia, the Animal Crossing wiki
m |
AlexBot2004 (talk | contribs) (Adding default hobby parameter) |
||
(22 intermediate revisions by 3 users 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 | ||
+ | |default_hobby = String | ||
|favstyle = String | |favstyle = String | ||
|leastfavstyle = String | |leastfavstyle = String | ||
+ | |color1 = String | ||
+ | |color2 = String | ||
+ | |color3 = String | ||
+ | |genre1 = String | ||
+ | |genre2 = String | ||
+ | |series1 = String | ||
+ | |series2 = 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}}}}}}}} | ||
− | |pic = {{{pic| | + | |ja_name = {{{ja-name|}}} |
− | |pic_url = {{filepath:{{{pic| | + | |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_url = {{filepath:{{{pic|File:{{{name|{{PAGENAME}}}}}PicACWW.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}} | ||
|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|}}} | ||
+ | |umbrella = {{{umbrella|}}} | ||
+ | |default_hobby = {{{default-hobby|}}} | ||
|favstyle = {{{favstyle|}}} | |favstyle = {{{favstyle|}}} | ||
|leastfavstyle = {{{leastfavstyle|}}} | |leastfavstyle = {{{leastfavstyle|}}} | ||
+ | |color1 = {{{color1|}}} | ||
+ | |color2 = {{{color2|}}} | ||
+ | |color3 = {{{color3|}}} | ||
+ | |genre1 = {{{genre1|}}} | ||
+ | |genre2 = {{{genre2|}}} | ||
+ | |series1 = {{{series1|}}} | ||
+ | |series2 = {{{series2|}}} | ||
+ | |series3 = {{{series3|}}} | ||
+ | |category1 = {{{category1|}}} | ||
+ | |category2 = {{{category2|}}} | ||
}}}}</includeonly> | }}}}</includeonly> | ||
{{Villager Info Box | {{Villager Info Box | ||
− | |image = {{{ | + | |image = {{{pic|{{{name|}}}PicACWW.png}}} |
|caption = ''{{{quote|}}}'' | |caption = ''{{{quote|}}}'' | ||
|imagesize = 128px | |imagesize = 128px | ||
Line 39: | Line 90: | ||
|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}} --> {{{clothing|}}} | + | |data4 = <!-- {{I|{{{clothing|}}}|Wild World}} --> [[File:{{{clothing-image|{{{clothing|}}} WW Model.png}}}|32px|link=]] {{{clothing|}}} |
|label5 = {{#if:{{{umbrella|}}}|Default umbrella|}} | |label5 = {{#if:{{{umbrella|}}}|Default umbrella|}} | ||
− | |data5 = <!-- {{I|{{{umbrella|}}}|Wild World}} --> {{{umbrella|}}} | + | |data5 = <!-- {{I|{{{umbrella|}}}|Wild World}} --> {{#if:{{{umbrella|}}}|[[File:{{{umbrella-image|{{{umbrella|}}} WW Model.png}}}|32px|link=]]}} {{{umbrella|}}} |
− | |label6 = [[File:Smallcheckmark.png]] 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 |
− | | | + | |data7 = <!--[[Clothing/Wild World/-->{{{leastfavstyle|Unknown}}}<!--|{{{leastfavstyle|}}}]]--> |
− | }} | + | |label8 = Default hobby |
+ | |data8 = {{{default-hobby|Unknown}}} | ||
+ | |labelbetween8-9= Furniture requests | ||
+ | |label9 = {{#if:{{{color1|}}}|Color}}{{#if:{{{color2|}}}|s}} | ||
+ | |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}}]]}} | ||
+ | |label10 = {{#if:{{{genre1|}}}|Genre}}{{#if:{{{genre2|}}}|s}} | ||
+ | |data10 = {{#if:{{{genre1|}}}|[[Furniture/Wild World/{{{genre1|Unknown}}}|{{{genre1|}}}]]}} {{#if:{{{genre2|}}}|/ [[Furniture/Wild World/{{{genre2|}}}|{{{genre2|}}}]]}} | ||
+ | |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> |
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 | |
Favorite style | Unkown | |
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 = }}