Widget talk:Locators

From Guild Wars 2 Wiki
Jump to navigationJump to search

It's late and my brain has gone to mush, but it would be neat if we could have a separate version of this script (for setting up the initial locator template pages) in which: (1) you drag all the svg files into the upload bit for a given zone, (2) it passes the filename into the data object, (3) checks the style node for each path to identify where the fill color is not equal to "none" (i.e. red) - if path isn't none, it sets the name as equal to the file name, (4) then does a match between the assigned id and the name to fill out the area names. -Chieftain AlexUser Chieftain Alex sig.png 01:43, 12 March 2023 (UTC)