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.

Difference between revisions of "User:Talibeh/Scratchpad2"

From ATITD5
Jump to navigationJump to search
(Maps refactoring)
 
Line 5: Line 5:
  
 
''First question: put only your own points on, put only existing points on, or mix and match.''
 
''First question: put only your own points on, put only existing points on, or mix and match.''
 +
 +
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 [[#Step-by-Step Walkthrough|walkthrough]] below). If your map will only ever contain personal locations, you can use the Googlemap extension instead (also see the [[#Step-by-Step Walkthrough|walkthrough]]).
  
 
=== Step-by-Step Walkthrough ===
 
=== Step-by-Step Walkthrough ===
# Copy/paste the map framework text
+
==== 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:
 +
<pre><nowiki><googlemap controls="small" showposition="yes" showregion="yes" scrollwheel="nothing">
 +
<!--map locations go here-->
 +
 
 +
</googlemap></nowiki></pre>
 +
 
 +
:To add a Condmap-style map to your page, start by pasting in the following:
 +
 
 +
<pre><nowiki>{{CondMap|
 +
<!--map locations go here-->
 +
 
 +
}}</nowiki></pre>
 +
 
 +
==== 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.
 +
 
 +
To add the location most simply, just type the coordinates on a new line below the "map locations go here" comment:
 +
<pre>400, 2250</pre>
 +
 
 +
To add the same location with the description 'My home compound (400, 2550)', type the following below the "map locations go here" comment:
 +
<pre>400, 2250, My home compound (400, 2250)</pre>
 +
 
 +
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.
 +
 
 +
<googlemap controls="small" showposition="yes" showregion="yes" scrollwheel="nothing">
 +
<!--map locations go here-->
 +
(GH) 400, 2250, My home compound (400, 2550)
 +
</googlemap>
 +
 
 +
{{CondMap|
 +
<!--map locations go here-->
 +
(GH) 400, 2250, My home compound (400, 2550)
 +
}}
 +
 
 +
==== Decide where the map should be centered, how far it should be zoomed, and what size it should be. ====
 
# Add a point
 
# Add a point
 
## Location/Coordinates
 
## Location/Coordinates

Revision as of 14:29, 7 November 2010

editing in progress


Putting a map on your page

First question: put only your own points on, put only existing points on, or mix and match.

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

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" scrollwheel="nothing">
<!--map locations go here-->

</googlemap>
To add a Condmap-style map to your page, start by pasting in the following:
{{CondMap|
<!--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.

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.

This map uses the CondMap template and should not be edited directly. Please see Maps for further details and links to all raw data pages

Decide where the map should be centered, how far it should be zoomed, and what size it should be.

  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)

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