Difference between revisions of "Template:PGVillagerInfo"
From Nookipedia, the Animal Crossing wiki
HylianAngel (talk | contribs) (Combined identical clothes with a terrible edit that only works if all existing conditions never change. PROMPTLY REVERT this edit if any changes are made to the display of PG/DnMe+ shared clothes or if any new first-gen. clothing discoveries are documented.) |
HylianAngel (talk | contribs) (Fruit preferences label.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 87: | Line 87: | ||
}}}}</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 | + | |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 | + | |label5 = {{#if:{{{clothes-ique|}}}|Default clothing ({{iQue|shortest|nolink}})|}} |
− | |data5 | + | |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 | + | |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 | + | |data7 = [[File:{{#invoke:TitleCase|main|{{{clothes-plus|}}}}} DnM+ Model.png|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{clothes-plus|}}}}}|DnM+}} |
− | |label8 | + | |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 | + | |data8 = [[File:{{#invoke:TitleCase|main|{{{clothes-dnm|}}}}} DnM Model.png|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{clothes-dnm|}}}}}|DnM}} |
− | |label9 | + | |label9 = Default umbrella |
− | |data9 | + | |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|}} |
− | | | + | |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|}} |
− | |label13 | + | |label12 = Star sign |
− | + | |data12 = [[File:Starsign {{{sign|}}} NH Icon.png|32px|{{{sign|}}}|link={{{sign|}}}]] {{{sign|}}} | |
− | |label14 | + | |label13 = [[File:Smallcheckmark.png|link=]] Favorite style |
− | |data14 | + | |data13 = [[Clothing/Doubutsu no Mori e+/{{{favclothing|}}}|{{{favclothing|}}}]] |
− | |labelend | + | |label14 = [[File:Smallxmark.png|link=]] Least favorite style |
− | |dataend | + | |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><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> | </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.