Mercurial > qqw-wiki
changeset 636:137e2002f137 draft
Undo of change 1 of page links
| author | 46.126.183.219 |
|---|---|
| date | Sat, 06 Jan 2018 19:01:58 +0100 |
| parents | a0b580e42b21 |
| children | 8cd4df95fe0e |
| files | links |
| diffstat | 1 files changed, 26 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/links Sat Jan 06 11:01:22 2018 +0100 +++ b/links Sat Jan 06 19:01:58 2018 +0100 @@ -1,1 +1,26 @@ -UTyx5e https://goldentabs.com/ \ No newline at end of file +Links between maps are basically teleports -- you walk onto a tile that is a link, and you appear on a different map. In order to make a tile link to another map, add an "url" property to it, like this: + +{{{ +[3] +tile = , +url = village.map +}}} + +From now on, the character "3" will behave just like the character "," in your map definitions, except that stepping on it will take you to the map "village.map". +You can also link to a particular location on the other map: + +{{{ +[3] +tile = , +url = village.map#1 +}}} + +This will link to the first tile marked as "1" on that other map. Using digits for the teleports is not necessary, but is a nice convention. + +You can even link to a map on a completely different wiki! Just provide a fill URL: + +{{{ +[3] +tile = , +url = http://example.com/village.map#1 +}}}
