Difference between revisions of "Template:Villager Info"
From Nookipedia, the Animal Crossing wiki
m (Text replacement - "nh_clothing.style" to "nh_clothing.style1") |
m (testing 2 styles) |
||
Line 148: | Line 148: | ||
<!--Second Table--> | <!--Second Table--> | ||
<div class="flex-item"> | <div class="flex-item"> | ||
− | |||
− | |||
− | |||
− | |||
{| class="collapsible collapsed" align="center" width="100%" cellpadding="0px" style="text-align:center; background-color:#FFDD66; border-top: 3px solid #FFDD66; border-right: 3px solid #FFDD66; border-left: 3px solid #FFDD66; {{roundy|10px}}" | {| class="collapsible collapsed" align="center" width="100%" cellpadding="0px" style="text-align:center; background-color:#FFDD66; border-top: 3px solid #FFDD66; border-right: 3px solid #FFDD66; border-left: 3px solid #FFDD66; {{roundy|10px}}" | ||
! colspan="2" | Ideal {{#switch:{{{game|NL}}}|WW=Clothing|CF=Furniture|NL|NH=Gifts}} for {{{name|{{PAGENAME}}}}} – {{#switch:{{{game|NL}}}|WW={{{favclothing|}}}|CF={{{favcolor|}}} {{{favgenre|}}}|NL={{{favcolor|}}} {{{favclothing|}}}|NH={{{favcolor1|}}} {{#if:{{{favcolor2|}}}|/ {{{favcolor2|}}}|}} {{{favstyle1|}}} {{#if:{{{favstyle2|}}}| and {{{favstyle2|}}}|}} Items}} | ! colspan="2" | Ideal {{#switch:{{{game|NL}}}|WW=Clothing|CF=Furniture|NL|NH=Gifts}} for {{{name|{{PAGENAME}}}}} – {{#switch:{{{game|NL}}}|WW={{{favclothing|}}}|CF={{{favcolor|}}} {{{favgenre|}}}|NL={{{favcolor|}}} {{{favclothing|}}}|NH={{{favcolor1|}}} {{#if:{{{favcolor2|}}}|/ {{{favcolor2|}}}|}} {{{favstyle1|}}} {{#if:{{{favstyle2|}}}| and {{{favstyle2|}}}|}} Items}} | ||
Line 170: | Line 166: | ||
|join on=nh_clothing_variation.en_name = nh_clothing.en_name | |join on=nh_clothing_variation.en_name = nh_clothing.en_name | ||
|fields=nh_clothing_variation.en_name=name,nh_clothing_variation.variation,nh_clothing_variation.image=image,nh_clothing.buy1_price=buy,nh_clothing.buy1_currency=currency,nh_clothing.availability1,nh_clothing.availability2 | |fields=nh_clothing_variation.en_name=name,nh_clothing_variation.variation,nh_clothing_variation.image=image,nh_clothing.buy1_price=buy,nh_clothing.buy1_currency=currency,nh_clothing.availability1,nh_clothing.availability2 | ||
− | |where=nh_clothing.vill_equip=1 AND nh_clothing.style1='{{{favstyle1| | + | |where=nh_clothing.vill_equip=1 AND nh_clothing.style1='{{{favstyle1|}}}' AND nh_clothing_variation.color1='{{{favcolor1|}}}' AND nh_clothing_variation.color2='{{{favcolor2|{{{favcolor1|}}}}}}' {{#if:{{{favcolor2|}}}|OR nh_clothing.vill_equip=1 AND nh_clothing.style1='{{{favstyle1|}}}' AND nh_clothing_variation.color1='{{{favcolor2|}}}' AND nh_clothing_variation.color2='{{{favcolor1|}}}'|}} {{#if:{{{favstyle2|}}}|OR nh_clothing.vill_equip=1 AND nh_clothing.style1='{{{favstyle2|}}}' AND nh_clothing_variation.color1='{{{favcolor1|}}}' AND nh_clothing_variation.color2='{{{favcolor2|{{{favcolor1|}}}}}}' {{#if:{{{favcolor2|}}}|OR nh_clothing.vill_equip=1 AND nh_clothing.style1='{{{favstyle2|}}}' AND nh_clothing_variation.color1='{{{favcolor2|}}}' AND nh_clothing_variation.color2='{{{favcolor1|}}}'|}}|}} OR nh_clothing.style2='{{{favstyle1|}}}' AND nh_clothing_variation.color1='{{{favcolor1|}}}' AND nh_clothing_variation.color2='{{{favcolor2|{{{favcolor1|}}}}}}' {{#if:{{{favcolor2|}}}|OR nh_clothing.vill_equip=1 AND nh_clothing.style2='{{{favstyle1|}}}' AND nh_clothing_variation.color1='{{{favcolor2|}}}' AND nh_clothing_variation.color2='{{{favcolor1|}}}'|}} {{#if:{{{favstyle2|}}}|OR nh_clothing.vill_equip=1 AND nh_clothing.style2='{{{favstyle2|}}}' AND nh_clothing_variation.color1='{{{favcolor1|}}}' AND nh_clothing_variation.color2='{{{favcolor2|{{{favcolor1|}}}}}}' {{#if:{{{favcolor2|}}}|OR nh_clothing.vill_equip=1 AND nh_clothing.style2='{{{favstyle2|}}}' AND nh_clothing_variation.color1='{{{favcolor2|}}}' AND nh_clothing_variation.color2='{{{favcolor1|}}}'|}}|}} |
|order by=nh_clothing_variation.en_name | |order by=nh_clothing_variation.en_name | ||
|format=template | |format=template | ||
|template=Ideal NH Gifts Navigate | |template=Ideal NH Gifts Navigate | ||
|named args=yes | |named args=yes | ||
− | |limit= | + | |limit=300 |
}} | }} | ||
}} | }} |
Revision as of 10:11, August 19, 2020
Ideal Gifts for Villager Info – | |||||
---|---|---|---|---|---|
| |||||
|
Template documentation (view)
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, caution is advised before editing. Any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
Example
|
Ideal Gifts for Villager Info – (Favorite Color) (Favorite) | ||||
---|---|---|---|---|
| ||||
|
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 = }}