• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Template:Office"

From Kancolle Wiki
Jump to navigation Jump to search
(Undo revision 184480 by Jigaraphale (talk))
Tag: Undo
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:280px;">[[File:{{{floor|Chinju-fu_standard_floor.png}}}]]</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:280px;">[[File:{{{floor|Furniture Full 1.png}}}|800px]]</div>
<div style="position:absolute;top:0px;">[[File:{{{wall|Common wallpaper.png}}}|800px]]</div>
+
<div style="position:absolute;top:0px;">[[File:{{{wall|Furniture Full 38.png}}}|800px]]</div>
 
{{#if:{{{background|}}}|<div style="position:absolute;left:180px;">[[File:{{{background|}}}]]</div>|}}
 
{{#if:{{{background|}}}|<div style="position:absolute;left:180px;">[[File:{{{background|}}}]]</div>|}}
<div style="position:absolute;left:200px;">[[File:{{{window|Window with red curtain.png}}}]]</div>
+
<div style="position:absolute;left:200px;">[[File:{{{window|Furniture Full 547.png}}}]]</div>
 
{{#if:{{{object|}}}|<div style="position:absolute;left:0px;">[[File:{{{object|}}}|170px]]</div>|}}
 
{{#if:{{{object|}}}|<div style="position:absolute;left:0px;">[[File:{{{object|}}}|170px]]</div>|}}
 
{{#if:{{{chest|}}}|<div style="position:absolute;right:0px;">[[File:{{{chest|}}}|220px]]</div>|}}
 
{{#if:{{{chest|}}}|<div style="position:absolute;right:0px;">[[File:{{{chest|}}}|220px]]</div>|}}
<div style="position:absolute;top:130px;">[[File:{{{desk|Common cardboard.png}}}|365px]]</div>
+
<div style="position:absolute;top:130px;">[[File:{{{desk|Furniture_Full_202.png}}}|365px]]</div>
 
{{#if:{{{ship|}}}|<div style="position:absolute;right:0px;">[[File:{{{ship|}}}]]</div>|}}</div></div>
 
{{#if:{{{ship|}}}|<div style="position:absolute;right:0px;">[[File:{{{ship|}}}]]</div>|}}</div></div>
 
 
<noinclude>
 
<noinclude>
 
Generate a scalable office screen from wikitext template, see [[Furniture]] for furniture images.
 
Generate a scalable office screen from wikitext template, see [[Furniture]] for furniture images.
Line 50: Line 49:
 
|background=Furniture windowBG4_2.png
 
|background=Furniture windowBG4_2.png
 
}}
 
}}
 
  
 
</noinclude>
 
</noinclude>

Revision as of 19:24, 2 November 2024

Furniture Full 1.png
Furniture Full 38.png
Furniture Full 547.png


Furniture Full 202.png

Generate a scalable office screen from wikitext template, see Furniture for furniture images.

  • Default scale value: 0.8
  • Width: 800px * scale
  • Height: 480px * scale

Limitation: Does not support screen alignment.

Background naming convention: Furniture_windowBG1x_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)


{{Office
|floor=Blue carpet.png
|wall=Battleship-style dark grey wall.png
|window=Elegant large blue window.png
|object=Wall-mounted practice map set.png
|chest=Study bookshelf.png
|desk=Admiral's desk.png
|ship=154.png
|scale=0.6
|background=Furniture windowBG4_2.png
}}


Blue carpet.png
Battleship-style dark grey wall.png
Furniture windowBG4 2.png
Elegant large blue window.png
Wall-mounted practice map set.png
Study bookshelf.png
Admiral's desk.png
154.png