Template:Tooltip section/doc

From Neverwinter Wiki
Jump to: navigation, search

This template is used on item pages where the game displays a tooltip. To support a system of tooltips that display on hovering over links to this page, the actual templates must be placed on a /Tooltip subpage to reduce overhead when loading tooltips. This provides an edit link to that page, and other pages specified, and if those pages exists, it displays the details using {{Tooltip left box}}.

For powers, use {{Tooltip section power}}.

Usage (for a page that just shows its own tooltip):

{{Tooltip section}}

Many pages may be for sets of items, or for items that have multiple versions (such as +1, +2, +3 versions and so on). This template supports showing up to nine additional tooltips and providing links to edit them if necessary.

Usage (for a page that needs to show multiple tooltips):

{{Tooltip section|page2|page3|page4|page5|page6|page7|page8|page9|page10}}

The current page is always included, and page2...page10 are all optional.

This template relies on {{Missing pages}} to detect if any are missing.