Difference between revisions of "Template:PGVillagerInfo"

From Nookipedia, the Animal Crossing wiki
(Adding categories for DnM+ and iQue)
(for the sake of order; moving iQue category ahead of Doubutsu no Mori e+)
(One intermediate revision by the same user not shown)
Line 29: Line 29:
 
|umbrella = String
 
|umbrella = String
 
|in_dnm = Boolean
 
|in_dnm = Boolean
 +
|in_plus = Boolean
 
|in_pg = Boolean
 
|in_pg = Boolean
 
|in_e_plus = Boolean
 
|in_e_plus = Boolean
 +
|in_ique = Boolean
 
|islander = Boolean
 
|islander = Boolean
 
|fav_fruit = String
 
|fav_fruit = String
Line 70: Line 72:
 
|umbrella = {{{umbrella|}}}
 
|umbrella = {{{umbrella|}}}
 
|in_dnm = {{#if:{{{in-dnm|}}}|Yes|No}}
 
|in_dnm = {{#if:{{{in-dnm|}}}|Yes|No}}
 +
|in_plus = {{#if:{{{in-pg|}}}|Yes|No}}
 
|in_pg = {{#if:{{{in-pg|}}}|Yes|No}}
 
|in_pg = {{#if:{{{in-pg|}}}|Yes|No}}
 
|in_e_plus = {{#if:{{{in-e-plus|}}}|Yes|No}}
 
|in_e_plus = {{#if:{{{in-e-plus|}}}|Yes|No}}
 +
|in_ique = {{#if:{{{in-dnm|}}}|Yes|No}}
 
|islander = {{#if:{{{islander|}}}|Yes|No}}
 
|islander = {{#if:{{{islander|}}}|Yes|No}}
 
|fav_fruit = {{{favfruit|}}}
 
|fav_fruit = {{{favfruit|}}}
Line 82: Line 86:
 
{{Villager Info Box
 
{{Villager Info Box
 
|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}}}}}}}
 
|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}}}}
+
|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          = 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}}]]
Line 112: Line 116:
 
|dataend        = {{#if:{{{songgift|}}}|[[{{{songgift-link|{{{songgift|}}}}}}|{{{songgift|}}}]]|Unknown<includeonly>[[Category:Villagers missing Doubutsu no Mori e+ song gift data]]</includeonly>}}
 
|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]][[Category:Dòngwù Sēnlín characters]]}}{{#if:{{{in-pg|}}}|[[Category:Doubutsu no Mori+ characters]][[Category:Animal Crossing characters]]}}{{#if:{{{in-e-plus|}}}|[[Category:Doubutsu no Mori e+ 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 19:39, September 18, 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 (DnMe+) 32px link=
Smallcheckmark.png Favorite style (DnMe+) [[Clothing/Doubutsu no Mori e+/|]]
Smallxmark.png Least favorite style (DnMe+) [[Clothing/Doubutsu no Mori e+/|]]
Live song gift (DnMe+) Unknown

No documentation for Template:PGVillagerInfo exists. Create it.