Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Edit world map

From Drifter's Wiki

Introduction

The World map is created using the Mermaid scripted diagram tool. The map is created by writing text. We have installed a module for Mermaid in the MediaWiki server. The World map can be inserted into any page by writing the following tag

{{:World map}}

How to edit

  1. Go to World map
  2. Click "Edit"
  3. When ready to review, click "Show Preview"
  4. If ok, press "Save page"

Tips & tricks for Mermaid

  • When adding a new box, the line becomes the default color (black). Change the line "linkStyle 0,1,2,3,4,5,..." and add one more number to make the line white.
  • The diagram is a bottoms-up flowchart. We can't dictate exactly where the line will go. Below are tips how we can determine the line positions.
    • To have the line more on the left side of a box, move the line higher up in the text.
    • Lines can only go "upwards" or "downwards". The box on the left side (e.g. AA --- BB) will be the the bottom node and the box on the left side will be the top node. However "top" and "bottom" will be automatically adjusted by Mermaid depending on how many lines there are. See Meadowlands as an example.
    • Sometimes, when forcing a line to be longer will make Mermaid show the diagram is a better way. Lines can be forced to be longer by adding more "line characters", e.g. AA ----- BB.

Links to Mermaid resources