Changes

Add background parameter
Line 1: Line 1:  
<div style="height:{{#expr:480*{{{scale|0.8}}}}}px;width:{{#expr:800*{{{scale|0.8}}}}}px;overflow:hidden;position:relative;"><div style="height:480px; width:800px;transform-origin:top left;transform:scale({{{scale|0.8}}});"><div style="position:absolute;top:275px;">[[File:{{{floor|Chinju-fu_standard_floor.png}}}|link=]]</div>
 
<div style="height:{{#expr:480*{{{scale|0.8}}}}}px;width:{{#expr:800*{{{scale|0.8}}}}}px;overflow:hidden;position:relative;"><div style="height:480px; width:800px;transform-origin:top left;transform:scale({{{scale|0.8}}});"><div style="position:absolute;top:275px;">[[File:{{{floor|Chinju-fu_standard_floor.png}}}|link=]]</div>
 
<div style="position:absolute;top:0px;">[[File:{{{wall|Common wallpaper.png}}}|link=]]</div>
 
<div style="position:absolute;top:0px;">[[File:{{{wall|Common wallpaper.png}}}|link=]]</div>
 +
<div style="position:absolute;left:180px;">[[File:{{{background|Furniture windowBG3_1.png}}}|link=]]</div>
 
<div style="position:absolute;left:200px;">[[File:{{{window|Window with red curtain.png}}}|link=]]</div>
 
<div style="position:absolute;left:200px;">[[File:{{{window|Window with red curtain.png}}}|link=]]</div>
 
{{#if:{{{object|}}}|<div style="position:absolute;left:0px;">[[File:{{{object|}}}{{!}}link=]]</div>|}}
 
{{#if:{{{object|}}}|<div style="position:absolute;left:0px;">[[File:{{{object|}}}{{!}}link=]]</div>|}}
Line 15: Line 16:     
'''Limitation: Does not support screen alignment.'''
 
'''Limitation: Does not support screen alignment.'''
 +
 +
Background naming convention: Furniture_windowBG1'''x'''_'''y'''
 +
 +
For x and y containing value from 1 to 5.
 +
*x is the window type
 +
*y is time weather effect (morning, noon, afternoon, evening, night)
 +
    
<pre>
 
<pre>
Line 26: Line 34:  
|ship=154.png
 
|ship=154.png
 
|scale=0.6
 
|scale=0.6
 +
|background=Furniture windowBG1_3.png
 
}}
 
}}
 
</pre>
 
</pre>
Line 39: Line 48:  
|ship=154.png
 
|ship=154.png
 
|scale=0.6
 
|scale=0.6
 +
|background=Furniture windowBG1_3.png
 
}}
 
}}
    
</noinclude>
 
</noinclude>
Anonymous user