Difference between revisions of "Template:Villager Info"
From Nookipedia, the Animal Crossing wiki
m |
HylianAngel (talk | contribs) m (Text replacement - "" to "") |
||
(24 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#ifeq:{{NAMESPACE}}|| | + | <noinclude>{{Deprecated|replacement=[[Template:PGVillagerInfo]], [[Template:WWVillagerInfo]], [[Template:CFVillagerInfo]], [[Template:NLVillagerInfo]], and [[Template:NHVillagerInfo]]}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#switch:{{{game|}}}|WW={{#cargo_store: |
_table=ww_villager | _table=ww_villager | ||
|name ={{{name|{{PAGENAME}}}}} | |name ={{{name|{{PAGENAME}}}}} | ||
Line 7: | Line 7: | ||
|favclothing = {{{favclothing|}}} | |favclothing = {{{favclothing|}}} | ||
|leastfavclothing = {{{leastfavclothing|}}} | |leastfavclothing = {{{leastfavclothing|}}} | ||
− | }}|CF= | + | }}|CF={{#cargo_store: |
_table=cf_villager | _table=cf_villager | ||
|name ={{{name|{{PAGENAME}}}}} | |name ={{{name|{{PAGENAME}}}}} | ||
Line 16: | Line 16: | ||
|favseries = {{{favseries|}}} | |favseries = {{{favseries|}}} | ||
|favcolor = {{{favcolor|}}} | |favcolor = {{{favcolor|}}} | ||
− | }}|NL= | + | }}|NL={{#cargo_store: |
_table=nl_villager | _table=nl_villager | ||
|name ={{{name|{{PAGENAME}}}}} | |name ={{{name|{{PAGENAME}}}}} | ||
|name_sort = {{{name_sort|{{{name|{{PAGENAME}}}}}}}} | |name_sort = {{{name_sort|{{{name|{{PAGENAME}}}}}}}} | ||
− | |pic = {{{pic|[[File:{{PAGENAME}} | + | |pic = {{{pic|[[File:{{{name|{{PAGENAME}}}}}'s Pic {{#incat:Welcome amiibo characters|WA|NL}} Texture.png]]}}} |
|quote = {{{quote|}}} | |quote = {{{quote|}}} | ||
|siblings = {{{siblings|}}} | |siblings = {{{siblings|}}} | ||
Line 32: | Line 32: | ||
|milk = {{{milk|}}} | |milk = {{{milk|}}} | ||
|sugar = {{{sugar|}}} | |sugar = {{{sugar|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}}}}}</includeonly><div class="flex-container"> | }}}}}}</includeonly><div class="flex-container"> | ||
<div class="flex-item"> | <div class="flex-item"> | ||
− | {| | + | {| style="width: 100%; {{#switch: {{{game|}}} | WW | NL | NH = border-collapse:collapse;}} vertical-align: top;" |
<!--Biography--> | <!--Biography--> | ||
{{#ifeq: {{{game|}}}|NL| | {{#ifeq: {{{game|}}}|NL| | ||
{{!}} style="padding:0px;" {{!}} | {{!}} style="padding:0px;" {{!}} | ||
− | {{(!}} | + | {{(!}} style="width: 100%; text-align:center;" |
! 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}} | + | {{!}} 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;" {{!}} | ||
− | {{(!}} | + | {{(!}} style="width: 100%; text-align:center;" |
! 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| | + | {{!}} width="62px" {{!}} [[File:{{{pic|{{PAGENAME}}'s Poster NH Texture.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|}}}|{{!)}} | {{#switch:{{{game|}}}|NL={{#if:{{{siblings|}}}{{{skill|}}}{{{goal|}}}{{{fear|}}}|{{!)}} | ||
Line 66: | Line 56: | ||
{{!-}}|}} | {{!-}}|}} | ||
{{#if:{{{siblings|}}}| | {{#if:{{{siblings|}}}| | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1;" {{!}} Siblings |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{siblings|}}} |
{{!-}}|}} | {{!-}}|}} | ||
{{#if:{{{skill|}}}| | {{#if:{{{skill|}}}| | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1;" {{!}} Skill |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{skill|}}} |
{{!-}}|}} | {{!-}}|}} | ||
{{#if:{{{goal|}}}| | {{#if:{{{goal|}}}| | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1;" {{!}} Goal |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{goal|}}} |
{{!-}}|}} | {{!-}}|}} | ||
{{#if:{{{fear|}}}| | {{#if:{{{fear|}}}| | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1;" {{!}} Fear |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{fear|}}}|}} |
{{#if:{{{siblings|}}}{{{skill|}}}{{{goal|}}}{{{fear|}}}|{{!)}}|}}|NH={{!)}}|}} | {{#if:{{{siblings|}}}{{{skill|}}}{{{goal|}}}{{{fear|}}}|{{!)}}|}}|NH={{!)}}|}} | ||
<!--Favorites--> | <!--Favorites--> | ||
{{#ifeq:{{{game|}}}|WW| | {{#ifeq:{{{game|}}}|WW| | ||
{{!}} style="padding:0px;" {{!}} | {{!}} style="padding:0px;" {{!}} | ||
− | {{(!}} | + | {{(!}} style="width: 100%; text-align:center;" |
! colspan="2" style="border: 2px solid #61939b; background:#8cbcd1; {{roundytop|10px}};" {{!}} Picture | ! colspan="2" style="border: 2px solid #61939b; background:#8cbcd1; {{roundytop|10px}};" {{!}} Picture | ||
{{!-}} | {{!-}} | ||
Line 90: | Line 80: | ||
{{!}} style="border: 2px solid #8cbcd1; background:#B3dae7; text-align:center;" {{!}} ''{{{quote|Please insert ACWW picture quote here.}}}'' | {{!}} style="border: 2px solid #8cbcd1; background:#B3dae7; text-align:center;" {{!}} ''{{{quote|Please insert ACWW picture quote here.}}}'' | ||
{{!)}} | {{!)}} | ||
− | {{(!}} | + | {{(!}} style="width: 100%; text-align:center; margin: -2px 0 0 0;" |
! style="border: 2px solid #61939b; background:#8cbcd1;" colspan="2" {{!}} Favorite Clothing | ! style="border: 2px solid #61939b; background:#8cbcd1;" colspan="2" {{!}} Favorite Clothing | ||
{{!-}} | {{!-}} | ||
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7; {{roundybl|10px}};" {{!}} <span style="float:left">[[File:Smallcheckmark.png|text-top|link=]]</span> {{{favclothing|}}} |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7; {{roundybr|10px}};" {{!}} <span style="float:left">[[File:Smallxmark.png|text-top|link=]]</span> {{{leastfavclothing|}}} |
{{!)}}}} | {{!)}}}} | ||
{{#switch: {{{game|}}}|CF|NL|NH= | {{#switch: {{{game|}}}|CF|NL|NH= | ||
Line 101: | Line 91: | ||
{{!-}} align = "center" {{!}}|}} | {{!-}} align = "center" {{!}}|}} | ||
{{#switch: {{{game|}}}|CF|NL = {{#if:{{{favclothing|}}}{{{leastfavclothing|}}}| | {{#switch: {{{game|}}}|CF|NL = {{#if:{{{favclothing|}}}{{{leastfavclothing|}}}| | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1;" rowspan="2"{{!}} Clothing |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} <span style="float:left; padding:0 0 0 4px;">[[File:Smallcheckmark.png|text-top|link=]]</span> {{{favclothing|}}} |
{{!-}} align = "center" {{!}} | {{!-}} align = "center" {{!}} | ||
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} <span style="float:left; padding:0 0 0 4px;">[[File:Smallxmark.png|text-top|link=]]</span> {{{leastfavclothing|}}} |
{{!-}} align = "center" {{!}}|}} | {{!-}} align = "center" {{!}}|}} | ||
|NH ={{#if:{{{favstyle1|}}}| | |NH ={{#if:{{{favstyle1|}}}| | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1;" rowspan="{{#if:{{{favstyle2|}}}|2|1}}"{{!}} Style |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{favstyle1|}}} |
{{#if:{{{favstyle2|}}}|{{!-}} align = "center" {{!}} | {{#if:{{{favstyle2|}}}|{{!-}} align = "center" {{!}} | ||
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{favstyle2|}}}|}}|}}|}} |
{{!-}} align = "center" {{!}} | {{!-}} align = "center" {{!}} | ||
{{#if:{{{favgenre|}}}| | {{#if:{{{favgenre|}}}| | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1;" {{!}} Furniture Genre |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{favgenre|}}} |
{{!-}} align = "center" {{!}}}} | {{!-}} align = "center" {{!}}}} | ||
{{#if:{{{favseries|}}}| | {{#if:{{{favseries|}}}| | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1;" {{!}} Furniture Series |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{favseries|}}} |
{{!-}} align = "center" {{!}}}} | {{!-}} align = "center" {{!}}}} | ||
{{#if:{{{favcolor|}}}| | {{#if:{{{favcolor|}}}| | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1; {{#ifeq:{{{game|}}}|CF|{{roundybl|10px}}}}" {{!}} {{#ifeq:{{{game}}}|CF|Furniture Color|Color}} |
− | {{!}} | + | {{!}} style="width: 50%; border-right: 2px solid #8cbcd1; background:#B3dae7; {{#ifeq:{{{game|}}}|CF|{{roundybr|10px}}}}" {{!}} {{{favcolor|}}} |
{{!-}} align = "center" {{!}}|}} | {{!-}} align = "center" {{!}}|}} | ||
{{#if:{{{favcolor1|}}}| | {{#if:{{{favcolor1|}}}| | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1; {{roundybl|10px}}" {{!}} Color |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7; {{roundybr|10px}};" {{!}} {{{favcolor1|}}} {{#if:{{{favcolor2|}}}|/ {{{favcolor2|}}}|}} |
{{!-}} align = "center" {{!}}|}} | {{!-}} align = "center" {{!}}|}} | ||
<!--Coffee--> | <!--Coffee--> | ||
Line 133: | Line 123: | ||
! style="border: 2px solid #61939b; background:#8cbcd1;" colspan="2" {{!}} Coffee | ! style="border: 2px solid #61939b; background:#8cbcd1;" colspan="2" {{!}} Coffee | ||
{{!-}} align="center" {{!}} | {{!-}} align="center" {{!}} | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1;" {{!}} Type |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{coffeetype|}}} |
{{!-}} align = "center" {{!}} | {{!-}} align = "center" {{!}} | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1;" {{!}} Milk |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{milk|}}} |
{{!-}} align = "center" {{!}} | {{!-}} align = "center" {{!}} | ||
− | ! | + | ! style="width: 50%; border: 2px solid #61939b; background:#8cbcd1; {{roundybl|10px}};" {{!}} Sugar |
− | {{!}} | + | {{!}} style="width: 50%; border: 2px solid #8cbcd1; background:#B3dae7; {{roundybr|10px}};" {{!}} {{{sugar|}}}}} |
{{#switch: {{{game|}}} | NL | NH = {{!)}}}} | {{#switch: {{{game|}}} | NL | NH = {{!)}}}} | ||
{{!)}} | {{!)}} | ||
Line 146: | Line 136: | ||
<!--Second Table--> | <!--Second Table--> | ||
<div class="flex-item"> | <div class="flex-item"> | ||
− | {| class="collapsible collapsed" align="center | + | {| class="mw-collapsible mw-collapsed" align="center" cellpadding="0px" style="width: 100%; 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}} | ||
|- | |- | ||
| colspan="2" cellpadding="0px" style="padding:0px" | | | colspan="2" cellpadding="0px" style="padding:0px" | | ||
− | {| class="sortable roundCorners" | + | {| class="sortable roundCorners" style="width: 100%; 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}} | {{#ifeq: {{{game|}}} | NH |! style="background-color:#FFFFCC; color:#444444;" {{!}} Image}} | ||
Line 161: | Line 151: | ||
|NL={{Ideal Gifts/{{{favclothing|}}}|{{{favcolor|}}}}} | |NL={{Ideal Gifts/{{{favclothing|}}}|{{{favcolor|}}}}} | ||
|NH={{#cargo_query: | |NH={{#cargo_query: | ||
− | table= | + | table=nh_clothing_variation,nh_clothing |
− | |join on= | + | |join on=nh_clothing_variation.en_name = nh_clothing.en_name |
− | |fields= | + | |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. | + | |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= | + | |order by=nh_clothing_variation.en_name |
|format=template | |format=template | ||
− | |template=Ideal NH Gifts | + | |template=Ideal NH Gifts Navigate |
|named args=yes | |named args=yes | ||
− | |limit= | + | |limit=300 |
}} | }} | ||
}} | }} | ||
Line 189: | Line 179: | ||
|} | |} | ||
</div> | </div> | ||
− | </div | + | </div> |
− | < | + | <includeonly>[[Category:Pages using Villager Info template]]<noinclude>{{Documentation}} |
− | + | [[Category:Templates]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | ||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 01:19, September 28, 2022
This template is deprecated and should no longer be used.
This template's functionality has been superseded by Template:PGVillagerInfo, Template:WWVillagerInfo, Template:CFVillagerInfo, Template:NLVillagerInfo, and Template:NHVillagerInfo and all instances of this template should be updated to the linked template instead.
This template is deprecated and should no longer be used.
This template's functionality has been superseded by Template:PGVillagerInfo, Template:WWVillagerInfo, Template:CFVillagerInfo, Template:NLVillagerInfo, and Template:NHVillagerInfo and all instances of this template should be updated to the linked template instead.
Ideal Gifts for Villager Info – | |||||
---|---|---|---|---|---|
| |||||
|