Template documentation[edit] [purge]
This documentation is transcluded from Template:POH room/doc.

The POH room template displays a basic player-owned house room.

Usage

{{POH room
|room    = name of room (see examples below)
|doors   = list of cardinal directions (e.g. "nesw")
|color   = background color
|text    = alternative text for center of room
|habitat = if the room is Menagerie (see examples below)
}}

Note that you can use ".POH" css style to change the colour of the text inside the room, provided that you have used the "text" tag in the Template script.

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.

House hwall.png
House vwall.png x House vwall.png
House h2wall.png
House hwall.png
House vwall.png s House vwall.png
House h2door.png
House hdoor.png
House vdoor.png nw House vwall.png
House h2wall.png
House hwall.png
House vdoor.png we House vdoor.png
House h2wall.png
House hdoor.png
House vdoor.png new House vdoor.png
House h2wall.png
House hdoor.png
House vdoor.png news House vdoor.png
House h2door.png

Creating a floorplan

Making a floorplan for a house is time well spent. Repeatedly adding and removing rooms can cost a significant amount of money, magnified by the cost of any furniture in the rooms. The POH 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:

{| cellspacing="0" cellpadding="0" border="0"
| cell top left
| cell top right
|-
| cell bottom left
| cell bottom right
|}

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:

{| cellspacing="0" cellpadding="0" border="0"
| {{POH room|room=Garden}}
| {{POH room|room=Kitchen}}
|-
| {{POH room|room=Parlour}}
| 
|}

The example produces the following table:

House hdoor.png
House vdoor.png Garden House vdoor.png
House h2door.png
House hwall.png
House vwall.png Kitchen House vdoor.png
House h2door.png
House hwall.png
House vdoor.png Parlour House vdoor.png
House h2door.png

The diagram shows that the rooms do not interconnect nicely. The doors parameter can be used to add or remove doors as needed, by providing the cardinal directions the doors should face. A possible fix to the table is shown in the following wiki table code:

{| cellspacing="0" cellpadding="0" border="0"
| {{POH room|room=Garden}}
| {{POH room|room=Kitchen|doors=ws}}
|-
| {{POH room|room=Parlour|doors=nwe}}
| 
|}

This produces the following result:

House hdoor.png
House vdoor.png Garden House vdoor.png
House h2door.png
House hwall.png
House vdoor.png Kitchen House vwall.png
House h2door.png
House hdoor.png
House vdoor.png Parlour House vdoor.png
House h2wall.png

You can also use the doors parameter to remove certain doors, such as in cases where rooms on the second floor have unused openings that do not appear in-game.

The recommended step-by-step approach is:

  1. Create table and include the room types at the appropriate grid point. Do not use a doors parameter. Use the preview button during editing to see the result.
  2. The rooms will not interconnect as intended. Add the doors parameter to achieve the appropriate interconnects between rooms. Again use preview to evaluate the results. It may take several tries to get all the connections right.

Known rooms

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

House hdoor.png
House vdoor.png Garden House vdoor.png
House h2door.png
House hwall.png
House vdoor.png Parlour House vdoor.png
House h2door.png
House hwall.png
House vwall.png Kitchen House vdoor.png
House h2door.png
House hwall.png
House vdoor.png Dining Room House vdoor.png
House h2door.png
House hdoor.png
House vwall.png Workshop House vwall.png
House h2door.png
House hwall.png
House vwall.png Bedroom House vdoor.png
House h2door.png
House hdoor.png
House vdoor.png Skill Hall House vdoor.png
House h2door.png
House hwall.png
House vdoor.png Games Room House vdoor.png
House h2door.png
House hwall.png
House vdoor.png Combat Room House vdoor.png
House h2door.png
House hdoor.png
House vdoor.png Quest Hall House vdoor.png
House h2door.png
House hdoor.png
House vdoor.png Menagerie House vdoor.png
House h2door.png
House hwall.png
House vdoor.png Study House vdoor.png
House h2door.png
House hwall.png
House vwall.png Costume Room House vwall.png
House h2door.png
House hwall.png
House vwall.png Chapel House vdoor.png
House h2door.png
House hwall.png
House vwall.png Portal Chamber House vwall.png
House h2door.png
House hdoor.png
House vdoor.png Formal Garden House vdoor.png
House h2door.png
House hwall.png
House vwall.png Throne Room House vwall.png
House h2door.png
House hdoor.png
House vdoor.png Oubliette House vdoor.png
House h2door.png
House hdoor.png
House vdoor.png Dungeon House vdoor.png
House h2door.png
House hdoor.png
House vwall.png Dungeon Corridor House vwall.png
House h2door.png
House hdoor.png
House vdoor.png Dungeon Junction House vdoor.png
House h2door.png
House hdoor.png
House vdoor.png Dungeon Stairs House vdoor.png
House h2door.png
House hwall.png
House vwall.png Treasure Room House vwall.png
House h2door.png
House hwall.png
House vwall.png Roof House vwall.png
House h2wall.png

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

House hdoor.png
House vdoor.png Garden House vdoor.png
House h2door.png
House hwall.png
House vdoor.png Kitchen House vwall.png
House h2door.png
House filler.png
House vfiller.png House vfiller.png
House filler.png
House hdoor.png
House vdoor.png Parlour House vdoor.png
House h2wall.png

Menagerie

The Menagerie is special in that the habitat changes its appearance, so if you use this template to show a Menagerie the background may be changed. For example, {{POH room|room=Menagerie}} would only show the default Garden:


House hdoor.png
House vdoor.png Menagerie House vdoor.png
House h2door.png

However, {{POH room|room=Menagerie|habitat=Polar}} will show as if it were white, like so:


House hdoor.png
House vdoor.png Menagerie House vdoor.png
House h2door.png

The list of options for a habitat is found here.

House hdoor.png
House vdoor.png (None)/Garden House vdoor.png
House h2door.png
House hdoor.png
House vdoor.png Jungle House vdoor.png
House h2door.png
House hdoor.png
House vdoor.png Desert House vdoor.png
House h2door.png
House hdoor.png
House vdoor.png Volcanic House vdoor.png
House h2door.png
House hdoor.png
House vdoor.png Polar House vdoor.png
House h2door.png

House vwall.png House vdoor.png House hwall.png House hdoor.png House h2wall.png House h2door.png House filler.png

See also

Community content is available under CC-BY-SA unless otherwise noted.