Changes

Add "size" and "position" functionality, as well as default values for some furniture types. Detailed documentations to be added.
Line 2: Line 2:  
|-
 
|-
 
| 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}}; background:#" rowspan="3"| {{#if:{{{slideshow|}}}|<div style="overflow:hidden;width:265px;max-height:200px;border-top-left-radius:20px; border-bottom-left-radius:20px;"><div style="position:relative;bottom:5px;right:5px;">{{{slideshow|}}}</div></div>
 
| 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}}; background:#" rowspan="3"| {{#if:{{{slideshow|}}}|<div style="overflow:hidden;width:265px;max-height:200px;border-top-left-radius:20px; border-bottom-left-radius:20px;"><div style="position:relative;bottom:5px;right:5px;">{{{slideshow|}}}</div></div>
|<div style="overflow:hidden;width:265px;max-height:250px;border-top-left-radius:20px; border-bottom-left-radius:20px;">{{#ifeq:{{{type|}}}|floor|<div style="position:relative;right:100%;">|}}{{#if:{{{image|}}}|[[File:{{{image|}}}{{!}}center{{#if:{{{description|}}}|{{!}}{{{description|}}}|}}]]|}}{{#ifeq:{{{type|}}}|floor|</div>|}}</div>}}
+
|<div style="overflow:hidden;width:265px;max-height:250px;border-top-left-radius:20px; border-bottom-left-radius:20px;"><div style="position:relative;{{{position|{{#switch: {{{type|}}}| floor = right:25%;| chest = left:10%;bottom:80px;|}}}}}">{{#if:{{{image|}}}|[[File:{{{image|}}}{{!}}center{{#if:{{{description|}}}|{{!}}{{{description|}}}|}}{{#if: {{{size|{{#switch: {{{type|}}}| wallpaper = 600px;| window = 350px| desk = 265px|}}}}}|{{!}}{{{size|{{#switch: {{{type|}}}| wallpaper = 600px;| window = 350px| desk = 265px|}}}}}|}}]]|}}</div></div>}}
 
| style="border: solid 0px;background-color:#{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99 | d3d3d3}};" width="100%" align="center" colspan="3"| '''{{{name|Name?}}}'''  
 
| style="border: solid 0px;background-color:#{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99 | d3d3d3}};" width="100%" align="center" colspan="3"| '''{{{name|Name?}}}'''  
 
{{{japanesename|}}}
 
{{{japanesename|}}}
Anonymous user