Template:Monopoly board detail/doc

Purpose
This template is for use in the article Licensed and localized editions of Monopoly. (If you're looking for a Monopoly board for general usage, have a look at Template:Monopoly board layout)

This template can be used for a simple description, and is robust enough to handle alternate colors, nonstandard layouts and even the mega-boards with additional spaces. Below is an example of what this template produces.

And another example, less board layout and image:

Usage/Editing
Below is the template code (with standard property data filled in) that you can use to produce a board detail. It would be best to copy it directly, paste it into your editing window and edit it to produce another Monopoly board. But before you do, there are some important notes you should read. So scroll down and review the rest of this documentation.



Colors
Standard Monopoly colors are as follows...

Leaving a color value blank results in no color swatch at all.

To change any of the property colors, just add a color like so...

|Color_301 = #32CD32    |Space_301 = My Property Name or |Color_301 = LimeGreen  |Space_301 = My Property Name

You can use hex codes or standard color names. Dozens of colors can be found at Wikipedia's Web colors article, and at the HTML Color Names page at w3schools.com.

The most common color variation is the property group Mediterranean Avenue and Baltic Avenue. On many boards this group is Indigo instead of SaddleBrown. To make it indigo, use the color name Indigo and add it to the Color_101 and Color_103 parameters...

|Color_101 = Indigo     |Space_101 = Mediter-ranean Avenue&lt;br&gt;$60 |Color_102 =            |Space_102 = Community Chest |Color_103 = Indigo     |Space_103 = Baltic Avenue&lt;br&gt;$60

Wikilinks
Of course, add wikilinks where appropriate:

|Color_208 =            |Space_208 =   Pennsylvania Railroad  &lt;br&gt;$200

Images
If you wish to add images, just add wiki image markup at the Images variable as you wish. The images will be displayed at the bottom of the detail after all the text.

No board layout
If the variable corner_1 (the Go space) is left blank, the board layout containing the colors and property names won't render. This is deliberate. If for some reason you're putting together a board detail, yet have no property names for it, it's a handy way to prevent the board from appearing. However, as long as you specify some value for corner_1, the board layout will appear.

Non-standard layouts
Looking at the template, standard layouts are fairly self-explanatory, but if you start getting into non-standard layouts, there are a couple things you should be aware of.

First, if the board is anything other than the standard 40 space layout (9 per side plus 4 corners) you'll have to alter one or both of the variables spaces_horizontal and spaces_vertical. These correspond to the number of spaces between the corners. The template can handle as little as 1 and as many as 12 spaces per side.

Second, note that the property names section is divided into four parts... one for each side of the table starting with (what is normally) Mediterranean Avenue and proceeding clockwise. Three of these sections are arranged in the template as one would expect. However, the second (the normally purple (DarkOrchid) and orange side) is a little different. The properties are listed in clockwise order, but the listing is populated to the bottom rather than from the top. (This was unavoidable due to the way HTML tables render and in the interest of keeping things as simple as possible.)

As an example, below is a filled out template for the Monopoly Junior board. It's a perfect example of a non-standard layout:

And here his how the Monopoly Junior board renders:

Layouts for Mega boards or other odd boards work in a similar fashion.

Have fun!