Difference between revisions of "Template:Office"
Jigaraphale (talk | contribs) |
|||
(15 intermediate revisions by 4 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| | + | <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| | + | <div style="position:absolute;top:0px;">[[File:{{{wall|Furniture Full 38.png}}}|800px]]</div> |
− | {{#if:{{{background|}}}|<div style="position:absolute;left: | + | {{#if:{{{background|}}}|<div style="position:absolute;left:200px;">[[File:{{{background|}}}|438px]]</div>|}} |
− | <div style="position:absolute;left:200px;">[[File:{{{window| | + | <div style="position:absolute;left:200px;">[[File:{{{window|Furniture Full 547.png}}}|438px]]</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| | + | <div style="position:absolute;top:130px;">[[File:{{{desk|Furniture_Full_202.png}}}|365px]]</div> |
− | {{#if:{{{ship|}}}|<div style="position:absolute;right: | + | {{#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: | + | Background naming convention: Furniture_windowBG'''x'''_'''y''' |
− | + | *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 | ||
− | | | + | |wall=Furniture Full 237.png |
− | | | + | |floor=Furniture Full 5.png |
− | |window= | + | |window=Furniture Full 230.png |
− | | | + | |desk=Furniture Full 233.png |
− | | | + | |object=Furniture Full 584.png |
− | | | + | |chest=Furniture Full 234.png |
− | |ship= | + | |ship=Ranger Full Setsubun 2023.png |
|scale=0.6 | |scale=0.6 | ||
− | |background=Furniture | + | |background=Furniture windowBG4 3.png |
}} | }} | ||
</pre> | </pre> | ||
Line 40: | Line 38: | ||
{{Office | {{Office | ||
− | | | + | |wall=Furniture Full 237.png |
− | | | + | |floor=Furniture Full 5.png |
− | |window= | + | |window=Furniture Full 230.png |
− | | | + | |desk=Furniture Full 233.png |
− | | | + | |object=Furniture Full 584.png |
− | | | + | |chest=Furniture Full 234.png |
− | |ship= | + | |ship=Ranger Full Setsubun 2023.png |
|scale=0.6 | |scale=0.6 | ||
− | |background=Furniture | + | |background=Furniture windowBG4 3.png |
}} | }} | ||
+ | |||
</noinclude> | </noinclude> |
Latest revision as of 14:24, 3 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_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 }}