FANDOM


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
House vwall x House vwall
House h2wall
House hwall
House vwall s House vwall
House h2door
House hdoor
House vdoor nw House vwall
House h2wall
House hwall
House vdoor we House vdoor
House h2wall
House hdoor
House vdoor new House vdoor
House h2wall
House hdoor
House vdoor news House vdoor
House h2door

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
House vdoor Garden House vdoor
House h2door
House hwall
House vwall Kitchen House vdoor
House h2door
House hwall
House vdoor Parlour House vdoor
House h2door

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
House vdoor Garden House vdoor
House h2door
House hwall
House vdoor Kitchen House vwall
House h2door
House hdoor
House vdoor Parlour House vdoor
House h2wall

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
House vdoor Garden House vdoor
House h2door
House hwall
House vdoor Parlour House vdoor
House h2door
House hwall
House vwall Kitchen House vdoor
House h2door
House hwall
House vdoor Dining Room House vdoor
House h2door
House hdoor
House vwall Workshop House vwall
House h2door
House hwall
House vwall Bedroom House vdoor
House h2door
House hdoor
House vdoor Skill Hall House vdoor
House h2door
House hwall
House vdoor Games Room House vdoor
House h2door
House hwall
House vdoor Combat Room House vdoor
House h2door
House hdoor
House vdoor Quest Hall House vdoor
House h2door
House hdoor
House vdoor Menagerie House vdoor
House h2door
House hwall
House vdoor Study House vdoor
House h2door
House hwall
House vwall Costume Room House vwall
House h2door
House hwall
House vwall Chapel House vdoor
House h2door
House hwall
House vwall Portal Chamber House vwall
House h2door
House hdoor
House vdoor Formal Garden House vdoor
House h2door
House hwall
House vwall Throne Room House vwall
House h2door
House hdoor
House vdoor Oubliette House vdoor
House h2door
House hdoor
House vdoor Dungeon House vdoor
House h2door
House hdoor
House vwall Dungeon Corridor House vwall
House h2door
House hdoor
House vdoor Dungeon Junction House vdoor
House h2door
House hdoor
House vdoor Dungeon Stairs House vdoor
House h2door
House hwall
House vwall Treasure Room House vwall
House h2door
House hwall
House vwall Roof House vwall
House h2wall

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
House vdoor Garden House vdoor
House h2door
House hwall
House vdoor Kitchen House vwall
House h2door
House filler
House vfiller House vfiller
House filler
House hdoor
House vdoor Parlour House vdoor
House h2wall

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
House vdoor Menagerie House vdoor
House h2door

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


House hdoor
House vdoor Menagerie House vdoor
House h2door

The list of options for a habitat is found here.

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

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

See also

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