Template talk:ItemNav

From Dota 2 Wiki
Jump to: navigation, search

Lazy Loading[edit]

So this template takes 9-10 seconds to build. That means that every page that uses it takes an additional 9-10 seconds to load. Proposal: lazy load the template. In other words, rather than actually loading the template onto the page, place its closed form on the page, then only load it if a user manually tries to open it.

  • Advantage: all pages using this navbox load 10 seconds faster
  • Disadvantage: 10 second delay when someone tries to open the box the first time

This idea could also be applied to other navboxes, as navboxes have a strong tendency to be the most time-consuming elements of pages, and 10-15-second page load times seem to be an issue. PaladinAHOne (talk) 00:03, 19 January 2016 (UTC)

I support this, but don't know this can be implemented. Molldust (talk) 15:53, 21 January 2016 (UTC)

Seasonal items[edit]

I suggest to carve out seasonal items from the main game item navigation. It would be slightly faster as one point. The other reason is that the events will not come back in the same manner, I promise. There will be custom games instead that may or may not replace them or there will be new successors. So Template:ItemNav/Diretide etc. would be a good replacement and compatible with official future game modes that introduce new items (e.g. Template:ItemNav/Haunted Colosseum if there were any new items). Molldust (talk) 15:53, 21 January 2016 (UTC)

Item infobox[edit]

broken. Elite stay (talk) 17:54, 23 January 2016 (UTC)

Pictogram comment.png Fixed Was related to Template:Item name Molldust (talk) 20:47, 23 January 2016 (UTC)