Difference between revisions of "Template:PGVillagerInfo"

From Nookipedia, the Animal Crossing wiki
m
m
Line 52: Line 52:
 
|label          = Species
 
|label          = Species
 
|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}}]]
 
|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        = Gender
+
|label2        = Personality
|data2         = {{#cargo_query:table=villager|fields=gender|where=_pageTitle="{{PAGENAME}}"|no html}}
+
|data2          = [[{{{personality|}}}]]
|label3        = Personality
+
|label3         = Catchphrase
|data3         = [[{{{personality|}}}]]
+
|data3         = {{{catchphrase|}}}
|label4        = Star sign
+
|label4         = Default Clothing
|data4          = [[File:Starsign {{{sign|}}} NH Icon.png|32px|{{{sign|}}}|link=Star sign]] {{{sign|}}}
+
|data4         = [[File:{{{clothes|}}} PG Model.png|32px|link=Item:{{{clothes|}}} (Animal Crossing)]] {{I|{{{clothes|}}}|Animal Crossing}}
|label5         = Catchphrase
+
|label5         = {{#if:{{{clothes-plus|}}}|Default Clothing ({{DnM+|shortest|nolink}})|}}
|data5         = {{{catchphrase|}}}
+
|data5         = [[File:{{{clothes-plus|}}} DnM+ Model.png|32px|link=Item:{{{clothes-plus|}}} (Doubutsu no Mori+)]] {{I|{{{clothes-plus|}}}|Doubutsu no Mori+}}
|label6         = Default Clothing
+
|label6         = {{#if:{{{clothes-dnm|}}}|Default Clothing ({{DnM|shortest|nolink}})|}}
|data6         = [[File:{{{clothes|}}} PG Model.png|32px|link=Item:{{{clothes|}}} (Animal Crossing)]] {{I|{{{clothes|}}}|Animal Crossing}}
+
|data6         = [[File:{{{clothes-dnm|}}} DnM Model.png|32px|link=Item:{{{clothes-dnm|}}} (Doubutsu no Mori)]] {{I|{{{clothes-dnm|}}}|Doubutsu no Mori}}
|label7         = {{#if:{{{clothes-plus|}}}|Default Clothing ({{DnM+|shortest|nolink}})|}}
+
|label7         = Default Umbrella
|data7         = [[File:{{{clothes-plus|}}} DnM+ Model.png|32px|link=Item:{{{clothes-plus|}}} (Doubutsu no Mori+)]] {{I|{{{clothes-plus|}}}|Doubutsu no Mori+}}
+
|data7         = [[File:{{{umbrella|}}} PG Model.png|32px|link=Item:{{{umbrella|}}} (Animal Crossing)]] {{I|{{{umbrella|}}}|Animal Crossing}}
|label8         = {{#if:{{{clothes-dnm|}}}|Default Clothing ({{DnM|shortest|nolink}})|}}
+
|label8        = Star sign ({{DnMe+|shortest|nolink}})
|data8         = [[File:{{{clothes-dnm|}}} DnM Model.png|32px|link=Item:{{{clothes-dnm|}}} (Doubutsu no Mori)]] {{I|{{{clothes-dnm|}}}|Doubutsu no Mori}}
+
|data8          = [[File:Starsign {{{sign|}}} NH Icon.png|32px|{{{sign|}}}|link=Star sign]] {{{sign|}}}
|label9         = Default Umbrella
+
|label9         = {{#if:{{{favfruit|}}}|[[File:Smallcheckmark.png]] Favorite Fruit|}}
|data9         = [[File:{{{umbrella|}}} PG Model.png|32px|link=Item:{{{umbrella|}}} (Animal Crossing)]] {{I|{{{umbrella|}}}|Animal Crossing}}
+
|data9         = [[File:{{{favfruit|}}} PG Sprite.png]] {{{favfruit|}}}
|label10         = {{#if:{{{favfruit|}}}|[[File:Smallcheckmark.png]] Favorite Fruit|}}
+
|label10        = {{#if:{{{allergicfruit|}}}|[[File:Smallxmark.png]] Allergic Fruit|}}
|data10         = [[File:{{{favfruit|}}} PG Sprite.png]] {{{favfruit|}}}
+
|data10        = [[File:{{{allergicfruit|}}} PG Sprite.png]] {{{allergicfruit|}}}
|label11        = {{#if:{{{allergicfruit|}}}|[[File:Smallxmark.png]] Allergic Fruit|}}
+
|label11       = [[File:Smallcheckmark.png]] Favorite Style ({{DnMe+|shortest|nolink}})
|data11          = [[File:{{{allergicfruit|}}} PG Sprite.png]] {{{allergicfruit|}}}
+
|data11         = {{{favclothing|Unknown}}}
|label12       = [[File:Smallcheckmark.png]] Favorite Clothing Style ({{DnMe+|shortest|nolink}})
+
|label12       = [[File:Smallxmark.png]] Least Favorite Style ({{DnMe+|shortest|nolink}})
|data12         = {{{favclothing|Unknown}}}
+
|data12         = {{{leastfavclothing|Unknown}}}
|label13       = [[File:Smallxmark.png]] Least Favorite Clothing Style ({{DnMe+|shortest|nolink}})
 
|data13         = {{{leastfavclothing|Unknown}}}
 
 
|labelend      = {{#if:{{{songgift|}}}|Live Song Gift ({{DnMe+|shortest|nolink}})|}}
 
|labelend      = {{#if:{{{songgift|}}}|Live Song Gift ({{DnMe+|shortest|nolink}})|}}
 
|dataend        = {{#if:{{{songgift|}}}|[[{{{songgift|}}}]]|}}
 
|dataend        = {{#if:{{{songgift|}}}|[[{{{songgift|}}}]]|}}
 
}}
 
}}
 
</div><noinclude>{{Documentation}}[[Category:Cargo templates]][[Category:Villager info templates]]</noinclude>
 
</div><noinclude>{{Documentation}}[[Category:Cargo templates]][[Category:Villager info templates]]</noinclude>

Revision as of 17:30, March 23, 2021

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 (DnMe+) 32px link=Star sign
Smallcheckmark.png Favorite Style (DnMe+) Unknown
Smallxmark.png Least Favorite Style (DnMe+) Unknown

No documentation for Template:PGVillagerInfo exists. Create it.