Changes

styles to css part1, var utilisation & background&border colours css
Line 1: Line 1: −
<includeonly>
+
<includeonly>{{#vardefine:furnType|{{#switch:{{{type|}}}|wall=1|floor=2|desk=3|window=4|object=5|chest=6|7}}}}
 
{|style="border:1px solid darkgray; border-top-left-radius:20px; border-bottom-left-radius:20px; max-width:1200px; width:100%" cellpadding="5px"
 
{|style="border:1px solid darkgray; border-top-left-radius:20px; border-bottom-left-radius:20px; max-width:1200px; width:100%" cellpadding="5px"
|style="width:250px; border-top-left-radius:20px; border-bottom-left-radius:20px; border: solid 3px #{{#switch: {{{type|}}}| wall= cc9966| floor= cc9999| desk= 9999cc| window= 99cccc| object= 66cc99| chest= cccc99| d3d3d3}}" align="center" rowspan=4|
+
|- style
 +
|style="width:250px; border-top-left-radius:20px; border-bottom-left-radius:20px; border: solid 3px" align="center" class="f00{{#var:furnType}}" rowspan=4|
 
{{#if: {{{picture|}}} {{{animated|}}} {{{reward|}}} {{{card|}}} {{{image1|}}}|{{#tag:tabber|Full=[[File:Furniture Full {{{ID|}}}.png|250px]]
 
{{#if: {{{picture|}}} {{{animated|}}} {{{reward|}}} {{{card|}}} {{{image1|}}}|{{#tag:tabber|Full=[[File:Furniture Full {{{ID|}}}.png|250px]]
 
{{!}}-{{!}}
 
{{!}}-{{!}}
Line 24: Line 25:  
{{#if: {{{image6|}}}|6=[[File:{{{image6|}}}|250px]]|}}
 
{{#if: {{{image6|}}}|6=[[File:{{{image6|}}}|250px]]|}}
 
}}|[[File:Furniture Full {{{ID|}}}.png|250px]]}}
 
}}|[[File:Furniture Full {{{ID|}}}.png|250px]]}}
|style="color: black; border: solid 0px; background-color:#{{#switch: {{{type|}}}|wall=cc9966|floor= cc9999|desk= 9999cc|window= 99cccc|object= 66cc99|chest= cccc99|d3d3d3}}" align="center" colspan=2|ID: {{{ID|}}}
+
|style="color: black; border: solid 0px;" align="center" class="f0{{#var:furnType}}" colspan=2|ID: {{{ID|}}}
   −
|style="color: black; border: solid 0px; background-color:#{{#switch: {{{type|}}}|wall=cc9966|floor= cc9999|desk= 9999cc|window= 99cccc|object= 66cc99|chest= cccc99|d3d3d3}}" align="center" colspan=2 rowspan=2|{{{nameJP|?}}}<br>''{{{nameEN|?}}}''
+
|style="color: black; border: solid 0px;" align="center" class="f0{{#var:furnType}}" colspan=2 rowspan=2|{{{nameJP|?}}}<br>''{{{nameEN|?}}}''
   −
|style="width:15%; color:black; border: solid 0px; background-color:#{{#switch: {{{type|}}}|wall=cc9966|floor= cc9999|desk= 9999cc|window= 99cccc|object= 66cc99|chest= cccc99|d3d3d3}}" align="center" colspan=3 rowspan=2|Rarity:<br>{{#switch: {{{rarity|}}}|1=★☆☆☆☆☆☆|2= ★★☆☆☆☆☆|3= ★★★☆☆☆☆|4= ★★★★☆☆☆|5= ★★★★★☆☆|6= ★★★★★★☆|7= ★★★★★★★| ☆☆☆☆☆☆☆}}
+
|style="width:15%; color:black; border: solid 0px;" align="center" class="f0{{#var:furnType}}" colspan=3 rowspan=2|Rarity:<br>{{#switch: {{{rarity|}}}|1=★☆☆☆☆☆☆|2= ★★☆☆☆☆☆|3= ★★★☆☆☆☆|4= ★★★★☆☆☆|5= ★★★★★☆☆|6= ★★★★★★☆|7= ★★★★★★★| ☆☆☆☆☆☆☆}}
 
|-
 
|-
|style="color: black; border: solid 0px; background-color:#{{#switch: {{{type|}}}|wall=cc9966|floor= cc9999|desk= 9999cc|window= 99cccc|object= 66cc99|chest= cccc99|d3d3d3}}" align="center" colspan=2|Price:
+
|style="color: black; border: solid 0px;" class="f0{{#var:furnType}}" align="center" colspan=2|Price:
 
|-
 
|-
 
|width=71px align="center"| {{#if:{{{coin|}}}|[[File:Item Full Furniture Coin.png|50px|link=Furniture Coin]]<br>{{#if:{{{discount|}}}|''Full Price:''<br>|}}{{#ifexpr:{{{coin|}}}=0|Free|{{{coin|}}} }}|N/A}}
 
|width=71px align="center"| {{#if:{{{coin|}}}|[[File:Item Full Furniture Coin.png|50px|link=Furniture Coin]]<br>{{#if:{{{discount|}}}|''Full Price:''<br>|}}{{#ifexpr:{{{coin|}}}=0|Free|{{{coin|}}} }}|N/A}}
 
|width=71px align="center"| {{#if:{{{fairy|}}}|[[File:Item Full Furniture Fairy.png|50px|link=Furniture Fairy]]<br>1|{{#if:{{{discount|}}}|[[File:Item Full Furniture Coin.png|50px|link=Furniture Coin]]<br>''Discount:<br>{{{discount|}}}'' +1{{Item/Icon|Furniture Fairy|size=20px}}| }}}}
 
|width=71px align="center"| {{#if:{{{fairy|}}}|[[File:Item Full Furniture Fairy.png|50px|link=Furniture Fairy]]<br>1|{{#if:{{{discount|}}}|[[File:Item Full Furniture Coin.png|50px|link=Furniture Coin]]<br>''Discount:<br>{{{discount|}}}'' +1{{Item/Icon|Furniture Fairy|size=20px}}| }}}}
|style="border: solid 2px #{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99 | d3d3d3}}; padding:10px" colspan=3| {{{descriptionJP|?}}}<br>''{{{descriptionEN|?}}}''
+
|style="border: solid 2px; padding:10px" class="f00{{#var:furnType}}" colspan=3| {{{descriptionJP|?}}}<br>''{{{descriptionEN|?}}}''
 
|-
 
|-
|style="border:solid 2px #{{#switch: {{{type|}}}|wall= cc9966|floor= cc9999 |desk= 9999cc |window= 99cccc |object= 66cc99 |chest= cccc99 | d3d3d3}}; padding:10px" colspan=5|{{#if:{{{BGM|}}}|'''Special BGM:''' {{{BGM}}} [[File:NPC Fairy Furniture BGM.png|40px|link=Furniture#Music List|Special BGM]]<br>|}}'''Released the:''' {{#if:{{{release|}}}|{{GameUpdates|{{{release|}}}}}|''?''}}<br>'''Availability:''' {{{availability|?}}}{{#if:{{{feature|}}}|<br>'''Special Feature:''' {{{feature|}}}}}{{#if:{{{note|}}}|<br>'''Notes:''' {{{note|}}}}}
+
|style="border:solid 2px; padding:10px" class="f00{{#var:furnType}}" colspan=5|{{#if:{{{BGM|}}}|'''Special BGM:''' {{{BGM}}} [[File:NPC Fairy Furniture BGM.png|40px|link=Furniture#Music List|Special BGM]]<br>|}}'''Released the:''' {{#if:{{{release|}}}|{{GameUpdates|{{{release|}}}}}|''?''}}<br>'''Availability:''' {{{availability|?}}}{{#if:{{{feature|}}}|<br>'''Special Feature:''' {{{feature|}}}}}{{#if:{{{note|}}}|<br>'''Notes:''' {{{note|}}}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
  
advmod, cssedit, Interface administrators, janitor, Moderators, prechecked, Widget editors
7,373

edits