• 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
 
(10 intermediate revisions by 2 users 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|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|Furniture Full 1.png}}}|800px]]</div>
<div style="position:absolute;top:0px;">[[File:{{{wall|Common wallpaper.png}}}|link=]]</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|}}}|link=]]</div>|}}
+
{{#if:{{{background|}}}|<div style="position:absolute;left:200px;">[[File:{{{background|}}}|438px]]</div>|}}
<div style="position:absolute;left:200px;">[[File:{{{window|Window with red curtain.png}}}|link=]]</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|}}}{{!}}link=]]</div>|}}
+
{{#if:{{{object|}}}|<div style="position:absolute;left:0px;">[[File:{{{object|}}}|170px]]</div>|}}
{{#if:{{{chest|}}}|<div style="position:absolute;right:0px;">[[File:{{{chest|}}}{{!}}link=]]</div>|}}
+
{{#if:{{{chest|}}}|<div style="position:absolute;right:0px;">[[File:{{{chest|}}}|220px]]</div>|}}
<div style="position:absolute;top:130px;">[[File:{{{desk|Common cardboard.png}}}|link=]]</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|}}}{{!}}link=]]</div>|}}</div></div>
+
{{#if:{{{ship|}}}|<div style="position:absolute;right:50px;">[[File:{{{ship|}}}|367px]]</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 17: Line 16:
 
'''Limitation: Does not support screen alignment.'''
 
'''Limitation: Does not support screen alignment.'''
  
Background naming convention: Furniture_windowBG1'''x'''_'''y'''
+
Background naming convention: Furniture_windowBG'''x'''_'''y'''
  
For x and y containing value from 1 to 5.
+
*x is the window type (0 to 13)
*x is the window type
+
*y is time weather effect (morning=0, noon=1, afternoon=2, evening=3, night=4)
*y is time weather effect (morning, noon, afternoon, evening, night)
 
  
  
 
<pre>
 
<pre>
 
{{Office
 
{{Office
|floor=Blue carpet.png
+
|wall=Furniture Full 237.png
|wall=Battleship-style dark grey wall.png
+
|floor=Furniture Full 5.png
|window=Elegant large blue window.png
+
|window=Furniture Full 230.png
|object=Wall-mounted practice map set.png
+
|desk=Furniture Full 233.png
|chest=Study bookshelf.png
+
|object=Furniture Full 584.png
|desk=Admiral's desk.png
+
|chest=Furniture Full 234.png
|ship=154.png
+
|ship=Ranger Full Setsubun 2023.png
 
|scale=0.6
 
|scale=0.6
|background=Furniture windowBG4_2.png
+
|background=Furniture windowBG4 3.png
 
}}
 
}}
 
</pre>
 
</pre>
Line 40: Line 38:
  
 
{{Office
 
{{Office
|floor=Crimson high-grade carpet.png
+
|wall=Furniture Full 237.png
|wall=Common wallpaper.png
+
|floor=Furniture Full 5.png
|window=Window with red curtain.png
+
|window=Furniture Full 230.png
|object=Old wall clock.png
+
|desk=Furniture Full 233.png
|chest=Classic shelf.png
+
|object=Furniture Full 584.png
|desk=Kongou's tea set.png
+
|chest=Furniture Full 234.png
|ship=092chibi.png
+
|ship=Ranger Full Setsubun 2023.png
 
|scale=0.6
 
|scale=0.6
|background=Furniture windowBG4_1.png
+
|background=Furniture windowBG4 3.png
 
}}
 
}}
 +
  
 
</noinclude>
 
</noinclude>

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