• 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
 
(One intermediate revision by the same user not shown)
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|Furniture Full 1.png}}}|800px]]</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|Furniture Full 38.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:200px;">[[File:{{{background|}}}|438px]]</div>|}}
<div style="position:absolute;left:200px;">[[File:{{{window|Furniture Full 547.png}}}|438px]]]</div>
+
<div style="position:absolute;left:200px;">[[File:{{{window|Furniture Full 547.png}}}|438px]]</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>|}}

Latest revision as of 14:24, 3 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_windowBGx_y

  • x is the window type (0 to 13)
  • y is time weather effect (morning=0, noon=1, afternoon=2, evening=3, night=4)


{{Office
|wall=Furniture Full 237.png
|floor=Furniture Full 5.png
|window=Furniture Full 230.png
|desk=Furniture Full 233.png
|object=Furniture Full 584.png
|chest=Furniture Full 234.png
|ship=Ranger Full Setsubun 2023.png
|scale=0.6
|background=Furniture windowBG4 3.png
}}


Furniture Full 5.png
Furniture Full 237.png
Furniture windowBG4 3.png
Furniture Full 230.png
Furniture Full 584.png
Furniture Full 234.png
Furniture Full 233.png
Ranger Full Setsubun 2023.png