Module:Maps/doc
Jump to navigation
Jump to search
[refresh]
This is the documentation page. It is transcluded into Module:Maps. See Template:Documentation for more information.This module is a placeholder and should not be used. Subpages of this module are JSON files intended to be used as data supplied to interactive maps.
How to edit maps[edit source]
Because we do not have an interactive map editor yet and have no plan of adding one, it is recommended to either edit the JSON file by hand or use Fandom's interactive map editor.
Migrating from Fandom's map format[edit source]
If you wish to migrate a map from Fandom's interactive map format, these are the changes made to Fandom’s interactive map JSON format.
Removed[edit source]
pageCategories
defaultSort
description
categories.symbol
,categories.symbolColor
are not used in our JSON files so I did not care to implement these yet. Maybe I will if there's a use caseuseMarkerClustering
, dittoorigin
, ditto
Changes[edit source]
markers.popup.description
: mainly'''bold'''
needs to be changed to<b></b>
because of limitations in the wikitext parser MW ships to client side. A full list of limitations can be seen here.markers.popup.image
should not be an object. Replace it with"image": "File:something.png"
- If there is any
\uXXXX
notation, please change it into the actual Unicode character. e.g.\u2013
should be replaced with en dash–
. You can find which is which by doing a Google search
Store the JSON files at e.g. Module:Maps/Minecraft_Dungeons_Other_Dimensions.json
for organization.