Wiki Map Editing

=Getting Started= Creating and editing a wiki map is not as hard or as difficult as it might appear to be. Simply put, much of the work is already done for you!

Maps of New Realms
In order to start a new map, start a new wiki article named ' Map', substituting  with the name of the area you are mapping out.

From here, you're ready to start construction of the new map.

Bounding Box
We start by creating a 'table' in which the map will be held. Just like building a home, this table serves as the "foundation" of the map. This table is built to have a set restriction on the width of the map, as a workaround for constraining the proportions of the actual maps in different browsers. The following code can get you started.

{| width=???px style="background-color:#000000"

Here, a simple equation is used to determine the width of the table (the ???):

y = 59x + 8

Where y is the final outcome, and x is the number of tiles in a horizontal row of the map. Substitute in the value of x, and input the value of y in place of the ???.

Framework
Next you'll want to start the actual map of the realm. Sticking with the home metaphor, you'll always want to lay down the framework before you put up the walls. Here you'll make sure you have enough squares in the map to hold the entire realm. You can start with the following code, placed in the next line after the bounding box:


 * }

Those two lines close both the bounding box as well as the map itself so that content can be added at the end of the page without being smushed into the map.

Filling in the Blanks
Now that you've got the width and height of the map covered, you can start to fill in the blanks. In each line, there is a "class" this is the class of the tile, meaning what kind of tile this particular one is. Say, for example, the tile is a block of grass, named "Some Grass", you would have it say:

| class="grass" | Some Grass (x,y)

Where x and y are the coordinates of the tile. The class of the tile indicates how the tile will look, as in what the background color and text color is. There are classes for nearly every single common tile type in the game: If a new tile type warrants inclusion in the classes, speak to a wiki moderator and have them add it to the Mediawiki:Common.css page.

The following is an example of a map (of a fictional realm):
 * }

Finishing Up
After the map is completed create a new page titled as the area name, and use the following wiki code on that page: = Areas of Note =

Replace  with the name of the location you are mapping out. This creates a table that contains the map you just created, and the world map key, as well as a section that includes "Areas of Note" which are particular tiles that might be of interest to players in the game, such as locations of portals, headquarters of guilds, or the location of a significant event that occurred in-game, or within the lore of the realm.

If this map is part of a larger realm (such as the main realm) you can add the Compass template with the following code:

Here you can define which areas are in a particular direction from the current map. If an area does not exist, simply define it as ???, and the compass template with work it's magic.