Difference between revisions of "User:SuperHamster/Sandbox/Silver"

From Nookipedia, the Animal Crossing wiki
Line 1: Line 1:
 
<div class="flex-container">
 
<div class="flex-container">
 +
<div class="flex-item">
 +
{| width="100%"  style="{{#switch: {{{game|}}} | WW | NL | NH = border-collapse:collapse;}} vertical-align: top;"
 +
<!--Biography-->
 +
{{#ifeq: {{{game|}}}|NL|
 +
{{!}} style="padding:0px;" {{!}}
 +
{{(!}} width="100%" style="text-align:center;"
 +
! colspan="2" style="border: 2px solid #61939b; background:#8cbcd1; {{roundytop|10px}};" {{!}} Picture
 +
{{!-}}
 +
{{!}} width="62px" {{!}} {{{pic|[[File:{{PAGENAME}}PicACNL.png]]}}}
 +
{{!}} style="border: 2px solid #8cbcd1; background:#B3dae7; text-align:center;" {{!}} ''{{{quote|Please insert ACNL picture quote here.}}}''
 +
}}
 +
{{#ifeq: {{{game|}}}|NH|
 +
{{!}} style="padding:0px;" {{!}}
 +
{{(!}} width="100%" style="text-align:center;"
 +
! colspan="2" style="border: 2px solid #61939b; background:#8cbcd1; {{roundytop|10px}};" {{!}} Photo
 +
{{!-}}
 +
{{!}} width="62px" {{!}} {{{pic|[[File:{{PAGENAME}}PicACNH.png|64px]]}}}
 +
{{!}} 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|}}}|{{!)}}
 +
{{(!}} width=100% style="margin: -2px 0 0 0; text-align:center;"
 +
! style="border: 2px solid #61939b; background:#8cbcd1;" colspan="2" {{!}} Biography
 +
{{!-}}|}}
 +
{{#if:{{{siblings|}}}|
 +
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Siblings
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{siblings|}}}
 +
{{!-}}|}}
 +
{{#if:{{{skill|}}}|
 +
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Skill
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{skill|}}}
 +
{{!-}}|}}
 +
{{#if:{{{goal|}}}|
 +
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Goal
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{goal|}}}
 +
{{!-}}|}}
 +
{{#if:{{{fear|}}}|
 +
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Fear
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{fear|}}}|}}
 +
{{#if:{{{siblings|}}}{{{skill|}}}{{{goal|}}}{{{fear|}}}|{{!)}}|}}|NH={{!)}}|}}
 +
<!--Favorites-->
 +
{{#ifeq:{{{game|}}}|WW|
 +
{{!}} style="padding:0px;" {{!}}
 +
{{(!}} width="100%" style="text-align:center;"
 +
! colspan="2" style="border: 2px solid #61939b; background:#8cbcd1; {{roundytop|10px}};" {{!}} Picture
 +
{{!-}}
 +
{{!}} width="62px" {{!}} {{{pic|[[File:Unknown Frame.png]]}}}
 +
{{!}} style="border: 2px solid #8cbcd1; background:#B3dae7; text-align:center;" {{!}} ''{{{quote|Please insert ACWW picture quote here.}}}''
 +
{{!)}}
 +
{{(!}} width="100%" style="text-align:center; margin: -2px 0 0 0;"
 +
! style="border: 2px solid #61939b; background:#8cbcd1;" colspan="2" {{!}} Favorite Clothing
 +
{{!-}}
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7; {{roundybl|10px}};" {{!}} <span style="float:left">[[File:Smallcheckmark.png|text-top]]</span> {{{favclothing|}}}
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7; {{roundybr|10px}};" {{!}} <span style="float:left">[[File:Smallxmark.png|text-top]]</span> {{{leastfavclothing|}}}
 +
{{!)}}}}
 +
{{#switch: {{{game|}}}|CF|NL|NH=
 +
{{#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
 +
{{!-}} align = "center" {{!}}|}}
 +
{{#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 #8cbcd1; background:#B3dae7;" {{!}} <span style="float:left; padding:0 0 0 4px;">[[File:Smallcheckmark.png|text-top]]</span> {{{favclothing|}}}
 +
{{!-}} align = "center" {{!}}
 +
{{!}} 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" {{!}}|}}
 +
|NH ={{#if:{{{favstyle1|}}}|
 +
! 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|}}}
 +
{{#if:{{{favstyle2|}}}|{{!-}} align = "center" {{!}}
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}}  {{{favstyle2|}}}|}}|}}|}}
 +
{{!-}} align = "center" {{!}}
 +
{{#if:{{{favgenre|}}}|
 +
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Furniture Genre
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{favgenre|}}}
 +
{{!-}} align = "center" {{!}}}}
 +
{{#if:{{{favseries|}}}|
 +
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Furniture Series
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{favseries|}}}
 +
{{!-}} align = "center" {{!}}}}
 +
{{#if:{{{favcolor|}}}|
 +
! 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|}}}
 +
{{!-}} 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-->
 +
{{#if:{{{coffeetype|}}}{{{milk|}}}{{{sugar|}}}|
 +
{{!-}} align = "center" {{!}}
 +
! style="border: 2px solid #61939b; background:#8cbcd1;" colspan="2" {{!}} Coffee
 +
{{!-}} align="center" {{!}}
 +
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Type
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{coffeetype|}}}
 +
{{!-}} align = "center" {{!}}
 +
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Milk
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} {{{milk|}}}
 +
{{!-}} align = "center" {{!}}
 +
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1; {{roundybl|10px}};" {{!}} Sugar
 +
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7; {{roundybr|10px}};" {{!}} {{{sugar|}}}}}
 +
{{#switch: {{{game|}}} | NL | NH = {{!)}}}}
 +
{{!)}}
 +
</div>
 
<!--Second Table-->
 
<!--Second Table-->
 
<div class="flex-item">
 
<div class="flex-item">
Line 16: Line 117:
 
|CF={{Ideal Furniture/{{{favgenre|}}}|{{{favcolor|}}}}}
 
|CF={{Ideal Furniture/{{{favgenre|}}}|{{{favcolor|}}}}}
 
|NL={{Ideal Gifts/{{{favclothing|}}}|{{{favcolor|}}}}}
 
|NL={{Ideal Gifts/{{{favclothing|}}}|{{{favcolor|}}}}}
|NH= <nowiki />
+
|NH={{#cargo_query:
{{#cargo_query:
 
 
table=nh_clothing_variations,nh_clothing
 
table=nh_clothing_variations,nh_clothing
 
|join on=nh_clothing_variations.en_name = nh_clothing.en_name
 
|join on=nh_clothing_variations.en_name = nh_clothing.en_name
|fields=nh_clothing_variations.en_name=name,nh_clothing_variations.image=image
+
|fields=nh_clothing_variations.en_name=name,nh_clothing_variations.image=image,nh_clothing.buy1_wikitext=buy1,nh_clothing.availability1,nh_clothing.availability2
|format=list
+
|where=nh_clothing.vill_equip=1 AND nh_clothing.style='{{{favstyle1|Simple}}}' AND nh_clothing_variations.color1='{{{favcolor1|}}}' AND nh_clothing_variations.color2='{{{favcolor2|{{{favcolor1|}}}}}}' {{#if:{{{favcolor2|}}}|OR nh_clothing.vill_equip=1 AND nh_clothing.style='{{{favstyle1|}}}' AND nh_clothing_variations.color1='{{{favcolor2|}}}' AND nh_clothing_variations.color2='{{{favcolor1|}}}'|}} {{#if:{{{favstyle2|}}}|OR nh_clothing.vill_equip=1 AND nh_clothing.style='{{{favstyle2|}}}' AND nh_clothing_variations.color1='{{{favcolor1|}}}' AND nh_clothing_variations.color2='{{{favcolor2|{{{favcolor1|}}}}}}' {{#if:{{{favcolor2|}}}|OR nh_clothing.vill_equip=1 AND nh_clothing.style='{{{favstyle2|}}}' AND nh_clothing_variations.color1='{{{favcolor2|}}}' AND nh_clothing_variations.color2='{{{favcolor1|}}}'|}}|}}
|limit=10
+
|order by=nh_clothing_variations.en_name
 +
|format=template
 +
|template=Ideal NH Gifts Navigate‎‎
 +
|named args=yes
 +
|limit=100
 
}}
 
}}
 
}}
 
}}
Line 43: Line 147:
 
</div>
 
</div>
 
</div><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>
 
</div><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>==Example==
 +
{{Villager Info
 +
|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>
 +
 +
===For ''Animal Crossing: New Horizons''===
 +
<pre>
 +
{{Villager Info
 +
|game = NH
 +
|pic =
 +
|quote =
 +
|favstyle1 =
 +
|favstyle2 =
 +
|favcolor1 =
 +
|favcolor2 =
 +
}}
 +
</pre>
 +
</noinclude>

Revision as of 03:50, June 10, 2020

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)
Ideal Gifts for SuperHamster/Sandbox/Silver – (Favorite Color) (Favorite)
Name Price Available From

Template:Ideal Gifts/(Favorite)

More (Favorite Color) Items More (Favorite) Items

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