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 "Maps"
(→I want to use one or more of these maps on another page: added regional zoom examples) |
m (→I want to start a new data page: nudge to create single maps where possible) |
||
Line 49: | Line 49: | ||
== I want to start a new data page == | == I want to start a new data page == | ||
− | If the resource you're mapping | + | If there aren't very many data points, make a single Egypt-wide file at Maps/ResourceName. If the resource you're mapping has many points, it is better to break them down by region. In that case, create new files at Maps/ResourceName/Alcyone, Maps/ResourceName/Celaeno, and so on. |
The new pages should use this template: | The new pages should use this template: |
Revision as of 14:41, 28 October 2010
What is this here for
At the start of the tale it quickly became obvious that much of the map data on the wiki was being duplicated on a range of different pages, with different points being shown on each map. This area of the wiki was put together using templates to allow the data to be held on just one page - while being visible from each relevant page.
As a result, when adding a new point of interest (such as a public mine) only one page now needs to be edited (instead of three or more) and each map using that data will update automatically.
This system allows you to customize what data you want to see on your map. You want chariot stops and public works? You can do that. You want all public mines? Yep, that, too. You want all red and white sand deposits near your home compound, but not all those public mines dots? You can also do that. When adding the map to your page, just choose which map data files to include, and put in custom pins for personal locations.
I want to use one or more of these maps on another page
To add a map to a page you will need to use Template:CondMap. To do so it is suggested you copy the following text to the page you wish to edit. Any map data that you wish to link should be placed on a new line as with the public mines (alcyone) and red sand shown below.
The five parameters at the end are optional. You can remove them for a default-sized and -shaped map of Egypt, or change them to zoom in on a particular spot.
{{CondMap| {{:Maps/Public Mines/Amunet/Alcyone|contentonly=yes}} {{:Maps/Red Sand|contentonly=yes}} |exmarks=yes|lat=1200|lon=1900|zoom=4|width=800|height=700}}
Zoom examples for different regions
Replace the last line of the above CondMap example with:
Region | Condmap code to zoom to the region |
---|---|
Alcyone | |lat=1655|lon=2000|zoom=3|height=255|width=415}} |
Celaeno | |lat=-1530|lon=930|zoom=3|height=890|width=390}} |
Maia | |lat=1025|lon=-5400|zoom=2|width=513|height=353}} |
Merope | |lat=-1530|lon=6325|zoom=3|height=474|width=388}} |
Sinai | |lat=3563|lon=4600|zoom=3|width=393|height=903}} |
Sterope | |lat=2565|lon=-800|zoom=3|height=453|width=640}} |
Taygete | |lat=1005|lon=5600|zoom=4|width=500|height=1305}} |
I want to add a new datapoint, Help Me!
To add a new datapoint, decide which page it should be added to from the list at the bottom of this page. Generally resources will be on a common page for that server, and facilities (smelting, mines, etc) will be on a regional page. Then follow the link to that page, edit it and add a new line using the standard googlemap format:
(MtPb) -1570, 5300, Lead/Sapphire Mine
If you want the coordinates to show up in the pin's tooltip, do the following:
(MtPb) -1570, 5300, Lead/Sapphire Mine (at -1570, 5300)
I want to start a new data page
If there aren't very many data points, make a single Egypt-wide file at Maps/ResourceName. If the resource you're mapping has many points, it is better to break them down by region. In that case, create new files at Maps/ResourceName/Alcyone, Maps/ResourceName/Celaeno, and so on.
The new pages should use this template:
{{CondMap| <!-- datapoints go here --> |contentonly={{{contentonly|no}}}|{{{2}}}}} <noinclude>[[Category:Atlas|{{PAGENAME}}]]</noinclude>
Then add datapoints as in the above section. Finally, add the new pages to the list of map data pages.
You can find information on what icons are available and how to use them in the Google Maps#Markers section.
If the maps include many different types of markers (like the Public Mines pages do), consider creating a legend that can be used on any page that uses the maps. (Name the page Maps/ResourceName/Legend, and use the existing legends as an example.)
If you have created regional data maps, and would like to have an automatically generated egypt-wide map, use the example of Maps/Expedition Sites, and create your page at Maps/ResourceName.
What types of thing should be placed in this type of map
Generally, only items which need to be shown on multiple pages will require a map in this area. Public facilities and resources are the main examples.
There is no requirement to place things that only need to be visible from one page (such as guild locations) here.
Who inflicted this monstrosity on egypt!
That would be Kasiya. If you are having trouble adding data please feel free to chat me and let me know.
Current map data
Egypt-wide
- Maps/Red Sand
- Maps/White Sand
- Maps/Limestone
- Maps/Sulphurous Water
- Maps/Tar
- Maps/Scarab Gardens
- Maps/Silt
Automatically Generated
(For convenience, can be included in other CondMaps instead of every regional file. Data points should be edited in the region-specific pages.)
Region-specific
Public Works
- Maps/Public Works/Alcyone
- Maps/Public Works/Celaeno
- Maps/Public Works/Maia
- Maps/Public Works/Merope
- Maps/Public Works/Sinai
- Maps/Public Works/Sterope
- Maps/Public Works/Taygete
Public Mines
- Maps/Public Mines/Alcyone
- Maps/Public Mines/Celaeno
- Maps/Public Mines/Maia
- Maps/Public Mines/Merope
- Maps/Public Mines/Sinai
- Maps/Public Mines/Sterope
- Maps/Public Mines/Taygete
Public Smelters
- Maps/Public Smelters/Alcyone
- Maps/Public Smelters/Celaeno
- Maps/Public Smelters/Maia
- Maps/Public Smelters/Merope
- Maps/Public Smelters/Sinai
- Maps/Public Smelters/Sterope
- Maps/Public Smelters/Taygete
Expedition Sites
- Maps/Expedition Sites/Alcyone
- Maps/Expedition Sites/Celaeno
- Maps/Expedition Sites/Maia
- Maps/Expedition Sites/Merope
- Maps/Expedition Sites/Sinai
- Maps/Expedition Sites/Sterope
- Maps/Expedition Sites/Taygete
Test of Life - Aqua-ducts
- Maps/Test of Life/Alcyone
- Maps/Test of Life/Celaeno
- Maps/Test of Life/Maia
- Maps/Test of Life/Merope
- Maps/Test of Life/Sinai
- Maps/Test of Life/Sterope
- Maps/Test of Life/Taygete
Map Pin Legends
If you edit the marker icons, make sure you edit the markers in every relevant map data file above.
You can include a legend on your page by using the following, substituting the path and name of your legend page.
{{:Maps/Public Mines/Legend}}