Template:Infobox/doc: Difference between revisions

Jump to navigation Jump to search
(→‎size: add conventions/comment syntax for irregularly shaped items/windows)
Line 297: Line 297:
'''size''' specifies the dimensions of the item when placed in the world, denoted by the squares that appear in furniture placement mode. When placing items in the world, items will always face a default orientation relative to the viewer's perspective, so long as the viewer is squarely facing a cardinal direction (or a wall of a room, if indoors). Values should be provided in '''WIDTH''' x '''DEPTH''' or '''WIDTH''' x '''HEIGHT''' order of this default orientation.
'''size''' specifies the dimensions of the item when placed in the world, denoted by the squares that appear in furniture placement mode. When placing items in the world, items will always face a default orientation relative to the viewer's perspective, so long as the viewer is squarely facing a cardinal direction (or a wall of a room, if indoors). Values should be provided in '''WIDTH''' x '''DEPTH''' or '''WIDTH''' x '''HEIGHT''' order of this default orientation.


The syntax for providing the dimensions for windows (which usually occupy the full 9 square height of the wall, but often have space above or below the window where items can be placed) has not yet been determined. The syntax for providing dimensions where items do not occupy the full rectangular space of the W x D also has not been determined.
If an item does not occupy the full rectangular space of the W x D dimensions (e.g. a round item that can have other items placed in the corners), the current convention is to add <code><nowiki>*<!--DIMENSIONS NOT FILLED--></nowiki></code> following the value. For windows, which typically occupy the full 9 square height of the wall, but have space above or below the window where wall items can be placed, the size can be specified using <code><nowiki>size=WxH*<!--DIMENSIONS NOT FILLED--><!--(X above, Y below)--></nowiki></code>. These values will not display in the infobox at this time, as it has not yet been determined how to convey them in a concise and useful manner for wiki users.
 


====surfaceArea====
====surfaceArea====