• 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
>Fujihita
m (Fix example's background)
>Fujihita
m (Make nothing is default background)
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:280px;">[[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>
+
{{#if:{{{background|}}}|<div style="position:absolute;left:180px;">[[File:{{{background|}}}|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>|}}

Revision as of 06:58, 25 February 2015

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=Drawings floor.png
|wall=Wallpaper with origami crane motif.png
|window=Elegant large blue window.png
|object=Classroom Set Blackboard.png
|chest=Classroom set Desk.png
|desk=Classroom set Teacher's desk.png
|ship=154.png
|scale=0.6
|background=Furniture windowBG4_2.png
}}


Drawings floor.png
Wallpaper with origami crane motif.png
Furniture windowBG4 2.png
Elegant large blue window.png
Classroom set blackboard.png
Classroom set Desk.png
Classroom set Teacher's desk.png
154.png