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/Add Condmap Walkthrough"

From ATITD5
Jump to navigationJump to search
(Created page with "This walkthrough covers only the most basic and commonly used settings for sizing the map, displaying a location, and choosing a marker. See the main Maps page if you want mo...")
 
Line 1: Line 1:
This walkthrough covers only the most basic and commonly used settings for sizing the map, displaying a location, and choosing a marker. See the main [[Maps]] page if you want more information on each of these features.  
+
This walkthrough covers only the most basic and commonly used settings for sizing the map, displaying a location, and choosing a marker. See the main [[User:Talibeh/Scratchpad2|Maps]] page if you want more information on each of these features.  
  
 
=== Copy/paste the map framework text to your page source. ===
 
=== 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">
 
<!--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|
 
<pre><nowiki>{{CondMap|
 
<!--central maps go here-->
 
<!--central maps go here-->
Line 18: Line 9:
 
<!--center, zoom, size settings go here-->
 
<!--center, zoom, size settings go here-->
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 
  
 
=== Add a location to the map. ===
 
=== 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.  
 
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.  
  
Line 36: Line 24:
 
<pre>(GH) 400, 2250, My home compound (400, 2550)</pre>
 
<pre>(GH) 400, 2250, My home compound (400, 2550)</pre>
  
You will end up with one of these two snippets, each of which will show the same location:  
+
You will end up with:  
  
Googlemap style:
 
<pre><nowiki><googlemap
 
controls="small" showposition="yes" showregion="yes">
 
<!--map locations go here-->
 
(GH) 400, 2250, My home compound (400, 2550)
 
</googlemap></nowiki></pre>
 
 
Condmap style:
 
 
<pre><nowiki>{{CondMap|
 
<pre><nowiki>{{CondMap|
 
<!--central maps go here-->
 
<!--central maps go here-->
Line 55: Line 35:
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
=== Choosing markers ===
+
==== (Choosing markers) ====
  
=== Size, zoom, and shift the map's center. ===
+
=== Size, zoom, and re-center the map. ===
 
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.)
 
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.)
  
If you want to change where your map is centered, its size in pixels, or how far in/out it is zoomed, you will need to add those settings. How you type those settings and where you put them depends on the type of map. For a Google-style map, you can create a new line just ''after'' the "<googlemap" line and just ''before'' the line starting with "controls=small", and place the new text on the new line. For a Condmap-style map, create a new line just ''before'' the last line and ''after'' the "center, zoom, size settings go here" comment.
+
If you want to change where your map is centered, its size in pixels, or how far in/out it is zoomed, you will need to add those settings. You can change just one setting from the default, two settings, or all three.
  
Keep reading to see '''what''' you actually enter, or go to the [[#Examples|examples]].  
+
Create a new line just ''before'' the last line and ''after'' the "center, zoom, size settings go here" comment. To change all the settings away from the default, the new line will look something like:
 +
<pre>|lat=212|lon=991|width=300|height=100|zoom=4</pre>
 +
 
 +
If you want to change only one of these settings, keep reading.  
  
 
==== Centering ====
 
==== Centering ====
If you want your map to be centered on your home at -212, 991, then:
+
If you want your map to be centered on your home at -212, 991, then add:
  
For a Google map, add the following (see above for ''where''):
 
 
<pre>lat="212" lon="991"</pre>
 
 
For a Condmap, add the following (see above for ''where''):
 
 
<pre>|lat=-212|lon=991</pre>
 
<pre>|lat=-212|lon=991</pre>
  
 
==== Sizing ====
 
==== Sizing ====
For a map that is 300 pixels wide and 150 pixels tall:
+
For a map that is 300 pixels wide and 150 pixels tall, add:
  
For a Google-style map, paste the following (see above for ''where''):
 
<pre>width="300" height="150"</pre>
 
 
For a Condmap=style map, paste the following (see above for ''where''):
 
 
<pre>|width=300|height=150</pre>
 
<pre>|width=300|height=150</pre>
  
 
==== Zooming ====
 
==== Zooming ====
You can set the zoom value anywhere between 1 and 6: the higher the number, the closer in the zoom. Most maps you see on the wiki are set to a zoom of 2.  
+
You can set the zoom value anywhere between 1 and 6: the higher the number, the closer in the zoom. Most maps you see on the wiki are set to a zoom of 2. To zoom your map to level 4, add:
 +
<pre>|zoom=4</pre>
 +
 
 +
== Cut-and-Paste Examples ==
 +
For a default-sized and -zoomed map, showing only your compound (located at 400, -2250).
 +
 
 +
<pre><nowiki>{{CondMap|
 +
<!--central maps go here-->
 +
 
 +
<!--map locations go here-->
 +
(GH) 400, -2250, My home compound (400, -2550)
 +
<!--center, zoom, size settings go here-->
 +
}}</nowiki></pre>
 +
 
 +
For a map zoomed into your neighborhood, and showing your copper mine and vineyard:
 +
 
 +
<pre><nowiki>{{CondMap|
 +
<!--central maps go here-->
 +
 
 +
<!--map locations go here-->
 +
(GH) 400, -2250, My home compound (400, -2550)
 +
(MtCu) 412, -2129, My copper mine (412, -2129)
 +
(grape)495, -2271, My vineyard (495, -2271)
 +
<!--center, zoom, size settings go here-->
 +
|lat=400|lon=-2250|width=500|height=500|zoom=5
 +
}}</nowiki></pre>
 +
 
 +
Here are also examples of empty maps zoomed in to various regions.
 +
 
 +
'''Alcyone:'''
 +
<pre><nowiki>{{CondMap|
 +
<!--central maps go here-->
 +
 
 +
<!--map locations go here-->
 +
 
 +
<!--center, zoom, size settings go here-->
 +
|lat=1655|lon=2000|width=415|height=255|zoom=3
 +
}}</nowiki></pre>
 +
 
 +
'''Celaeno:'''
 +
<pre><nowiki>{{CondMap|
 +
<!--central maps go here-->
 +
 
 +
<!--map locations go here-->
 +
 
 +
<!--center, zoom, size settings go here-->
 +
|lat=-1530|lon=930|width=390|height=890|zoom=3
 +
}}</nowiki></pre>
 +
 
 +
'''Maia:'''
 +
<pre><nowiki>{{CondMap|
 +
<!--central maps go here-->
 +
 
 +
<!--map locations go here-->
 +
 
 +
<!--center, zoom, size settings go here-->
 +
|lat=1025|lon=-5400|width=515|height=355|zoom=2
 +
}}</nowiki></pre>
 +
 
 +
'''Merope:'''
 +
<pre><nowiki>{{CondMap|
 +
<!--central maps go here-->
 +
 
 +
<!--map locations go here-->
 +
 
 +
<!--center, zoom, size settings go here-->
 +
|lat=-1530|lon=6325|width=388|height=475|zoom=3
 +
}}</nowiki></pre>
  
If you want a Google-style map zoomed to level 4, paste the following (see above for ''where''):
+
'''Sinai:'''
<pre>zoom=4"</pre>
+
<pre><nowiki>{{CondMap|
 +
<!--central maps go here-->
  
If you want a Condmap=style map zoomed to level 4, paste the following (see above for ''where''):
+
<!--map locations go here-->
<pre>|zoom=4</pre>
+
 
 +
<!--center, zoom, size settings go here-->
 +
|lat=3563|lon=4600|width=393|height=903|zoom=3
 +
}}</nowiki></pre>
  
==== Examples ====
+
'''Sterope:'''
In a Google-style map, see the new second line:
+
<pre><nowiki>{{CondMap|
 +
<!--central maps go here-->
  
<pre><nowiki><googlemap
 
lat="212" lon="991" width="300" height="100" zoom="4"
 
controls="small" showposition="yes" showregion="yes">
 
 
<!--map locations go here-->
 
<!--map locations go here-->
(GH) 400, 2250, My home compound (400, 2550)
 
</googlemap></nowiki></pre>
 
  
In a Condmap-style map, see the new second-to-last line:
+
<!--center, zoom, size settings go here-->
 +
|lat=2565|lon=-800|width=640|height=453|zoom=3
 +
}}</nowiki></pre>
  
 +
'''Taygete:'''
 
<pre><nowiki>{{CondMap|
 
<pre><nowiki>{{CondMap|
 
<!--central maps go here-->
 
<!--central maps go here-->
  
 
<!--map locations go here-->
 
<!--map locations go here-->
(GH) 400, 2250, My home compound (400, 2550)
 
  
 
<!--center, zoom, size settings go here-->
 
<!--center, zoom, size settings go here-->
|lat=212|lon=991|width=300|height=100|zoom=4
+
|lat=1005|lon=5600|width=255|height=655|zoom=3
 
}}</nowiki></pre>
 
}}</nowiki></pre>

Revision as of 19:15, 9 November 2010

This walkthrough covers only the most basic and commonly used settings for sizing the map, displaying a location, and choosing a marker. See the main Maps page if you want more information on each of these features.

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

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

<!--map locations go here-->

<!--center, zoom, size settings go here-->
}}

Add a location to the 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:

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

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

<!--center, zoom, size settings go here-->
}}

(Choosing markers)

Size, zoom, and re-center the map.

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.)

If you want to change where your map is centered, its size in pixels, or how far in/out it is zoomed, you will need to add those settings. You can change just one setting from the default, two settings, or all three.

Create a new line just before the last line and after the "center, zoom, size settings go here" comment. To change all the settings away from the default, the new line will look something like:

|lat=212|lon=991|width=300|height=100|zoom=4

If you want to change only one of these settings, keep reading.

Centering

If you want your map to be centered on your home at -212, 991, then add:

|lat=-212|lon=991

Sizing

For a map that is 300 pixels wide and 150 pixels tall, add:

|width=300|height=150

Zooming

You can set the zoom value anywhere between 1 and 6: the higher the number, the closer in the zoom. Most maps you see on the wiki are set to a zoom of 2. To zoom your map to level 4, add:

|zoom=4

Cut-and-Paste Examples

For a default-sized and -zoomed map, showing only your compound (located at 400, -2250).

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

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

For a map zoomed into your neighborhood, and showing your copper mine and vineyard:

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

<!--map locations go here-->
(GH) 400, -2250, My home compound (400, -2550)
(MtCu) 412, -2129, My copper mine (412, -2129)
(grape)495, -2271, My vineyard (495, -2271)
<!--center, zoom, size settings go here-->
|lat=400|lon=-2250|width=500|height=500|zoom=5
}}

Here are also examples of empty maps zoomed in to various regions.

Alcyone:

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

<!--map locations go here-->

<!--center, zoom, size settings go here-->
|lat=1655|lon=2000|width=415|height=255|zoom=3
}}

Celaeno:

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

<!--map locations go here-->

<!--center, zoom, size settings go here-->
|lat=-1530|lon=930|width=390|height=890|zoom=3
}}

Maia:

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

<!--map locations go here-->

<!--center, zoom, size settings go here-->
|lat=1025|lon=-5400|width=515|height=355|zoom=2
}}

Merope:

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

<!--map locations go here-->

<!--center, zoom, size settings go here-->
|lat=-1530|lon=6325|width=388|height=475|zoom=3
}}

Sinai:

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

<!--map locations go here-->

<!--center, zoom, size settings go here-->
|lat=3563|lon=4600|width=393|height=903|zoom=3
}}

Sterope:

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

<!--map locations go here-->

<!--center, zoom, size settings go here-->
|lat=2565|lon=-800|width=640|height=453|zoom=3
}}

Taygete:

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

<!--map locations go here-->

<!--center, zoom, size settings go here-->
|lat=1005|lon=5600|width=255|height=655|zoom=3
}}