The Wiki for Tale 5 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

User:Talibeh/Scratchpad2

From ATITD5
< User:Talibeh
Revision as of 17:42, 7 November 2010 by Talibeh (talk | contribs)
Jump to navigationJump to search

editing in progress

Map features

  • region/coord info box
  • move/zoom
  • hover over pins
  • click on pins

Putting a map on your page

The ATITD wiki gives you two options for generating maps on wiki pages. The Google Maps extension will create a map from location data you enter manually on your page. The Condmaps framework (built on top of Google Maps) will create a combined map from two types of data: location data that you enter manually on your page, and centrally-stored locations that are used in maps all over the wiki.

So when adding a map to your wiki page, your first question is whether it will contain only personal locations (home compound, guild hall, etc.), or whether it might also contain general locations such as chariot stop locations, public mines, and resource locations.

If you might want your map to contain general information like that, use the Condmap framework map (see the walkthrough below). If your map will only ever contain personal locations, you can use the Googlemap extension instead (also see the walkthrough).

Step-by-Step Walkthrough

  1. Add a point
    1. Location/Coordinates
    2. Marker pin
    3. Tooltip text
  2. (Add any existing points)
  3. Change center, zoom, and size
    1. (region examples)

Copy/paste the map framework text to your page source.

To add a Googlemap-style map to your page, start by pasting in the following:

<googlemap 
controls="small" showposition="yes" showregion="yes">
<!--map locations go here-->

</googlemap>

To add a Condmap-style map to your page, start by pasting in the following:

{{CondMap|
<!--central maps go here-->

<!--map locations go here-->

}}


Add a location to the map.

This step is the same whether you're using a Googlemap-style or Condmap-style map.

For a map location, you can choose a marker (or use the default), and you can set a text description that will pop up when your mouse hovers over the marker.

First, find the coordinates in-game by looking at the top center of your screen or at the top of your minimap. Then, to add the location most simply, just type the coordinates on a new line below the "map locations go here" comment:

400, 2250

To add the same location with the description 'My home compound (400, 2550)', type the following below the "map locations go here" comment:

400, 2250, My home compound (400, 2250)

Now, when you hover your mouse over that location marker on your map, everything after the first two numbers will pop up as a description.

Finally, to add the same location to the map, but this time with both the description and a marker, type the following below the "map locations go here" comment:

(GH) 400, 2250, My home compound (400, 2550)

You will end up with one of these two snippets, each of which will show the same location:

Googlemap style:

<googlemap 
controls="small" showposition="yes" showregion="yes">
<!--map locations go here-->
(GH) 400, 2250, My home compound (400, 2550)
</googlemap>

Condmap style:

{{CondMap|
<!--central maps go here-->

<!--map locations go here-->
(GH) 400, 2250, My home compound (400, 2550)
}}

Choosing markers

Size, zoom, and shift the map's center.

If you want your map to show all of Egypt, at a standard size that will fit on a wiki page, there is no need to do anything more. (The default settings will do all of that without you needing to type anything else in.)


More about marker pins

Niceties

  • Marker pins
  • Legends

Existing Data

   * 1 What is this here for
   * 2 I want to use one or more of these maps on another page
         o 2.1 Zoom examples for different regions
   * 3 I want to add a new datapoint, Help Me!
   * 4 I want to start a new data page
   * 5 What types of thing should be placed in this type of map
   * 6 Who inflicted this monstrosity on egypt!
   * 7 Current map data
         o 7.1 Egypt-wide
               + 7.1.1 Automatically Generated
         o 7.2 Region-specific
               + 7.2.1 Public Works
               + 7.2.2 Public Mines
               + 7.2.3 Public Smelters
               + 7.2.4 Expedition Sites
               + 7.2.5 Test of Life - Aqua-ducts
   * 8 Map Pin Legends
   * 1 Google Maps
   * 2 Markers
         o 2.1 Some standardized icon suggestions
               + 2.1.1 Mines
   * 3 Tabbed Info Balloons
   * 4 Map Customization / Tag Attributes
   * 5 Customized Icons
   * 6 Example Maps
         o 6.1 Good Default Settings
         o 6.2 All of Egypt, Square
         o 6.3 A real map of Egypt
         o 6.4 All Tales in Table Design