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"
(→Egypt-wide: Added new tar page) |
(→Map Pin Legends: added legend file for non-mine resources) |
||
Line 86: | Line 86: | ||
== Map Pin Legends == | == 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 the legend page for 'PageName'. | + | If you edit the marker icons, make sure you edit the markers in ''every'' relevant map data file above. |
+ | *[[Maps/Public Mines/Legend]] | ||
+ | *[[Maps/Resources/Legend]] | ||
+ | You can include a legend on your page by using the following, substituting the path and name of the legend page for 'PageName'. | ||
<pre><nowiki>{{:PageName}}</nowiki></pre> | <pre><nowiki>{{:PageName}}</nowiki></pre> | ||
− |
Revision as of 16:58, 1 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.
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 and can be removed if unneeded.
{{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}}
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 the resource you're mapping should be broken down by region, then create new files at Maps/ResourceName/Alcyone, Maps/ResourceName/Celaeno, and so on. If there aren't very many data points, you can make a single Egypt-wide file at Maps/ResourceName.
The new pages should use this template:
{{CondMap| <!-- datapoints go here --> |contentonly={{{contentonly|no}}}|{{{2}}}}} [[Category:Atlas|{{PAGENAME}}]]
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
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 Mines
- Maps/Public Mines/Alcyone
- Maps/Public Mines/Celaeno
- Maps/Public Mines/Maia
- Maps/Public Mines/Sinai
- Maps/Public Mines/Sterope
- Maps/Public Mines/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
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 the legend page for 'PageName'.
{{:PageName}}