Template:POH room/doc

Template documentation
The POH room template displays a basic house room.

Examples
Text in the middle is the value of the doors parameter that was used to generate the room. Letters can be in any order.

Creating a floorplan
Making a floorplan for a house is time well spent. Removing and adding a new room can quickly add up to a significant amount of money. The House room template helps players in making their floorplan in a few simple steps. A floorplan requires a grid to place rooms onto. A simple way to implement this is by using a wiki table: The example above creates an empty table without any spacing between the two rows and the two columns. Adding more columns involves adding extra lines starting with a "|". Adding a line starting with "|-" creates another row. This mechanism can be used to create a grid that is suitable to hold a floorplan. For a floorplan, each of the cells typically will hold a room or stays empty. A simple example: The example produces the following table:

The diagram shows that the rooms do not interconnect nicely. The rotate parameter helps to put the doors in the right location. A possible fix to the table is shown in the following wiki table code: This produces the following result:

If the final layout has a door adjacent to a closed wall, there will be no opening between the rooms in the game. It is possible to clean up the representation of the layout by changing the room shape parameter to a less connected one.

The recommended step by step approach is:
 * 1) Create table and include the room types at the appropriate grid point. Do not use a rotate or a shape parameter. Use the preview button  during editing to see the result.
 * 2) The rooms will not interconnect as intended. Add rotate parameters to achieve the appropriate interconnects between rooms. Again use preview to evaluate the results.
 * 3) Between some rooms it will be impossible to create a connection. Use a shape parameter with reduced interconnects to remove the unused connection capability of the rooms. Add rotations if required. The preview button is a great help for this process.
 * 4) Check Category:Player-owned house plans for examples of house floorplans on other wiki user pages.

Known Rooms
A complete list of rooms known by the template, and their default door positions, are:

There is also a special room called "Filler" that will occupy the space of the room but without being shown as a room. This can be useful when laying out floor plans.