Difference between revisions of "Template:Villager Info"
From Nookipedia, the Animal Crossing wiki
m |
m |
||
Line 116: | Line 116: | ||
|CF={{Ideal Furniture/{{{favgenre|}}}|{{{favcolor|}}}}} | |CF={{Ideal Furniture/{{{favgenre|}}}|{{{favcolor|}}}}} | ||
|NL={{Ideal Gifts/{{{favclothing|}}}|{{{favcolor|}}}}} | |NL={{Ideal Gifts/{{{favclothing|}}}|{{{favcolor|}}}}} | ||
− | |NH={{ | + | |NH={{#cargo_query: |
+ | table=nh_clothing_variations,nh_clothing | ||
+ | |join on=nh_clothing_variations.en_name = nh_clothing.en_name | ||
+ | |fields=nh_clothing_variations.en_name=name,nh_clothing_variations.image=image,nh_clothing.buy1_wikitext=buy1,nh_clothing.availability1,nh_clothing.availability2 | ||
+ | |where=nh_clothing.style='{{{favstyle1|Simple}}}' AND nh_clothing_variations.color1='{{{favcolor1|}}}' AND nh_clothing_variations.color2='{{{favcolor2|{{{favcolor1|}}}}}}' {{#if:{{{favcolor2|}}}|OR nh_clothing.style='{{{favstyle1|}}}' AND nh_clothing_variations.color1='{{{favcolor2|}}}' AND nh_clothing_variations.color2='{{{favcolor1|}}}'|}} {{#if:{{{favstyle2|}}}|OR nh_clothing.style='{{{favstyle2|}}}' AND nh_clothing_variations.color1='{{{favcolor1|}}}' AND nh_clothing_variations.color2='{{{favcolor2|{{{favcolor1|}}}}}}' {{#if:{{{favcolor2|}}}|OR nh_clothing.style='{{{favstyle2|}}}' AND nh_clothing_variations.color1='{{{favcolor2|}}}' AND nh_clothing_variations.color2='{{{favcolor1|}}}'|}}|}} | ||
+ | |order by=nh_clothing_variations.en_name | ||
+ | |format=template | ||
+ | |template=Ideal NH Gifts Navigate | ||
+ | |named args=yes | ||
+ | |limit=50 | ||
+ | }} | ||
}} | }} | ||
|} | |} |
Revision as of 13:10, June 8, 2020
|
|
Example
User:Vmario97/Sandbox/Villager Info
Usage
For Animal Crossing: Wild World
{{Villager Info |game = WW |pic = |quote = |favclothing = |leastfavclothing = }}
For Animal Crossing: City Folk
{{Villager Info |game = CF |favclothing = |leastfavclothing = |favgenre = |favseries = |favcolor = }}
For Animal Crossing: New Leaf
{{Villager Info |game = NL |pic = |quote = |siblings = |skill = |goal = |fear = |favclothing = |leastfavclothing = |favcolor = |coffeetype = |milk = |sugar = }}
For Animal Crossing: New Horizons
{{Villager Info |game = NH |pic = |quote = |favstyle1 = |favstyle2 = |favcolor1 = |favcolor2 = }}