• 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
m
(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|Chinju-fu_standard_floor.png}}}]]</div>
 
<div style="position:absolute;top:0px;">[[File:{{{wall|Common wallpaper.png}}}|800px]]</div>
 
<div style="position:absolute;top:0px;">[[File:{{{wall|Common wallpaper.png}}}|800px]]</div>
{{#if:{{{background|}}}|<div style="position:absolute;left:180px;">[[File:{{{background|}}}|438px]]</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|Window with red curtain.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>|}}

Revision as of 15:00, 2 November 2024

Chinju-fu standard floor.png
Common wallpaper.png
Window with red curtain.png


Common cardboard.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