- 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"
Jump to navigation
Jump to search
Jigaraphale (talk | contribs) |
|||
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 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}}}| | + | <div style="position:absolute;top:0px;">[[File:{{{wall|Common wallpaper.png}}}|800px]]</div> |
− | {{#if:{{{background|}}}|<div style="position:absolute;left:180px;">[[File:{{{background|}}} | + | {{#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 style="position:absolute;left:200px;">[[File:{{{window|Window with red curtain.png}}}]]</div> |
− | {{#if:{{{object|}}}|<div style="position:absolute;left:0px;">[[File:{{{object|}}} | + | {{#if:{{{object|}}}|<div style="position:absolute;left:0px;">[[File:{{{object|}}}|170px]]</div>|}} |
− | {{#if:{{{chest|}}}|<div style="position:absolute;right:0px;">[[File:{{{chest|}}} | + | {{#if:{{{chest|}}}|<div style="position:absolute;right:0px;">[[File:{{{chest|}}}|220px]]</div>|}} |
− | <div style="position:absolute;top:130px;">[[File:{{{desk|Common cardboard.png}}}| | + | <div style="position:absolute;top:130px;">[[File:{{{desk|Common cardboard.png}}}|365px]]</div> |
− | {{#if:{{{ship|}}}|<div style="position:absolute;right:0px;">[[File:{{{ship|}}} | + | {{#if:{{{ship|}}}|<div style="position:absolute;right:0px;">[[File:{{{ship|}}}]]</div>|}}</div></div> |
<noinclude> | <noinclude> | ||
Line 50: | Line 50: | ||
|background=Furniture windowBG4_2.png | |background=Furniture windowBG4_2.png | ||
}} | }} | ||
+ | |||
</noinclude> | </noinclude> |
Revision as of 14:56, 2 November 2024
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 }}