Latest Neocron News and Information
- New test server patch #563 has been released to Vedeena
Difference between revisions of "Metadata:Mapping/Map.js"
From Neocron Wiki
(New improved way to generate the map key, without having to edit this file every time a new key is added) |
(Fix for mapkey entry) |
||
Line 22: | Line 22: | ||
// Dont hide map on the Template:Mapkey page | // Dont hide map on the Template:Mapkey page | ||
// Otherwise you cannot preview it! | // Otherwise you cannot preview it! | ||
− | if (wgPageName!='Template:Mapkey') | + | if (wgPageName.substr(0,15)!='Template:Mapkey') |
{ | { | ||
// Ok find the map key elemetns | // Ok find the map key elemetns |