Difference between revisions of "User:SuperHamster/Sandbox/Red"
From Nookipedia, the Animal Crossing wiki
< User:SuperHamster | Sandbox
SuperHamster (talk | contribs) (Clear) Tag: Blanking |
SuperHamster (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | <div id="nh_item" style="width:330px; max-width:655px; background-color:#FFDD66; {{roundy|16px}}; padding:.2em .65em .2em .65em; text-align:center;"> | ||
+ | <div style="line-height:.45em; padding:7px 0 9px 0;"> | ||
+ | [[File:{{#switch: {{{category|}}} | ||
+ | | Housewares = Furniture NH Category Icon.png{{!}}Type of houseware | ||
+ | | Miscellaneous = Goods NH Category Icon.png{{!}}Type of miscellaneous furniture | ||
+ | | Wall-mounted = Wall Mount NH Category Icon.png{{!}}Type of wall-mounted furniture | ||
+ | | Tops = Clothes NH Category Icon.png{{!}}Type of top | ||
+ | | Bottoms = Bottom NH Category Icon.png{{!}}Type of bottom | ||
+ | | Dresses = Onepiece H Category Icon.png{{!}}Type of dress | ||
+ | | Headwear = Hat NH Category Icon.png{{!}}Type of headwear | ||
+ | | Accessories = Accessory NH Category Icon.png{{!}}Type of accessory | ||
+ | | Socks = Socks NH Category Icon.png{{!}}Type of sock | ||
+ | | Shoes = Shoes NH Category Icon.png{{!}}Type of shoe | ||
+ | | Bags = Bag NH Category Icon.png{{!}}Type of bag | ||
+ | | Umbrellas = Umbrella NH Category Icon.png{{!}}Type of umbrella | ||
+ | | Wallpaper = Wall NH Category Icon.png{{!}}Type of wallpaper | ||
+ | | Floors = Floor NH Category Icon.png{{!}}Type of floor | ||
+ | | Rug = Rug NH Category Icon.png{{!}}Type of rug | ||
+ | | Fossils = Fossil NH Category Icon.png{{!}}Type of fossil | ||
+ | | Music = Music NH Category Icon.png{{!}}Type of music | ||
+ | | Tools = Tool NH Category Icon.png{{!}}Type of tool | ||
+ | | Fish = Fish NH Category Icon.png{{!}}Type of fish | ||
+ | | Bug = Insect NH Category Icon.png{{!}}Type of bug | ||
+ | | All NH Category Icon.png{{!}}Type of item}}|sub|20px|link=]] | ||
+ | <span style="font-size:1.3em;">'''{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}}'''</span> | ||
+ | {{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|<span style{{=}}"display:inline-block; padding-bottom:.8em;"><small>|}}{{#if:{{{series|}}}|[[{{{series-link|{{{series|}}}}}} Series|{{{series|}}} Series]]|}}{{#if:{{{set|}}}|{{#if:{{{series|}}}|, |}}[[{{{set-link|{{{set|}}}}}} Set|{{{set|}}} Set]]|}}{{#if:{{{function1|}}}|{{#if:{{{series|}}}{{{set|}}}| {{Colorshow|dcab00|'''{{!}}'''}} }}{{{function1|}}}{{#if:{{{function2|}}}|, {{{function2|}}}}}{{#if:{{{function3|}}}|, {{{function3|}}}}}}}{{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|</small></span>|}}</div> | ||
+ | <div style="min-width: 305px;"> | ||
+ | <div style="text-align:center; background-color:#fff; {{roundy|16px}}; padding:4px 0 1px 0; align-items:center; display:grid; "> | ||
+ | {{#ifexist:File:{{#titleparts:{{PAGENAME}}||-1}} {{#if:{{{var|}}}|({{{var|}}}{{#if:{{{pat|}}}| - {{{pat|}}}}})}}{{#if:{{{pat|}}}|{{#if:{{{var|}}}||({{{pat|}}})}}}} NH Icon.png|[[File:{{#titleparts:{{PAGENAME}}||-1}} {{#if:{{{var|}}}|({{{var|}}}{{#if:{{{pat|}}}| - {{{pat|}}}}})}}{{#if:{{{pat|}}}|{{#if:{{{var|}}}||({{{pat|}}})}}}} NH Icon.png|256px|{{#titleparts:{{PAGENAME}}||-1}}]]|[[File:Nia.png|256px|No image available|link=]]}}<br>{{#if:{{{var|}}}|{{#if:{{{pat|}}}|<small>{{Colorshow|666|Variation shown: '''{{{var|}}}''' ({{{pat|}}})}}</small>|<small>{{Colorshow|666|Variation shown: '''{{{var|}}}'''}}</small>}}|{{#if:{{{pat|}}}|<small>{{Colorshow|666|Pattern shown: '''{{{pat|}}}'''}}</small>|}}}} | ||
+ | </div> | ||
+ | <!-- Height display --><div style="display:inline-block; vertical-align:top; padding-top:7px;"> | ||
+ | <div style="display:inline-block; padding:12px 18px 0 0;"> | ||
+ | <div style="border-bottom:2px dotted #666; position:relative; top:{{#ifexpr: {{{height|17}}} < 15 |{{#expr:35-((({{{height|3}}}/15)*36)round 0)}}|0px}}px; "></div> | ||
+ | <div style="padding-top:{{#ifexpr: {{{height|1}}} > 15 |{{#expr:35-(((15/{{{height|3}}})*36)round 0)}}|0}}px">[[File:Boy 1 NH Silhouette.png|baseline|x{{#ifexpr: {{{height|1}}} > 15 |{{#expr:((15/{{{height|3}}})*36)round 0}}|36}}px]]<span style="font-size:.7em; position: relative; top: -{{#ifexpr: {{{height|4}}} < 3.75 |12|2}}px;>'''height'''</span></div> | ||
+ | </div> | ||
+ | <!-- Size display --><div style="display:inline-block; vertical-align:top; padding-top:3px; padding-right:3px;"> | ||
+ | {{Size|{{{length|0.0}}}|{{{width|0.0}}}}} | ||
+ | </div> | ||
+ | <div style="display:inline-block; vertical-align:top; line-height:1.55em; padding-right:14px; text-align:left;"> | ||
+ | <span style="font-size:.9em;">'''Size:'''<br>{{{length|0.0}}} × {{{width|0.0}}}</span> | ||
+ | </div> | ||
+ | </div> | ||
+ | <!-- Buy/Sell display --><div style="display:inline-block; vertical-align:top; padding-top:5px;"> | ||
+ | <span style="font-size:.9em;">'''Buy:''' {{#if:{{{currency|}}}|{{Currency|{{{currency|}}}|{{{buy|}}}}}|{{{buy|Unknown}}}}}<br>'''Sell:''' {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}}}|Unknown}}</span> | ||
+ | </div> | ||
+ | <hr class="nh_item-divider" /> | ||
+ | <!-- Obtain From --><div style="width:100%; display:inline-block; text-align: left; vertical-align:top;"> | ||
+ | <span style="font-size:.9em;">'''Obtain from:'''</span><br> | ||
+ | {{Availability|{{{availability1|}}}|season={{{availability1-season|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|season={{{availability2-season|}}}}}}} | ||
+ | </div> | ||
+ | {{#switch:Crafting|{{{availability1|}}}|{{{availability2|}}}= | ||
+ | <div style{{=}}"text-align:left;"> | ||
+ | <hr class="nh_item-divider" /> | ||
+ | <!-- Recipe --><div style{{=}}"width:100%; vertical-align:top; display:inline-block; padding:0px 0px 5px 0px;"> | ||
+ | <span style="font-size:.9em;">'''Recipe:'''{{#if:{{{diy-availability|}}}| Obtained from {{Availability|{{{diy-availability|}}}|nb=false|size=sub{{!}}18px|season={{{diy-notes|}}}}}}}{{#if:{{{diy-availability2|}}}|, and {{Availability|{{{diy-availability2|}}}|nb=false|size=sub{{!}}18px|season={{{diy-notes2|}}}}}}}</span><br> | ||
+ | <span style="display:inline-block; max-width:335px; font-size:.9em;"> | ||
+ | {{Material|{{{mat1|}}}|{{{mat1-num|}}}|nb=true}}{{#if:{{{mat2|}}}|<span style="padding-left:1.2em;"></span>{{Material|{{{mat2|}}}|{{{mat2-num|}}}|nb=true}}}}{{#if:{{{mat3|}}}|<span style="padding-left:1.2em;"></span>{{Material|{{{mat3|}}}|{{{mat3-num|}}}|nb=true}}}}{{#if:{{{mat4|}}}|<span style="padding-left:1.2em;"></span>{{Material|{{{mat4|}}}|{{{mat4-num|}}}|nb=true}}}}{{#if:{{{mat5|}}}|<span style="padding-left:1.2em;"></span>{{Material|{{{mat5|}}}|{{{mat5-num|}}}|nb=true}}}}{{#if:{{{mat6|}}}|<span style="padding-left:1.2em;"></span>{{Material|{{{mat6|}}}|{{{mat6-num|}}}|nb=true}}}}</span> | ||
+ | </div> | ||
+ | </div>}}<!-- Closing #switch:Crafting --> | ||
+ | {{#if:{{{theme1|}}}{{{style|}}}{{{color1|}}}|<hr class="nh_item-divider" /><div style="text-align:left; width:100%; padding:0 0 3px 0;"> | ||
+ | {{#if:{{{theme1|}}}{{{theme2|}}}| <div style="display:inline-block;"> | ||
+ | <span style="font-size:.9em;">'''Theme(s):'''<br> | ||
+ | {{{theme1|Unknown}}}{{#if:{{{theme2|}}}| / {{{theme2|}}}}}</span> | ||
+ | </div>}} | ||
+ | {{#if:{{{style|}}}| <div style="display:inline-block;"> | ||
+ | <span style="font-size:.9em;">'''Style:'''<br> | ||
+ | {{{style|Unknown}}}</span> | ||
+ | </div>}} | ||
+ | {{#if:{{{color1|}}}{{{color2|}}}|<div style="display:inline-block; {{#if:{{{theme1|}}}{{{style|}}}|padding-left:14px;}}"> | ||
+ | <span style="font-size:.9em;"> '''Colors:'''</span><br><div style="display:inline-block; vertical-align:top; line-height:.9em;">{{Color|{{{color1|Unknown}}}|display=inline-block}} {{Color|{{{color2|Unknown}}}|display=inline-block}}</div> | ||
+ | </div>}} | ||
+ | </div>}}<hr class="nh_item-divider" /> | ||
+ | <!-- Customizable --> <div style="text-align:left;"> | ||
+ | <div style="vertical-align:top; display:inline-block;"> | ||
+ | <span style="font-size:.9em;">'''Customization:'''{{#ifeq:{{{customizable|}}}|True|<br>[[File:Customization Kit NH Icon.png|22px|link=|Remake kit]] {{{custom-kits|}}} kits<span style="padding-left:.8em;"></span>'''{{Colorshow|dcab00|–}}'''<span style="padding-left:.6em;"></span>[[File:Painting Set PC Icon.png|25px]]Color{{#ifeq:{{{pattern|}}}|True|<span style="padding-left:1em;"></span>[[File:Design WW Icon.png|17px]] Pattern</span>}}|<br>No customization options.</span>}} | ||
+ | </div> | ||
+ | </div> | ||
+ | {{#if:{{{var1|a}}}| | ||
+ | <hr class="nh_item-divider" /> | ||
+ | <div style="text-align: left;"> | ||
+ | <span style="font-size:.9em; line-height:0em;">'''Variations:''' | ||
+ | <div class="nh_item-flex-container" style="position:relative; top:-10px; text-align:center;"> | ||
+ | <!-- var1 start -->{{#if:{{{var1|a}}}|<div class="nh_item-flex-item nh_item-var"> | ||
+ | <div class="nh_item-var-img"> | ||
+ | [[File:{{{var1-img|Nia.png}}}|70px|{{{var1|No image available}}}|{{{var1-img|link=}}}]]</div><br> | ||
+ | <div class="nh_item-var-data"><div class="nh_item-var-title"><small>{{{var1|Unknown}}}</small></div> | ||
+ | </div> | ||
+ | </div>|}}<!-- var1 end --> | ||
+ | <!-- var2 start -->{{#if:{{{var2|a}}}|<div class="nh_item-flex-item nh_item-var"> | ||
+ | <div class="nh_item-var-img"> | ||
+ | [[File:{{{var2-img|Nia.png}}}|70px|{{{var2|No image available}}}|{{{var2-img|link=}}}]]</div><br> | ||
+ | <div class="nh_item-var-data"><div class="nh_item-var-title"><small>{{{var2|Unknown}}}</small></div> | ||
+ | </div> | ||
+ | </div>|}}<!-- var2 end --> | ||
+ | <!-- var3 start -->{{#if:{{{var3|a}}}|<div class="nh_item-flex-item nh_item-var"> | ||
+ | <div class="nh_item-var-img"> | ||
+ | [[File:{{{var3-img|Nia.png}}}|70px|{{{var3|No image available}}}|{{{var3-img|link=}}}]]</div><br> | ||
+ | <div class="nh_item-var-data"><div class="nh_item-var-title"><small>{{{var3|Unknown}}}</small></div> | ||
+ | </div> | ||
+ | </div>|}}<!-- var3 end --> | ||
+ | <!-- var4 start -->{{#if:{{{var4|a}}}|<div class="nh_item-flex-item nh_item-var"> | ||
+ | <div class="nh_item-var-img"> | ||
+ | [[File:{{{var4-img|Nia.png}}}|70px|{{{var4|No image available}}}|{{{var4-img|link=}}}]]</div><br> | ||
+ | <div class="nh_item-var-data"><div class="nh_item-var-title"><small>{{{var4|Unknown}}}</small></div> | ||
+ | </div> | ||
+ | </div>|}}<!-- var4 end --> | ||
+ | <!-- var5 start -->{{#if:{{{var5|a}}}|<div class="nh_item-flex-item nh_item-var"> | ||
+ | <div class="nh_item-var-img"> | ||
+ | [[File:{{{var5-img|Nia.png}}}|70px|{{{var5|No image available}}}|{{{var5-img|link=}}}]]</div><br> | ||
+ | <div class="nh_item-var-data"><div class="nh_item-var-title"><small>{{{var5|Unknown}}}</small></div> | ||
+ | </div> | ||
+ | </div>|}}<!-- var5 end --> | ||
+ | <!-- var6 start -->{{#if:{{{var6|a}}}|<div class="nh_item-flex-item nh_item-var"> | ||
+ | <div class="nh_item-var-img"> | ||
+ | [[File:{{{var6-img|Nia.png}}}|70px|{{{var6|No image available}}}|{{{var6-img|link=}}}]]</div><br> | ||
+ | <div class="nh_item-var-data"><div class="nh_item-var-title"><small>{{{var6|Unknown}}}</small></div> | ||
+ | </div> | ||
+ | </div>|}}<!-- var6 end --> | ||
+ | <!-- var7 start -->{{#if:{{{var7|a}}}|<div class="nh_item-flex-item nh_item-var"> | ||
+ | <div class="nh_item-var-img"> | ||
+ | [[File:{{{var7-img|Nia.png}}}|70px|{{{var7|No image available}}}|{{{var7-img|link=}}}]]</div><br> | ||
+ | <div class="nh_item-var-data"><div class="nh_item-var-title"><small>{{{var7|Unknown}}}</small></div> | ||
+ | </div> | ||
+ | </div>|}}<!-- var7 end --> | ||
+ | <!-- var8 start -->{{#if:{{{var8|a}}}|<div class="nh_item-flex-item nh_item-var"> | ||
+ | <div class="nh_item-var-img"> | ||
+ | [[File:{{{var8-img|Nia.png}}}|70px|{{{var8|No image available}}}|{{{var8-img|link=}}}]]</div><br> | ||
+ | <div class="nh_item-var-data"><div class="nh_item-var-title"><small>{{{var8|Unknown}}}</small></div> | ||
+ | </div> | ||
+ | </div>|}}<!-- var8 end --> | ||
+ | </div> | ||
+ | </span>}}</div> | ||
+ | {{#if:{{{pat1|}}}| | ||
+ | <hr class="nh_item-divider" /> | ||
+ | <div style="text-align:left; padding:1px 0 0 0;"> | ||
+ | <span style="font-size:.9em;">'''Patterns:'''</span> | ||
+ | <div style="position:relative; top:-8px; text-align:left; line-height:16px;"> | ||
+ | <div style="text-align:center; display:inline-block; margin:0 11px 0 11px;"> | ||
+ | [[File:{{{pat1-img|Nia.png}}}|60px|{{{pat1|No image available}}}|{{#if:{{{pat1-img|}}}||link=}}]]<br> | ||
+ | <small>{{{pat1|Unknown}}}</small> | ||
+ | </div>{{#if:{{{pat2|}}}| | ||
+ | <div style="text-align:center;display:inline-block; margin:0 11px 0 11px;"> | ||
+ | [[File:{{{pat2-img|Nia.png}}}|60px|{{{pat2|No image available}}}|{{#if:{{{pat2-img|}}}||link=}}]]<br> | ||
+ | <small>{{{pat2|Unknown}}}</small> | ||
+ | </div>}}{{#if:{{{pat3|}}}| | ||
+ | <div style="text-align:center;display:inline-block; margin:0 11px 0 11px;"> | ||
+ | [[File:{{{pat3-img|Nia.png}}}|60px|{{{pat3|No image available}}}|{{#if:{{{pat3-img|}}}||link=}}]]<br> | ||
+ | <small>{{{pat3|Unknown}}}</small> | ||
+ | </div>}}{{#if:{{{pat4|}}}| | ||
+ | <div style="text-align:center;display:inline-block; margin:0 11px 0 11px;"> | ||
+ | [[File:{{{pat4-img|Nia.png}}}|60px|{{{pat4|No image available}}}|{{#if:{{{pat4-img|}}}||link=}}]]<br> | ||
+ | <small>{{{pat4|Unknown}}}</small> | ||
+ | </div>}}{{#if:{{{pat5|}}}| | ||
+ | <div style="text-align:center;display:inline-block; margin:0 11px 0 11px;"> | ||
+ | [[File:{{{pat5-img|Nia.png}}}|60px|{{{pat5|No image available}}}|{{#if:{{{pat5-img|}}}||link=}}]]<br> | ||
+ | <small>{{{pat5|Unknown}}}</small> | ||
+ | </div>}}{{#if:{{{pat6|}}}| | ||
+ | <div style="text-align:center;display:inline-block; margin:0 11px 0 11px;"> | ||
+ | [[File:{{{pat6-img|Nia.png}}}|60px|{{{pat6|No image available}}}|{{#if:{{{pat6-img|}}}||link=}}]]<br> | ||
+ | <small>{{{pat6|Unknown}}}</small> | ||
+ | </div>}}{{#if:{{{pat7|}}}| | ||
+ | <div style="text-align:center;display:inline-block; margin:0 11px 0 11px;"> | ||
+ | [[File:{{{pat7-img|Nia.png}}}|60px|{{{pat7|No image available}}}|{{#if:{{{pat7-img|}}}||link=}}]]<br> | ||
+ | <small>{{{pat7|Unknown}}}</small> | ||
+ | </div>}}{{#if:{{{pat8|}}}| | ||
+ | <div style="text-align:center;display:inline-block; margin:0 11px 0 11px;"> | ||
+ | [[File:{{{pat8-img|Nia.png}}}|60px|{{{pat9|No image available}}}|{{#if:{{{pat8-img|}}}||link=}}]]<br> | ||
+ | <small>{{{pat8|Unknown}}}</small> | ||
+ | </div>}} | ||
+ | </div> | ||
+ | </div>}} | ||
+ | <hr class="nh_item-divider" /> | ||
+ | <div> | ||
+ | {{Translation | ||
+ | | color = dcab00 | ||
+ | | max-length = {{{max-length|30}}} | ||
+ | | ja-name = {{{ja-name|}}} | ||
+ | | ko-name = {{{ko-name|}}} | ||
+ | | zh-name = {{{zh-name|}}} | ||
+ | | zht-name = {{{zht-name|}}} | ||
+ | | fr-name = {{{fr-name|}}} | ||
+ | | frq-name = {{{frq-name|}}} | ||
+ | | es-name = {{{es-name|}}} | ||
+ | | esl-name = {{{esl-name|}}} | ||
+ | | it-name = {{{it-name|}}} | ||
+ | | de-name = {{{de-name|}}} | ||
+ | | nl-name = {{{nl-name|}}} | ||
+ | | ru-name = {{{ru-name|}}} | ||
+ | }} | ||
+ | </div> | ||
+ | {{#if:{{{notes|}}}| | ||
+ | <hr class="nh_item-divider" /> | ||
+ | <div style="text-align:left;"> | ||
+ | <div style="vertical-align:top; display:inline-block; line-height:1.3em;"> | ||
+ | <span style="font-size:.9em;">'''Notes:'''<br> | ||
+ | {{#if:{{{notes|}}}|• {{{notes|}}}|}} | ||
+ | </span> | ||
+ | </div>|}} | ||
+ | </div> | ||
+ | </div> | ||
+ | </div>{{#if:{{{variation1|}}}{{{pattern1|}}} | ||
+ | | <!-- Start table --> {{{!}} style="width:60%; border-spacing:8px; text-align:center; line-height:1em;" {{!}} | ||
+ | {{!}}- <!-- Output header row --> | ||
+ | {{#if:{{{variation1|}}} <!-- If item has variations... --> | ||
+ | | <!-- ...and also patterns, we output an additional column --> {{#if:{{{pattern1|}}} | {{!}}}} <!-- Loop through variations: --> {{#forargs: variation | key | value | ||
+ | | <br> <!-- Output 2 colors if just variations; otherwise output 1: --> | ||
+ | {{!}} {{{variation{{#var: key }}|}}}<br><small>{{Color|{{{var{{#var: key }}-color1|}}}|small=yes}}{{#if: {{{pattern1|}}} | | {{Color|{{{var{{#var: key }}-color2|}}}|small=yes}}}}</small>}} | ||
+ | | {{#if:{{{pattern1|}}} | <!-- Loop through patterns for each variation: --> {{#forargs: pattern | key | value | ||
+ | | <br> | ||
+ | {{!}} {{{pattern{{#var: key }}|}}}<br><small>{{Color|{{{pat{{#var: key }}-color1|}}}|small=yes}}</small>}}}} | ||
+ | | }} | ||
+ | |||
+ | {{#if:{{{variation1|}}} | ||
+ | | {{#if:{{{pattern1|}}} | {{#forargs: pattern | key | value |<br> | ||
+ | {{!}}- | ||
+ | {{!}} {{{pattern{{#var: key }}|}}}<br><small>{{Color|{{{pat{{#var: key }}-color1|}}}|small=yes}}</small> | ||
+ | {{#forargs: variation | key2 | value2 |<br> | ||
+ | {{!}} [[File:{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}} ({{{var{{#var: key2 }}|}}} - {{{{{#var: key }}|}}}).png|60px]] | ||
+ | }} | ||
+ | }} | ||
+ | | {{!}}- | ||
+ | {{#forargs: variation | key | value |<br> | ||
+ | {{!}} [[File:{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}} ({{{var{{#var: key2 }}|}}}).png|60px]] | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |} <!-- Close table --> | ||
+ | }} <!-- Close top-level {{#if:{{{variation1|}}}{{{pattern1|}}} --> | ||
+ | <noinclude><br>{{Documentation}}</noinclude> |