- 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
>Fujihita m (Fix div closing tags) |
>Fujihita m (Add scalability) |
||
| Line 1: | Line 1: | ||
| − | <div style="height: | + | <div style="height:{{#expr:480*{{{scale|0.8}}}}}px;width:{{#expr:800*{{{scale|0.8}}}}}px;overflow:hidden;"><div style="transform-origin:top left;transform:scale({{{scale|0.8}}});position:relative;"><div style="position:absolute;top:275px;">[[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: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> | ||
| Line 5: | Line 5: | ||
{{#if:{{{chest|}}}|<div style="position:absolute;right:0px;">[[File:{{{chest|}}}{{!}}link=]]</div>|}} | {{#if:{{{chest|}}}|<div style="position:absolute;right:0px;">[[File:{{{chest|}}}{{!}}link=]]</div>|}} | ||
<div style="position:absolute;top:130px;">[[File:{{{desk|Common cardboard.png}}}|link=]]</div> | <div style="position:absolute;top:130px;">[[File:{{{desk|Common cardboard.png}}}|link=]]</div> | ||
| − | {{#if:{{{ship|}}}|<div style="position:absolute;right:0px;">[[File:{{{ship|}}}{{!}}link=]]</div>|}}</div> | + | {{#if:{{{ship|}}}|<div style="position:absolute;right:0px;">[[File:{{{ship|}}}{{!}}link=]]</div>|}}</div></div> |
<noinclude> | <noinclude> | ||
| + | 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.''' | ||
<pre> | <pre> | ||
| Line 33: | Line 40: | ||
|scale=0.6 | |scale=0.6 | ||
}} | }} | ||
| + | |||
</noinclude> | </noinclude> | ||
Revision as of 15:36, 21 February 2015
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.
{{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
}}










