Difference between revisions of "Template:Villager Info"

From Nookipedia, the Animal Crossing wiki
m
m (Adjusting caption)
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| width="60%" |
+
<includeonly>{{#ifeq:{{NAMESPACE}}||{{#switch:{{{game|}}}|WW={{#cargo_store:
| width="42%" style="vertical-align: top; padding:0px;" |
+
_table=ww_villager
 +
|name ={{{name|{{PAGENAME}}}}}
 +
|name_sort = {{{name_sort|{{{name|{{PAGENAME}}}}}}}}
 +
|pic = {{{pic|}}}
 +
|quote = {{{quote|}}}
 +
|favclothing = {{{favclothing|}}}
 +
|leastfavclothing = {{{leastfavclothing|}}}
 +
}}|CF={{#cargo_store:
 +
_table=cf_villager
 +
|name ={{{name|{{PAGENAME}}}}}
 +
|name_sort = {{{name_sort|{{{name|{{PAGENAME}}}}}}}}
 +
|favclothing = {{{favclothing|}}}
 +
|leastfavclothing = {{{leastfavclothing|}}}
 +
|favgenre = {{{favgenre|}}}
 +
|favseries = {{{favseries|}}}
 +
|favcolor = {{{favcolor|}}}
 +
}}|NL={{#cargo_store:
 +
_table=nl_villager
 +
|name ={{{name|{{PAGENAME}}}}}
 +
|name_sort = {{{name_sort|{{{name|{{PAGENAME}}}}}}}}
 +
|pic = {{{pic|[[File:{{{name|{{PAGENAME}}}}}'s Pic {{#incat:Welcome amiibo characters|WA|NL}} Texture.png]]}}}
 +
|quote = {{{quote|}}}
 +
|siblings = {{{siblings|}}}
 +
|skill = {{{skill|}}}
 +
|goal = {{{goal|}}}
 +
|fear = {{{fear|}}}
 +
|favclothing = {{{favclothing|}}}
 +
|leastfavclothing = {{{leastfavclothing|}}}
 +
|favcolor = {{{favcolor|}}}
 +
|coffeetype = {{{coffeetype|}}}
 +
|milk = {{{milk|}}}
 +
|sugar = {{{sugar|}}}
 +
}}}}}}</includeonly><div class="flex-container">
 +
<div class="flex-item">
 
{| width="100%"  style="{{#switch: {{{game|}}} | WW | NL | NH = border-collapse:collapse;}} vertical-align: top;"
 
{| width="100%"  style="{{#switch: {{{game|}}} | WW | NL | NH = border-collapse:collapse;}} vertical-align: top;"
 
<!--Biography-->
 
<!--Biography-->
Line 8: Line 41:
 
! colspan="2" style="border: 2px solid #61939b; background:#8cbcd1; {{roundytop|10px}};" {{!}} Picture
 
! colspan="2" style="border: 2px solid #61939b; background:#8cbcd1; {{roundytop|10px}};" {{!}} Picture
 
{{!-}}
 
{{!-}}
{{!}} width="62px" {{!}} {{{pic|[[File:{{PAGENAME}}PicACNL.png]]}}}
+
{{!}} width="62px" {{!}} {{{pic|[[File:{{{name|{{PAGENAME}}}}}'s Pic {{#incat:Welcome amiibo characters|WA|NL}} Texture.png|{{{name|{{PAGENAME}}}}}'s picture in Animal Crossing: New Leaf]]}}}
 
{{!}} style="border: 2px solid #8cbcd1; background:#B3dae7; text-align:center;" {{!}} ''{{{quote|Please insert ACNL picture quote here.}}}''
 
{{!}} style="border: 2px solid #8cbcd1; background:#B3dae7; text-align:center;" {{!}} ''{{{quote|Please insert ACNL picture quote here.}}}''
{{!)}}}}
+
}}
 
{{#ifeq: {{{game|}}}|NH|
 
{{#ifeq: {{{game|}}}|NH|
 
{{!}} style="padding:0px;" {{!}}
 
{{!}} style="padding:0px;" {{!}}
Line 16: Line 49:
 
! colspan="2" style="border: 2px solid #61939b; background:#8cbcd1; {{roundytop|10px}};" {{!}} Photo
 
! colspan="2" style="border: 2px solid #61939b; background:#8cbcd1; {{roundytop|10px}};" {{!}} Photo
 
{{!-}}
 
{{!-}}
{{!}} width="62px" {{!}} {{{pic|[[File:{{PAGENAME}}PicACNH.png|64px]]}}}
+
{{!}} width="62px" {{!}} [[File:{{{pic|{{PAGENAME}}PicACNH.png}}}|64px]]
{{!}} style="border: 2px solid #8cbcd1; background:#B3dae7; text-align:center;" {{!}} ''{{{quote|Please insert ACNH picture quote here.}}}''
+
{{!}} style="border: 2px solid #8cbcd1; background:#B3dae7; text-align:center;" {{!}} ''{{{quote|Please insert ACNH picture quote here.}}}''}}
{{!)}}}}
+
{{#switch:{{{game|}}}|NL={{#if:{{{siblings|}}}{{{skill|}}}{{{goal|}}}{{{fear|}}}|{{!)}}
{{#if:{{{siblings|}}}{{{skill|}}}{{{goal|}}}{{{fear|}}}|
 
 
{{(!}} width=100% style="margin: -2px 0 0 0; text-align:center;"
 
{{(!}} width=100% style="margin: -2px 0 0 0; text-align:center;"
 
! style="border: 2px solid #61939b; background:#8cbcd1;" colspan="2" {{!}} Biography
 
! style="border: 2px solid #61939b; background:#8cbcd1;" colspan="2" {{!}} Biography
{{!-}}}}
+
{{!-}}|}}
 
{{#if:{{{siblings|}}}|
 
{{#if:{{{siblings|}}}|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Siblings
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Siblings
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{siblings|}}}
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{siblings|}}}
{{!-}}}}
+
{{!-}}|}}
 
{{#if:{{{skill|}}}|
 
{{#if:{{{skill|}}}|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Skill
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Skill
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{skill|}}}
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{skill|}}}
{{!-}}}}
+
{{!-}}|}}
 
{{#if:{{{goal|}}}|
 
{{#if:{{{goal|}}}|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Goal
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Goal
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{goal|}}}
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{goal|}}}
{{!-}}}}
+
{{!-}}|}}
 
{{#if:{{{fear|}}}|
 
{{#if:{{{fear|}}}|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Fear
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Fear
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{fear|}}}}}
+
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{fear|}}}|}}
{{#if:{{{siblings|}}}{{{skill|}}}{{{goal|}}}{{{fear|}}}|{{!)}}}}
+
{{#if:{{{siblings|}}}{{{skill|}}}{{{goal|}}}{{{fear|}}}|{{!)}}|}}|NH={{!)}}|}}
 
<!--Favorites-->
 
<!--Favorites-->
 
{{#ifeq:{{{game|}}}|WW|
 
{{#ifeq:{{{game|}}}|WW|
Line 54: Line 86:
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7; {{roundybr|10px}};" {{!}} <span style="float:left">[[File:Smallxmark.png|text-top]]</span> {{{leastfavclothing|}}}
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7; {{roundybr|10px}};" {{!}} <span style="float:left">[[File:Smallxmark.png|text-top]]</span> {{{leastfavclothing|}}}
 
{{!)}}}}
 
{{!)}}}}
{{#ifeq:{{{game|}}}|WW||{{#if:{{{favclothing|}}}{{{leastfavclothing|}}}{{{favcolor|}}}|
+
{{#switch: {{{game|}}}|CF|NL|NH=
{{#switch: {{{game|}}}|NL|NH = {{(!}} width=100% style="text-align:center; margin: -2px 0 0 0;"|{{!-}} align {{=}} "center" {{!}}|}}
+
{{#switch: {{{game|}}}|NL|NH={{(!}} width=100% style="text-align:center; margin: -2px 0 0 0;"|{{!-}} align {{=}} "center" {{!}}|}}
 
! style="border: 2px solid #61939b; background:#8cbcd1; {{#ifeq: {{{game|}}} | CF | {{roundytop|10px}};}}" colspan="2" {{!}} Favorites
 
! style="border: 2px solid #61939b; background:#8cbcd1; {{#ifeq: {{{game|}}} | CF | {{roundytop|10px}};}}" colspan="2" {{!}} Favorites
{{!-}} align = "center" {{!}}}}}}
+
{{!-}} align = "center" {{!}}|}}
 
{{#switch: {{{game|}}}|CF|NL = {{#if:{{{favclothing|}}}{{{leastfavclothing|}}}|
 
{{#switch: {{{game|}}}|CF|NL = {{#if:{{{favclothing|}}}{{{leastfavclothing|}}}|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" rowspan="2"{{!}} Clothing
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" rowspan="2"{{!}} Clothing
Line 64: Line 96:
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} <span style="float:left; padding:0 0 0 4px;">[[File:Smallxmark.png|text-top]]</span> {{{leastfavclothing|}}}
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} <span style="float:left; padding:0 0 0 4px;">[[File:Smallxmark.png|text-top]]</span> {{{leastfavclothing|}}}
 
{{!-}} align = "center" {{!}}|}}
 
{{!-}} align = "center" {{!}}|}}
{{#ifeq:{{{game|}}}|NH|{{#if:{{{favstyle1|}}}|
+
|NH ={{#if:{{{favstyle1|}}}|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" rowspan="{{#if:{{{favstyle2|}}}|2|1}}"{{!}} Style
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" rowspan="{{#if:{{{favstyle2|}}}|2|1}}"{{!}} Style
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}}  {{{favstyle1|}}}
+
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{favstyle1|}}}
 +
{{#if:{{{favstyle2|}}}|{{!-}} align = "center" {{!}}
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}}  {{{favstyle2|}}}|}}|}}|}}
 
{{!-}} align = "center" {{!}}
 
{{!-}} align = "center" {{!}}
{{#if:{{{favstyle2|}}}|{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{favstyle2|}}}
 
{{!-}} align = "center" {{!}}|}}}|}}}
 
 
{{#if:{{{favgenre|}}}|
 
{{#if:{{{favgenre|}}}|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Furniture Genre
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Furniture Genre
Line 81: Line 113:
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1; {{#ifeq:{{{game|}}}|CF|{{roundybl|10px}}}}" {{!}} {{#ifeq:{{{game}}}|CF|Furniture Color|Color}}
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1; {{#ifeq:{{{game|}}}|CF|{{roundybl|10px}}}}" {{!}} {{#ifeq:{{{game}}}|CF|Furniture Color|Color}}
 
{{!}} width="50%" style="border-right: 2px solid #8cbcd1; background:#B3dae7; {{#ifeq:{{{game|}}}|CF|{{roundybr|10px}}}}" {{!}} {{{favcolor|}}}
 
{{!}} width="50%" style="border-right: 2px solid #8cbcd1; background:#B3dae7; {{#ifeq:{{{game|}}}|CF|{{roundybr|10px}}}}" {{!}} {{{favcolor|}}}
{{!-}} align = "center" {{!}}}}}}
+
{{!-}} align = "center" {{!}}|}}
 +
{{#if:{{{favcolor1|}}}|
 +
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1; {{roundybl|10px}}" {{!}} Color
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7; {{roundybr|10px}};" {{!}} {{{favcolor1|}}} {{#if:{{{favcolor2|}}}|/ {{{favcolor2|}}}|}}
 +
{{!-}} align = "center" {{!}}|}}
 
<!--Coffee-->
 
<!--Coffee-->
 
{{#if:{{{coffeetype|}}}{{{milk|}}}{{{sugar|}}}|
 
{{#if:{{{coffeetype|}}}{{{milk|}}}{{{sugar|}}}|
Line 95: Line 131:
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1; {{roundybl|10px}};" {{!}} Sugar
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1; {{roundybl|10px}};" {{!}} Sugar
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7; {{roundybr|10px}};" {{!}} {{{sugar|}}}}}
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7; {{roundybr|10px}};" {{!}} {{{sugar|}}}}}
{{#ifeq: {{{game|}}} | NL |{{!)}}}}
+
{{#switch: {{{game|}}} | NL | NH = {{!)}}}}
 
{{!)}}
 
{{!)}}
 +
</div>
 
<!--Second Table-->
 
<!--Second Table-->
{{!}} width="58%"  style="vertical-align: top; padding: 2px;" {{!}}
+
<div class="flex-item">
{| 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=Gifts}} for {{{name|{{PAGENAME}}}}} – {{#switch:{{{game|NL}}}|WW={{{favclothing|}}}|CF={{{favcolor|}}} {{{favgenre|}}}|NL={{{favcolor|}}} {{{favclothing|}}}|NH={{{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}}
 
|-
 
|-
 
| colspan="2" cellpadding="0px" style="padding:0px" |
 
| colspan="2" cellpadding="0px" style="padding:0px" |
 
{| class="sortable roundCorners" width="100%" style="background-color: transparent"
 
{| class="sortable roundCorners" width="100%" style="background-color: transparent"
 
! height=20  style="background-color:#FFFFCC; color:#444444; {{roundyleft}}" | Name
 
! height=20  style="background-color:#FFFFCC; color:#444444; {{roundyleft}}" | Name
 +
{{#ifeq: {{{game|}}} | NH |! style="background-color:#FFFFCC; color:#444444;" {{!}} Image}}
 
! style="background-color:#FFFFCC; color:#444444;" | Price
 
! style="background-color:#FFFFCC; color:#444444;" | Price
 
! style="background-color:#FFFFCC; color:#444444; {{roundyright}}" | Available From
 
! style="background-color:#FFFFCC; color:#444444; {{roundyright}}" | Available From
Line 112: Line 150:
 
|CF={{Ideal Furniture/{{{favgenre|}}}|{{{favcolor|}}}}}
 
|CF={{Ideal Furniture/{{{favgenre|}}}|{{{favcolor|}}}}}
 
|NL={{Ideal Gifts/{{{favclothing|}}}|{{{favcolor|}}}}}
 
|NL={{Ideal Gifts/{{{favclothing|}}}|{{{favcolor|}}}}}
|NH={{Ideal Gifts/{{{favstyle1|}}}}}<br>{{#if:{{{favstyle2|}}}|{{Ideal Gifts/{{{favstyle2|}}}}}|}}}}
+
|NH={{#cargo_query:
 +
table=nh_clothing_variation,nh_clothing
 +
|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
 +
|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.vill_equip=1 AND 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
 +
|format=template
 +
|template=Ideal NH Gifts Navigate‎‎
 +
|named args=yes
 +
|limit=300
 +
}}
 +
}}
 
|}
 
|}
 
|-
 
|-
Line 124: Line 173:
 
|NL={{!}} width=50% style="border-top: solid 1px #efba00; border-right: solid 1px #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of {{{favcolor|}}} Items in Animal Crossing: New Leaf|<span style{{=}}"color:#444">More {{{favcolor|}}} Items</span>]]</small>
 
|NL={{!}} width=50% style="border-top: solid 1px #efba00; border-right: solid 1px #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of {{{favcolor|}}} Items in Animal Crossing: New Leaf|<span style{{=}}"color:#444">More {{{favcolor|}}} Items</span>]]</small>
 
{{!}} width=50% style="border-top: solid 1px #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of {{{favclothing|}}} Items in Animal Crossing: New Leaf|<span style{{=}}"color:#444">More {{{favclothing|}}} Items</span>]]</small>
 
{{!}} width=50% style="border-top: solid 1px #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of {{{favclothing|}}} Items in Animal Crossing: New Leaf|<span style{{=}}"color:#444">More {{{favclothing|}}} Items</span>]]</small>
|NH={{!}} width=50% style="border-top: solid 1px #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of {{{favstyle1|}}} Items in Animal Crossing: New Horizons|<span style{{=}}"color:#444">More {{{favstyle1|}}} Items</span>]]</small>{{#if:{{{favstyle2|}}}|<br><small>[[List of {{{favstyle2|}}} Items in Animal Crossing: New Horizons|<span style{{=}}"color:#444">More {{{favstyle2|}}} Items</span>]]</small>|}}
+
|NH={{!}} width=50% style="border-top: solid 1px #efba00; border-right: solid 1px #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of {{{favcolor1|}}} Items in Animal Crossing: New Horizons|<span style{{=}}"color:#444">More {{{favcolor1|}}} Items</span>]]</small><br>{{#if:{{{favcolor2|}}}|<small>[[List of {{{favcolor2|}}} Items in Animal Crossing: New Horizons|<span style{{=}}"color:#444">More {{{favcolor2|}}} Items</span>]]</small>|}}
 +
{{!}} width=50% style="border-top: solid 1px #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of {{{favstyle1||}}} Items in Animal Crossing: New Horizons|<span style{{=}}"color:#444">More {{{favstyle1|}}} Items</span>]]</small><br>{{#if:{{{favstyle2|}}}|<small>[[List of {{{favstyle2||}}} Items in Animal Crossing: New Horizons|<span style{{=}}"color:#444">More {{{favstyle2|}}} Items</span>]]</small>|}}
 
}}
 
}}
 
|}
 
|}
 
|}
 
|}
|}<includeonly><span id="api-villager_picture" style="display:none;">{{filepath:{{PAGENAME}}PicACNL.png}}</span><span id="api-villager_siblings" style="display:none;">{{{siblings|Unknown}}}</span><span id="api-villager_skill" style="display:none;">{{{skill|Unknown}}}</span><span id="api-villager_goal" style="display:none;">{{{goal|Unknown}}}</span><span id="api-villager_fear" style="display:none;">{{{fear|Unknown}}}</span><span id="api-villager_favclothing" style="display:none;">{{{favclothing|Unknown}}}</span><span id="api-villager_leastfavclothing" style="display:none;">{{{leastfavclothing|Unknown}}}</span><span id="api-villager_favcolor" style="display:none;">{{{favcolor|Unknown}}}</span><span id="api-villager_coffee-type" style="display:none;">{{{coffeetype|Unknown}}}</span><span id="api-villager_coffee-milk" style="display:none;">{{{milk|Unknown}}}</span><span id="api-villager_coffee-sugar" style="display:none;">{{{sugar|Unknown}}}</span></includeonly><noinclude>
+
</div>
 +
</div><includeonly><span id="api-villager_picture" style="display:none;">{{filepath:{{#incat:New Horizons characters|{{{pic|{{PAGENAME}}PicACNH.png}}}|{{#incat:Welcome amiibo characters|{{{pic|{{PAGENAME}}PicACNL.png}}}|{{{pic|{{PAGENAME}}PicACWW.png}}}}}}}}}</span><span id="api-villager_siblings" style="display:none;">{{{siblings|Unknown}}}</span><span id="api-villager_skill" style="display:none;">{{{skill|Unknown}}}</span><span id="api-villager_goal" style="display:none;">{{{goal|Unknown}}}</span><span id="api-villager_fear" style="display:none;">{{{fear|Unknown}}}</span><span id="api-villager_favclothing" style="display:none;">{{{favclothing|Unknown}}}</span><span id="api-villager_leastfavclothing" style="display:none;">{{{leastfavclothing|Unknown}}}</span><span id="api-villager_favcolor" style="display:none;">{{{favcolor|Unknown}}}</span><span id="api-villager_coffee-type" style="display:none;">{{{coffeetype|Unknown}}}</span><span id="api-villager_coffee-milk" style="display:none;">{{{milk|Unknown}}}</span><span id="api-villager_coffee-sugar" style="display:none;">{{{sugar|Unknown}}}</span></includeonly>
  
==Example==
+
<noinclude>{{Documentation}}
{{Villager Info
+
[[Category:Templates]]
|game = NL
 
|pic = [[File:Unknown Frame.png]]
 
|quote = (Quote)
 
|siblings = (Siblings)
 
|skill = (Skill)
 
|goal = (Goal)
 
|fear = (Fear)
 
|favclothing = (Favorite)
 
|leastfavclothing = (Least Favorite)
 
|favcolor = (Favorite Color)
 
|coffeetype = (Type)
 
|milk = (Milk)
 
|sugar = (Sugar)
 
}}
 
 
 
==Usage==
 
===For ''Animal Crossing: Wild World''===
 
<pre>
 
{{Villager Info
 
|game = WW
 
|pic =
 
|quote =
 
|favclothing =
 
|leastfavclothing =
 
}}
 
</pre>
 
 
 
===For ''Animal Crossing: City Folk''===
 
<pre>
 
{{Villager Info
 
|game = CF
 
|favclothing =
 
|leastfavclothing =
 
|favgenre =
 
|favseries =
 
|favcolor =
 
}}
 
</pre>
 
 
 
===For ''Animal Crossing: New Leaf''===
 
<pre>
 
{{Villager Info
 
|game = NL
 
|pic =
 
|quote =
 
|siblings =
 
|skill =
 
|goal =
 
|fear =
 
|favclothing =
 
|leastfavclothing =
 
|favcolor =
 
|coffeetype =
 
|milk =
 
|sugar =
 
}}
 
</pre>
 
 
</noinclude>
 
</noinclude>

Revision as of 20:41, September 23, 2020

Template documentation (view)


Emotion Surprise NH Icon cropped.png
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.
Emotion Surprise NH Icon cropped.png
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

Picture
Unknown Frame.png (Quote)
Biography
Siblings (Siblings)
Skill (Skill)
Goal (Goal)
Fear (Fear)
Favorites
Clothing Smallcheckmark.png (Favorite)
Smallxmark.png (Least Favorite)
Color (Favorite Color)
Coffee
Type (Type)
Milk (Milk)
Sugar (Sugar)


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 = 
}}