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

From Nookipedia, the Animal Crossing wiki
(Re-subst Villager Info)
Tag: Replaced
(Testing generic NH Cargo table display)
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="flex-container">
+
<includeonly><!-- This first line must remain empty -->
<div class="flex-item">
+
| {{i|{{{name|}}}}} {{#if:{{{variation|}}}|({{{variation|}}})|{{#if:{{{pattern|}}}|({{{pattern|}}})|}}}}
{| width="100%"  style="{{#switch:  | WW | NL | NH = border-collapse:collapse;}} vertical-align: top;"
+
| [[File:{{{image|}}}|64px|{{{name|}}}]]
<!--Biography-->
+
| data-sort-value="{{{buy1-price|}}}" | {{#if:{{{buy1|}}}|{{{buy1|}}}|Not for sale}}
{{#ifeq: |NL|
+
| data-sort-value="{{{sell|}}}" | {{Currency|Bells|{{{sell|}}}}}
{{!}} style="padding:0px;" {{!}}
+
| {{Availability|{{{availability1|}}}}} {{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}}}|}}
{{(!}} width="100%" style="text-align:center;"
+
|-</includeonly>
! colspan="2" style="border: 2px solid #61939b; background:#8cbcd1; {{roundytop|10px}};" {{!}} Picture
 
{{!-}}
 
{{!}} width="62px" {{!}} [[File:{{PAGENAME}}PicACNL.png]]
 
{{!}} style="border: 2px solid #8cbcd1; background:#B3dae7; text-align:center;" {{!}} ''Please insert ACNL picture quote here.''
 
}}
 
{{#ifeq: |NH|
 
{{!}} style="padding:0px;" {{!}}
 
{{(!}} width="100%" style="text-align:center;"
 
! colspan="2" style="border: 2px solid #61939b; background:#8cbcd1; {{roundytop|10px}};" {{!}} Photo
 
{{!-}}
 
{{!}} width="62px" {{!}} [[File:{{PAGENAME}}PicACNH.png|64px]]
 
{{!}} style="border: 2px solid #8cbcd1; background:#B3dae7; text-align:center;" {{!}} ''Please insert ACNH picture quote here.''}}
 
{{#switch:|NL={{#if:|{{!)}}
 
{{(!}} width=100% style="margin: -2px 0 0 0; text-align:center;"
 
! style="border: 2px solid #61939b; background:#8cbcd1;" colspan="2" {{!}} Biography
 
{{!-}}|}}
 
{{#if:|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Siblings
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}}
 
{{!-}}|}}
 
{{#if:|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Skill
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}}
 
{{!-}}|}}
 
{{#if:|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Goal
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}}
 
{{!-}}|}}
 
{{#if:|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Fear
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}} |}}
 
{{#if:|{{!)}}|}}|NH={{!)}}|}}
 
<!--Favorites-->
 
{{#ifeq:|WW|
 
{{!}} style="padding:0px;" {{!}}
 
{{(!}} width="100%" style="text-align:center;"
 
! colspan="2" style="border: 2px solid #61939b; background:#8cbcd1; {{roundytop|10px}};" {{!}} Picture
 
{{!-}}
 
{{!}} width="62px" {{!}} [[File:Unknown Frame.png]]
 
{{!}} style="border: 2px solid #8cbcd1; background:#B3dae7; text-align:center;" {{!}} ''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>
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7; {{roundybr|10px}};" {{!}} <span style="float:left">[[File:Smallxmark.png|text-top]]</span>
 
{{!)}}}}
 
{{#switch: |CF|NL|NH=
 
{{#switch: |NL|NH={{(!}} width=100% style="text-align:center; margin: -2px 0 0 0;"|{{!-}} align {{=}} "center" {{!}}|}}
 
! style="border: 2px solid #61939b; background:#8cbcd1; {{#ifeq:  | CF | {{roundytop|10px}};}}" colspan="2" {{!}} Favorites
 
{{!-}} align = "center" {{!}}|}}
 
{{#switch: |CF|NL = {{#if:|
 
! 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>
 
{{!-}} 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>
 
{{!-}} align = "center" {{!}}|}}
 
|NH ={{#if:|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" rowspan="{{#if:|2|1}}"{{!}} Style
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}}
 
{{#if:|{{!-}} align = "center" {{!}}
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}}  |}}|}}|}}
 
{{!-}} align = "center" {{!}}
 
{{#if:|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Furniture Genre
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}}
 
{{!-}} align = "center" {{!}}}}
 
{{#if:|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Furniture Series
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}}
 
{{!-}} align = "center" {{!}}}}
 
{{#if:|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1; {{#ifeq:|CF|{{roundybl|10px}}}}" {{!}} {{#ifeq:{{{game}}}|CF|Furniture Color|Color}}
 
{{!}} width="50%" style="border-right: 2px solid #8cbcd1; background:#B3dae7; {{#ifeq:|CF|{{roundybr|10px}}}}" {{!}}
 
{{!-}} align = "center" {{!}}|}}
 
{{#if:|
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1; {{roundybl|10px}}" {{!}} Color
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7; {{roundybr|10px}};" {{!}}  {{#if:|/ |}}
 
{{!-}} align = "center" {{!}}|}}
 
<!--Coffee-->
 
{{#if:|
 
{{!-}} 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;" {{!}}
 
{{!-}} align = "center" {{!}}
 
! width="50%" style="border: 2px solid #61939b; background:#8cbcd1;" {{!}} Milk
 
{{!}} width="50%" style="border: 2px solid #8cbcd1; background:#B3dae7;" {{!}}
 
{{!-}} 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}};" {{!}} }}
 
{{#switch:  | NL | NH = {{!)}}}}
 
{{!)}}
 
</div>
 
<!--Second Table-->
 
<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}}"
 
! colspan="2" | Ideal {{#switch:NL|WW=Clothing|CF=Furniture|NL|NH=Gifts}} for {{PAGENAME}} – {{#switch:NL|WW=|CF= |NL= |NH= {{#if:|/ |}}  {{#if:| and |}} Items}}
 
|-
 
| colspan="2" cellpadding="0px" style="padding:0px" |
 
{| class="sortable roundCorners" width="100%" style="background-color: transparent"
 
! height=20  style="background-color:#FFFFCC; color:#444444; {{roundyleft}}" | Name
 
{{#ifeq:  | NH |! style="background-color:#FFFFCC; color:#444444;" {{!}} Image}}
 
! style="background-color:#FFFFCC; color:#444444;" | Price
 
! style="background-color:#FFFFCC; color:#444444; {{roundyright}}" | Available From
 
{{#switch:
 
|WW={{Ideal Clothing|}}
 
|CF={{Ideal Furniture/|}}
 
|NL={{Ideal Gifts/|}}
 
|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.vill_equip=1 AND nh_clothing.style='Simple' AND nh_clothing_variations.color1='' AND nh_clothing_variations.color2='' {{#if:|OR nh_clothing.vill_equip=1 AND nh_clothing.style='' AND nh_clothing_variations.color1='' AND nh_clothing_variations.color2=''|}} {{#if:|OR nh_clothing.vill_equip=1 AND nh_clothing.style='' AND nh_clothing_variations.color1='' AND nh_clothing_variations.color2='' {{#if:|OR nh_clothing.vill_equip=1 AND nh_clothing.style='' AND nh_clothing_variations.color1='' AND nh_clothing_variations.color2=''|}}|}}
 
|order by=nh_clothing_variations.en_name
 
|format=template
 
|template=Ideal NH Gifts Navigate‎‎
 
|named args=yes
 
|limit=100
 
}}
 
}}
 
|}
 
|-
 
| colspan="2" |
 
{| width=100% cellpadding=0px style="background: transparent; border-collapse: collapse; text-align: center"
 
|
 
{{#switch:
 
|WW={{!}} colspan="2" style="border-top: 1px solid #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of  Clothing in Animal Crossing: Wild World|{{colorshow|000000|<span style{{=}}"color:#444">More  Clothing}}</span>]]</small>
 
|CF={{!}} 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  Furniture in Animal Crossing: City Folk|<span style{{=}}"color:#444">More  Furniture</span>]]</small>
 
{{!}} width=50% style="border-top: solid 1px #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of  Furniture in Animal Crossing: City Folk|<span style{{=}}"color:#444">More  Furniture</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  Items in Animal Crossing: New Leaf|<span style{{=}}"color:#444">More  Items</span>]]</small>
 
{{!}} width=50% style="border-top: solid 1px #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of  Items in Animal Crossing: New Leaf|<span style{{=}}"color:#444">More  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  Items in Animal Crossing: New Horizons|<span style{{=}}"color:#444">More  Items</span>]]</small><br>{{#if:|<small>[[List of  Items in Animal Crossing: New Horizons|<span style{{=}}"color:#444">More  Items</span>]]</small>|}}
 
{{!}} width=50% style="border-top: solid 1px #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of  Items in Animal Crossing: New Horizons|<span style{{=}}"color:#444">More  Items</span>]]</small><br>{{#if:|<small>[[List of  Items in Animal Crossing: New Horizons|<span style{{=}}"color:#444">More  Items</span>]]</small>|}}
 
}}
 
|}
 
|}
 
</div>
 
</div><span id="api-villager_picture" style="display:none;">{{filepath:{{PAGENAME}}PicACNL.png}}</span><span id="api-villager_siblings" style="display:none;">Unknown</span><span id="api-villager_skill" style="display:none;">Unknown</span><span id="api-villager_goal" style="display:none;">Unknown</span><span id="api-villager_fear" style="display:none;">Unknown</span><span id="api-villager_favclothing" style="display:none;">Unknown</span><span id="api-villager_leastfavclothing" style="display:none;">Unknown</span><span id="api-villager_favcolor" style="display:none;">Unknown</span><span id="api-villager_coffee-type" style="display:none;">Unknown</span><span id="api-villager_coffee-milk" style="display:none;">Unknown</span><span id="api-villager_coffee-sugar" style="display:none;">Unknown</span>
 
 
 
 
 

Latest revision as of 03:51, December 25, 2020