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

From Nookipedia, the Animal Crossing wiki
(Remove docs)
(Testing generic NH Cargo table display)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="flex-container">
+
<includeonly><!-- This first line must remain empty -->
<!--Second Table-->
+
| {{i|{{{name|}}}}} {{#if:{{{variation|}}}|({{{variation|}}})|{{#if:{{{pattern|}}}|({{{pattern|}}})|}}}}
<div class="flex-item">
+
| [[File:{{{image|}}}|64px|{{{name|}}}]]
{| 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}}"
+
| data-sort-value="{{{buy1-price|}}}" | {{#if:{{{buy1|}}}|{{{buy1|}}}|Not for sale}}
! 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}}
+
| data-sort-value="{{{sell|}}}" | {{Currency|Bells|{{{sell|}}}}}
|-
+
| {{Availability|{{{availability1|}}}}} {{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}}}|}}
| colspan="2" cellpadding="0px" style="padding:0px" |
+
|-</includeonly>
{| class="sortable roundCorners" width="100%" style="background-color: transparent"
 
! 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; {{roundyright}}" | Available From
 
<noinclude>|-
 
|</noinclude>{{#switch: {{{game|}}}
 
|WW={{Ideal Clothing|{{{favclothing|}}}}}
 
|CF={{Ideal Furniture/{{{favgenre|}}}|{{{favcolor|}}}}}
 
|NL={{Ideal Gifts/{{{favclothing|}}}|{{{favcolor|}}}}}
 
|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='{{{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|}}}'|}}|}}
 
|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: {{{game|}}}
 
|WW={{!}} colspan="2" style="border-top: 1px solid #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of {{{favclothing|}}} Clothing in Animal Crossing: Wild World|{{colorshow|000000|<span style{{=}}"color:#444">More {{{favclothing|}}} 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 {{{favcolor|}}} Furniture in Animal Crossing: City Folk|<span style{{=}}"color:#444">More {{{favcolor|}}} Furniture</span>]]</small>
 
{{!}} width=50% style="border-top: solid 1px #efba00; background-color:#FFDD66; font-weight:bold; text-align:center;" {{!}} <small>[[List of {{{favgenre|}}} Furniture in Animal Crossing: City Folk|<span style{{=}}"color:#444">More {{{favgenre|}}} 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 {{{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>
 
|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>|}}
 
}}
 
|}
 
|}
 
</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>
 

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