Difference between revisions of "Template:PGVillagerInfo"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) m (Self-undo for now) |
HylianAngel (talk | contribs) (Fruit preferences label.) |
||
(45 intermediate revisions by 6 users not shown) | |||
Line 3: | Line 3: | ||
|url = String | |url = String | ||
|name = String | |name = String | ||
+ | |ja_name = String | ||
+ | |fr_name = String | ||
+ | |de_name = String | ||
+ | |it_name = String | ||
+ | |es_name = String | ||
+ | |zh_name = String | ||
+ | |romanized_name = String | ||
|image = String | |image = String | ||
|image_url = String | |image_url = String | ||
Line 10: | Line 17: | ||
|sign = String | |sign = String | ||
|catchphrase = String | |catchphrase = String | ||
+ | |ja_phrase = String | ||
+ | |fr_phrase = String | ||
+ | |de_phrase = String | ||
+ | |it_phrase = String | ||
+ | |es_phrase = String | ||
+ | |zh_phrase = String | ||
|clothing = String | |clothing = String | ||
+ | |clothing_ique = String | ||
+ | |clothing_e_plus = String | ||
+ | |clothing_plus = String | ||
+ | |clothing_dnm = String | ||
|umbrella = String | |umbrella = String | ||
− | | | + | |in_dnm = Boolean |
− | | | + | |in_plus = Boolean |
+ | |in_pg = Boolean | ||
+ | |in_e_plus = Boolean | ||
+ | |in_ique = Boolean | ||
|islander = Boolean | |islander = Boolean | ||
|fav_fruit = String | |fav_fruit = String | ||
Line 20: | Line 40: | ||
|least_fav_clothing = String | |least_fav_clothing = String | ||
|song_gift = String | |song_gift = String | ||
+ | |starter = Boolean | ||
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store: | }}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store: | ||
_table=pg_villager | _table=pg_villager | ||
|url = {{canonicalurl:{{PAGENAME}}}} | |url = {{canonicalurl:{{PAGENAME}}}} | ||
|name = {{{name|}}} | |name = {{{name|}}} | ||
− | |image = {{#incat:New characters in Doubutsu no Mori e+|{{ | + | |ja_name = {{{ja-name|}}} |
− | |image_url = {{filepath:{{#incat:New characters in Doubutsu no Mori e+|{{ | + | |fr_name = {{{fr-name|}}} |
− | |sprite = {{# | + | |de_name = {{{de-name|}}} |
− | |sprite_url = {{filepath:{{# | + | |it_name = {{{it-name|}}} |
+ | |es_name = {{{es-name|}}} | ||
+ | |zh_name = {{{zh-name|}}} | ||
+ | |romanized_name = {{{romanized-name|}}} | ||
+ | |image = {{{image|{{#incat:New characters in Doubutsu no Mori e+|{{{romanized-name|}}} DnMe+ Model.png|{{{romanized-name|}}} PG Model.png}}}}} | ||
+ | |image_url = {{filepath:{{{image|{{#incat:New characters in Doubutsu no Mori e+|{{{romanized-name|}}} DnMe+ Model.png|{{{romanized-name|}}} PG Model.png}}}}}}} | ||
+ | |sprite = {{#if:{{{islander|}}}|{{{romanized-name|}}} AI.png|{{{romanized-name|}}} DnMe+ Minigame.png}} | ||
+ | |sprite_url = {{filepath:{{#if:{{{islander|}}}|{{{romanized-name|}}} AI.png|{{{romanized-name|}}} DnMe+ Minigame.png}}}} | ||
|species = {{#cargo_query:table=villager|fields=species|where=_pageTitle="{{PAGENAME}}"|no html}} | |species = {{#cargo_query:table=villager|fields=species|where=_pageTitle="{{PAGENAME}}"|no html}} | ||
|gender = {{#cargo_query:table=villager|fields=gender|where=_pageTitle="{{PAGENAME}}"|no html}} | |gender = {{#cargo_query:table=villager|fields=gender|where=_pageTitle="{{PAGENAME}}"|no html}} | ||
Line 33: | Line 61: | ||
|sign = {{{sign|}}} | |sign = {{{sign|}}} | ||
|catchphrase = {{{catchphrase|}}} | |catchphrase = {{{catchphrase|}}} | ||
+ | |ja_phrase = {{{ja-phrase|}}} | ||
+ | |fr_phrase = {{{fr-phrase|}}} | ||
+ | |de_phrase = {{{de-phrase|}}} | ||
+ | |it_phrase = {{{it-phrase|}}} | ||
+ | |es_phrase = {{{es-phrase|}}} | ||
+ | |zh_phrase = {{{zh-phrase|}}} | ||
|clothing = {{{clothes|}}} | |clothing = {{{clothes|}}} | ||
+ | |clothing_ique = {{{clothes-ique|}}} | ||
+ | |clothing_e_plus = {{{clothes-e-plus|}}} | ||
+ | |clothing_plus = {{{clothes-plus|}}} | ||
+ | |clothing_dnm = {{{clothes-dnm|}}} | ||
|umbrella = {{{umbrella|}}} | |umbrella = {{{umbrella|}}} | ||
− | | | + | |in_dnm = {{#if:{{{in-dnm|}}}|Yes|No}} |
− | | | + | |in_plus = {{#if:{{{in-pg|}}}|Yes|No}} |
− | |islander = {{# | + | |in_pg = {{#if:{{{in-pg|}}}|Yes|No}} |
+ | |in_e_plus = {{#if:{{{in-e-plus|}}}|Yes|No}} | ||
+ | |in_ique = {{#if:{{{in-dnm|}}}|Yes|No}} | ||
+ | |islander = {{#if:{{{islander|}}}|Yes|No}} | ||
|fav_fruit = {{{favfruit|}}} | |fav_fruit = {{{favfruit|}}} | ||
|allergic_fruit = {{{allergicfruit|}}} | |allergic_fruit = {{{allergicfruit|}}} | ||
Line 43: | Line 84: | ||
|least_fav_clothing = {{{leastfavclothing|}}} | |least_fav_clothing = {{{leastfavclothing|}}} | ||
|song_gift = {{{songgift|}}} | |song_gift = {{{songgift|}}} | ||
+ | |starter = {{#ifeq:{{{starter|Yes}}}|Yes|Yes|No}} | ||
}}}}</includeonly> | }}}}</includeonly> | ||
{{Villager Info Box | {{Villager Info Box | ||
− | |image | + | |image = {{#ifexist:File:{{{image|{{{name|}}} PG Model.png}}}|{{{image|{{{name|}}} PG Model.png}}}|{{#incat:New characters in Doubutsu no Mori e+|{{{image|{{PAGENAME}} DnMe+ Model.png}}}|{{{image|{{PAGENAME}} DnMe+.png}}}}}}} |
− | + | |caption = {{#if:{{{in-dnm|}}}|{{Infobox Appearance|game={{DnM|shortest}}|appears=yes}}|{{Infobox Appearance|game={{DnM|shortest}}|appears=no}}}}{{#if:{{{in-pg|}}}|{{Infobox Appearance|game={{DnM+|shortest}}|appears=yes}}{{Infobox Appearance|game={{PG|shortest}}|appears=yes}}|{{Infobox Appearance|game={{DnM+|shortest}}|appears=no}}{{Infobox Appearance|game={{PG|shortest}}|appears=no}}}}{{#if:{{{in-e-plus|}}}|{{Infobox Appearance|game={{DnMe+|shortest}}|appears=yes}}|{{Infobox Appearance|game={{DnMe+|shortest}}|appears=no}}}}{{#if:{{{in-dnm|}}}|{{Infobox Appearance|game={{iQue|shortest}}|appears=yes}}|{{Infobox Appearance|game={{iQue|shortest}}|appears=no}}}} | |
− | |label | + | |label = Species |
− | |data | + | |data = [[{{#switch:{{#cargo_query:table=villager|fields=species|where=_pageTitle="{{PAGENAME}}"|no html}}|Frog|Octopus={{#cargo_query:table=villager|fields=species|where=_pageTitle="{{PAGENAME}}"|no html}} (species)|{{#cargo_query:table=villager|fields=species|where=_pageTitle="{{PAGENAME}}"|no html}}}}|{{#cargo_query:table=villager|fields=species|where=_pageTitle="{{PAGENAME}}"|no html}}]] |
− | |label2 | + | |label2 = Personality |
− | |data2 | + | |data2 = [[{{{personality|}}}]] |
− | |label3 | + | |label3 = Catchphrase |
− | |data3 | + | |data3 = {{{catchphrase|}}} |
− | |label4 | + | |label4 = Default clothing |
− | |data4 | + | |data4 = [[File:{{#invoke:TitleCase|main|{{{clothes|}}}}} PG Model.png|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{clothes|}}}}}|PG}} |
− | | | + | |label5 = {{#if:{{{clothes-ique|}}}|Default clothing ({{iQue|shortest|nolink}})|}} |
− | | | + | |data5 = [[File:{{#invoke:TitleCase|main|{{{clothes-ique|}}}}} iQue Model.png|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{clothes-ique|}}}}}|iQue}} |
− | |label6 | + | |label6 = {{#if:{{{clothes-e-plus|}}}|Default clothing ({{DnM|shortest|nolink}}, {{DnM+|shortest|nolink}}, {{DnMe+|shortest|nolink}})|}} |
− | |data6 | + | |data6 = [[File:{{#invoke:TitleCase|main|{{{clothes-e-plus|}}}}} PG Model.png|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{clothes-e-plus|}}}}}|PG}} |
− | | | + | |label7 = {{#if:{{{clothes-e-plus|}}}||{{#if:{{{clothes-plus|}}}|{{#if:{{{clothes-dnm|}}}|{{#if:{{{clothes-ique|}}}|Default clothing ({{DnM+|shortest|nolink}})|Default clothing ({{DnM|shortest|nolink}}, {{DnM+|shortest|nolink}})}}|Default clothing ({{DnM+|shortest|nolink}})}}|}}}} |
− | | | + | |data7 = [[File:{{#invoke:TitleCase|main|{{{clothes-plus|}}}}} DnM+ Model.png|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{clothes-plus|}}}}}|DnM+}} |
− | | | + | |label8 = {{#if:{{{clothes-e-plus|}}}||{{#if:{{{clothes-dnm|}}}|{{#if:{{{clothes-plus|}}}|{{#if:{{{clothes-ique|}}}|Default clothing ({{DnM|shortest|nolink}})|}}|Default clothing ({{DnM|shortest|nolink}})}}|}}}} |
− | | | + | |data8 = [[File:{{#invoke:TitleCase|main|{{{clothes-dnm|}}}}} DnM Model.png|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{clothes-dnm|}}}}}|DnM}} |
− | | | + | |label9 = Default umbrella |
− | | | + | |data9 = [[File:{{#invoke:TitleCase|main|{{{umbrella|}}}}} PG Model.png|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{umbrella|}}}}}|PG}} |
− | | | + | |labelbetween9-10 = {{#if:{{{favfruit|}}}|Fruit preferences|}} |
− | | | + | |label10 = {{#if:{{{favfruit|}}}|[[File:Smallcheckmark.png]] Favorite fruit|}} |
− | | | + | |data10 = [[File:{{#invoke:TitleCase|main|{{{favfruit|}}}}} PG Sprite.png|link=]] {{I|{{#invoke:SentenceCase|main|{{{favfruit|}}}}}|PG}} |
− | | | + | |label11 = {{#if:{{{allergicfruit|}}}|[[File:Smallxmark.png|link=]] Allergic fruit|}} |
− | |labelend | + | |data11 = [[File:{{#invoke:TitleCase|main|{{{allergicfruit|}}}}} PG Sprite.png|link=]] {{I|{{#invoke:SentenceCase|main|{{{allergicfruit|}}}}}|PG}} |
− | + | |labelbetween11-12 = {{#incat:Animal Crossing characters|{{DnMe+|nolink}} traits|}} | |
+ | |label12 = Star sign | ||
+ | |data12 = [[File:Starsign {{{sign|}}} NH Icon.png|32px|{{{sign|}}}|link={{{sign|}}}]] {{{sign|}}} | ||
+ | |label13 = [[File:Smallcheckmark.png|link=]] Favorite style | ||
+ | |data13 = [[Clothing/Doubutsu no Mori e+/{{{favclothing|}}}|{{{favclothing|}}}]] | ||
+ | |label14 = [[File:Smallxmark.png|link=]] Least favorite style | ||
+ | |data14 = [[Clothing/Doubutsu no Mori e+/{{{leastfavclothing|}}}|{{{leastfavclothing|}}}]] | ||
+ | |labelend = Live song gift | ||
+ | |dataend = {{#if:{{{songgift|}}}|[[{{{songgift-link|{{{songgift|}}}}}}|{{{songgift|}}}]]|Unknown<includeonly>[[Category:Villagers missing Doubutsu no Mori e+ song gift data]]</includeonly>}} | ||
}} | }} | ||
− | </div><noinclude>{{Documentation}}[[Category:Cargo templates]][[Category:Villager info templates]]</noinclude> | + | </div><includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#if:{{{in-dnm|}}}|[[Category:Doubutsu no Mori characters]]}}{{#if:{{{in-pg|}}}|[[Category:Doubutsu no Mori+ characters]][[Category:Animal Crossing characters]]}}{{#if:{{{in-e-plus|}}}|[[Category:Doubutsu no Mori e+ characters]]}}{{#if:{{{in-dnm|}}}|[[Category:Dòngwù Sēnlín characters]]}}}}</includeonly><noinclude>{{Documentation}}[[Category:Cargo templates]][[Category:Villager info templates]]</noinclude> |
Revision as of 22:39, December 31, 2022
This template defines the table "pg_villager". View table.
Species | Personality | Catchphrase |
---|---|---|
[[No results|No results]] | [[]] | |
Default clothing | 32px [[Item: (Animal Crossing)|]] | |
Default umbrella | 32px [[Item: (Animal Crossing)|]] | |
Star sign | 32px link= | |
Favorite style | [[Clothing/Doubutsu no Mori e+/|]] | |
Least favorite style | [[Clothing/Doubutsu no Mori e+/|]] | |
Live song gift | Unknown |
No documentation for Template:PGVillagerInfo exists. Create it.