Board Thread:Site-Related Tasks/@comment-37475224-20181111104903/@comment-1487274-20181118132253

Well, after two days of coding I've finally succeed - User:Harasar/Sandbox/Spider-Man is a disambiguation page for Peter Parker formed by template User:Harasar/Sandbox/Disambiguation.

DPL alone was unable to form it, so I've also created a module Module:Disambiguation, and thanks to lua I've even managed to sort all pages in the right order without a need to change or add anything to pages themselves.

However, there are still two problems:

1) Adding reality description bellow every box is crushing the template. Lua have a 10-second timeout limit when formatting a page, but to add reality descriptions a Template:Number to Name is called for every character and lua can't form entire page before the time limit. I think it can be solved  by converting Template:Number to Name into lua module.

2) Solution I've found to separate comics versions from all others (by using categories "Golden-Age Characters", "Modern-Age Characters", etc.) isn't working perfectly. For example, Peter Parker (Earth-8107) is displayed in the list, because someone added it into Category:Bronze-Age Characters, and Peter Parker (Earth-50701) first appeared in the comic so he was automatically added into Category:Modern-Age Characters. I don't know if it is a problem and if it is, then I don't know how to solve it.